Ok, I’m getting really frustrated with Javascript. I have bought the books, found tons of videos on line, found a few good resources but still I feel like a little kid. I want the big boys version of the API and how to write real code.
Can some one please help me with the folowing
1) where can I find a real API
2) How do I really use this stuff so I can use it in the real world.
3) why is it so hard to find good information on this topic, there there some secreete website or book that is not made avaible to the general public or what.
Anyone please direct me to the right place.
I find the Mozilla Developer Network has excellent documentation and guides for the JavaScript API:
https://developer.mozilla.org/en-US/docs/JavaScript/Reference
https://developer.mozilla.org/en-US/docs/JavaScript/Guide
Futher to this, I highly recommend developing in Chromium/Google Chrome as they include an excellent set of JavaScript debugging tools including a console with auto-completetion. I used to use Firebug, but it’s really quite clunky compared to what Chrome/ium offers.
How is JavaScript used in the ‘real world’?
You need to consider that JavaScript is in no way a stand-alone entity; it is tightly integrated into the web browser model, complementing HTML, CSS and the browser. Newer features of JavaScript, and the server-side JavaScript environment, NodeJS are warping this, however for use in web browsers JavaScript still revolves around it’s integration with other web components. In other words, you should probably start by making single pages that require scripted behaviour (eg. form validation), rather than thinking of a bigger application (of which JavaScript would only be a small component).
Why is it so hard to find good information on this topic?
I totally agree with you here. The short answer is that JavaScript is and has been evolving rapidly. Unless you’re reading very recent books, your best bet is MDN if you’re looking to browse, and Google (as always) if you’re looking for something specific (or use Google to search MDN!).