PDA

View Full Version : Tutsplus - Next Generation JavaScript with AMD and RequireJS



BoomBoom
04-23-2015, 05:01 AM
http://i.bookshare.biz/images/2015/04/22/5id80FY5X7C7nqqR1xK80u27WZirfFEl.jpg

Tutsplus - Next Generation JavaScript with AMD and RequireJS
English | .MOV | aac, 44100 Hz, stereo | h264, yuv420p, 1280x800, 30.00 fps | 299 Mb
Genre: eLearning


There are a couple of issues with this method.

Firstly, it's just plain inconvenient. All the JavaScript in all the scripts is loaded into the global "namespace." Of course, this may be misleading to beginners, who could easily-and excusable-think that identically-named variables in different files won't conflict. But more than that, it's a pain for experienced JavaScript developers with perhaps dozens of JavaScript files. Some files will depend on others, which may depend on others, etc. And you're on playground duty: you've got to make sure they all arrive in the right order, and that nobody clobbers anybody. This can be both tricky or time-consuming, depending on the project.

Secondly-and more importantly-when a browser is downloading and executing JavaScript files, that's all it's doing; it's blocking the downloading of other content until that's done. This is why you've heard it recommended to put your <script> tags at the end of your <body>, instead of in your <head> as used to be the idea: that way, all your other content (HTML, CSS, images, etc.) will be visible to the user before the JavaScript is downloaded and executed. By using one of the many script loaders available, you'll be able optimize this process at much as possible. RequireJS is one of those loaders, and you'll get all the benefits of using it with AMD. For more on this, read the first chapter (and of course all the rest!) of High Performance JavaScript by Nicolas C. Zakas.
DOWNLOAD
(Buy premium account for maximum speed and resumming ability)


http://rapidgator.net/file/c69c5b736c1c309d1a59377525784b06/Next_Generation.part1.rar.html
http://rapidgator.net/file/428f19dd2f50a644600fe5a9f8eec494/Next_Generation.part2.rar.html
http://rapidgator.net/file/fc2c5d9088c7330481338ff72d5b44a9/Next_Generation.part3.rar.html


http://uploaded.net/file/tsb1yk0n/Next_Generation.part1.rar
http://uploaded.net/file/sdmkesxy/Next_Generation.part2.rar
http://uploaded.net/file/nzft9we5/Next_Generation.part3.rar


http://www.uploadable.ch/file/V9PeBEKXVqkW/Next_Generation.part1.rar
http://www.uploadable.ch/file/eW9DgPZmSujh/Next_Generation.part2.rar
http://www.uploadable.ch/file/E5pYEUANpr9b/Next_Generation.part3.rar


http://www.hitfile.net/2M9d/Next_Generation.part1.rar.html
http://www.hitfile.net/2M9A/Next_Generation.part2.rar.html
http://www.hitfile.net/2MzH/Next_Generation.part3.rar.html