Book Review: Pragmatic Guide to JavaScript
By : Shabda Raaj
Pragmatic Guide to JavaScript is the Pragprog's book by Christophe Porteneuve which I have wanted to read for a while.
I went into this book expecting to read actionable and task focussed book on modern JavaScript, and this book does not disappoint on that count. Using 35 tasks which you are going to need in your browser based JS development, this books teaches required JS techniques.
However I went into the book expecting a framework agnostic approach. This book however is very heavily focussed on Pototype. Initial chapters start as framework agnostic, but they soon turn into Prototype based. [1]
- Bread and butter: pure JavaScript
- The DOM, events, and timers
- UI tricks
- Form-fu
- Talking with the server side
- Making mashups
Bread and butter: pure JavaScript
Has some basic tasks around managing namespace pollution and named and optional parameters. Framework agnostic.
The DOM, events, and timers
Tasks around getting and manipulating Dom elements. Has examples is Prototype, Jquery, YUI, Dojo and MooTools.
UI tricks
Task around common UI tasks like tooltips, lightboxes and unobtrusive popups. Becomes Prototype based from this point onwards.
Form-fu
Tasks around form validation, conditionally disabling elements and auto-complete.
Talking with the server side
Task around understanding Ajax and cross domain Ajax using JSON-P and other techniques.
Making mashups
Tasks around making mashups using Twitter and Flickr API. Also has discussion and history of various common JS frameworks.
This chapter has sub-chapter on debugging JavaScript using Firebug and other browser specific tools. This is the best text I have read on debugging JavaScript, and if you are working with browser specific JS bugs, this chapter is a must read.
Overall this book is good read if
- You work with prototype.
- Work with other libraries, but would like to know about debugging JS in various browsers.
It is a pass if
- You work with Jquery/Other libraries and want a book tailored to that.
- Want a language agnostic book.
[1] It tries to get around this problem by putting code on Github and asking people to fork and create other framework translations. https://github.com/tdd/pragmatic-javascript
Related Posts
- Two Scoops of Django: Review
- Book review: The Principles of Successful Freelancing
- Book review: The Principles of Project Management
- Book Review: The Principles Of Beautiful Web Design
Can we help you build amazing apps? Contact us today.
Our website offers the Cheap Rosetta Stone on sale,such as these very popular kinds: Rosetta Stone Spanish,Rosetta Stone German,Rosetta Stone Italian and so on,besides,there are many friendly customers who left useful Rosetta Stone Reviews,which maybe the good guide for you!
All the Rosetta Stone are 100% satisfaction guaranteed,and free shipping.We guarantee its quality,and all money will be refund if the goods are not satisfied.
welcome to make a purchase.