background preloader

Javascript Resources

Facebook Twitter

Developer Learning Center. Explosive web programming w/ j_blotus. PHP was my first programming language, and my initial exposure to JavaScript was through libraries like jQuery.

explosive web programming w/ j_blotus

There were things about JavaScript that always seemed to trip me up in the beginning due to how they worked differently than PHP. Heck there are still some things today that are confusing. I want to share some of the things that I struggled when I started working with JavaScript. I am going to cover the global namespace, this, knowing the difference between ECMAScript 3 and ECMAScript 5, asynchronous operations, prototypes, and simple JavaScript inheritance.

The Global Namespace In PHP specifically, when you declare a variable function outside of a class (or namespace block) you are essentially adding a function to the global namespace. This can be troublesome because you won't get a warning in JavaScript if you overwrite a global function or property and it can actually be quite dangerous. You also might have noticed the var keyword. Let's look at how variable hoisting happens: Javascript: Up To Speed. Javascript Fundamentals: Development for Absolute Beginners. 11 minutes, 20 seconds 31 minutes, 10 seconds 22 minutes, 16 seconds 19 minutes, 0 seconds 29 minutes, 41 seconds 26 minutes, 5 seconds 17 minutes, 29 seconds 10 minutes, 13 seconds 14 minutes, 0 seconds.

Javascript Fundamentals: Development for Absolute Beginners

Learn To Code: The Full Beginner’s Guide. JavaScript Enlightenment. The Best Way to Learn JavaScript. Learning something new is scary.

The Best Way to Learn JavaScript

For me, the biggest issue with picking up a new skill is that I don’t know what I don’t know. Given that, it’s often useful to find a plan for learning whatever you’re interested in. That’s what this post is: your blueprint, your roadmap, your plan of action for learning JavaScript! You don’t have to worry about finding the best resources, sorting out the bad ones, and figuring out what to learn next. It’s all here. JavaScript is the language of the browser. Before you actually begin learning JavaScript, take a minute to understand what it is and does.

JavaScript is not jQuery, Flash, or Java. JavaScript is the language of the browser (not exclusively these days, though). One more note: you’ve heard about jQuery, which is probably the most widely-used JavaScript library. You might even have heard someone say that you should start with jQuery (or another library) and learn JavaScript after.

A handful of good introductions, if I may: So, what can you build? JavaScript Reference. This part of the JavaScript section on MDN serves as a repository of facts about the JavaScript language. Read more about this reference. Global objects This chapter documents all the JavaScript standard built-in objects, along with their methods and properties. Value properties These global properties return a simple value. Function properties These global functions—functions which are called globally, rather than on an object—directly return their results to the caller. Fundamental objects These are the fundamental, basic objects upon which all other objects are based.

Numbers and dates These are the base objects representing numbers, dates, and mathematical calculations. Text processing These objects represent strings and support manipulating them. Indexed collections These objects represent collections of data which are ordered by an index value. Keyed collections Structured data Control abstraction objects Reflection Internationalization WebAssembly Other arguments Statements Control flow Block break var.