|
|||||||||||||||||||||||||||||||||||
|
6 Reviews
|
Average Customer Review
Share your thoughts with other customers
Create your own review
|
|
Most Helpful First | Newest First
|
|
16 of 17 people found the following review helpful:
5.0 out of 5 stars
Time-Saving Store of Scripting Knowledge,
By
This review is from: JavaScript Cookbook (Paperback)
§
One bit of advice if you are like me when you get a reference collection of this sort: I immediately flip through the table of contents or the index to get to whatever topic I am currently obsessing on. In the case of this book, you may want to spend a few minutes in the oft-ignored preface. It contains some noteworthy information on the author's approach. Specifically: "Many of the examples won't work with IE6. Before I even began the book I decided not to provide support for IE6--including any workaround code." The author is a bit more forgiving in the case of IE7: "Where IE7 doesn't work, either I provide IE7-specific workarounds in comments in the example code you can download, or I make a note about nonsupport in the recipe--or both." I work on teams developing browser-based applications for the real world, so IE6 is still absolutely relevant to me. In fact, the corporation for which I honestly sweat is itself "standardized" on IE6 for all employees. Even so, I still recommend this book because of the relevancy of the examples and its forward-looking approach. The fact that the code download file is about 63 megs compressed should give an idea of how much is contained in this big store of scripting knowledge. §
7 of 7 people found the following review helpful:
5.0 out of 5 stars
A lot of javascript solutions,
By Mark (California) - See all my reviews
This review is from: JavaScript Cookbook (Paperback)
Javascript is similar enough to languages I know that I've just picked up enough of it along the way to get done whatever I needed to. I read this book in hope of getting solutions I could adapt for some of my web programming needs while learning more about what javascript could do now and in HTML5. I was not disappointed as the book met those expectations and then some.
As a cookbook, the book follows a Problem, Solution, Discussion format. The problems addressed are grounded in the real world and the solutions vary from very simple to rather complex. The discussion provides in depth information about the solution and sometimes includes alternatives. Of particular interest to me on the first reading were the chapters on event handling, form elements, and persistence. I was also pleased that the solutions addressed handling the current versions of the four major browsers. Bottom line: After reading this book I have a better understanding of javascript and what I can do with it. I will be keeping it handy as a source for code snippets as well as a reference for future javascript coding.
6 of 6 people found the following review helpful:
4.0 out of 5 stars
Good jump start to get familar with new APIs,
By
This review is from: JavaScript Cookbook (Paperback)
In developing mid to large scale web applications nowadays, it's a common practice to leverage JavaScript frameworks such as Prototype, Scriptaculous and JQuery. As the author of JavaScript Cookbook points out, "in order to use a framework library like jQuery to its best ability, you need to understand what's happening under the hood." JavaScript Cookbook provides a good amount of information on the fundamental and new features of JavaScript. For example, the book covers ECMAScript 5 features (e.g., Array object methods "forEach", "map" and "filter") with concrete use scenarios in the format of classic "cookbook" receipts, accompanied with snippets of code in the context.
Going beyond these isolated "problems", the book also provides insights into what is needed in building real world web applications in terms of good practices and pragmatic idioms. For example, when showing you how to gracefully handle no JavaScript situations, the book provides a "historical" perspective on the existing solutions, how they have been evolved over the time and what establishes the current standard of good practice. The receipt starts with the simple <noscript> tag solution and presents a more concrete progressive disclosure form example in the middle; In the "See Also" section, a list of further readings (with URLs) are provided on the topic of "progressive enhancement". The book also covers more advanced topics such as how to implement object oriented programming with JavaScript Object and building custom code libraries. Through different receipts, to depict the fast evolving landscape of front-end development, the book covers eye-catching topics such as HTML5 API such as "drag-and-drop", "web worker", filesystem access, as well as creating mobile widgets and native smart phone applications with HTML/JavaScript using open source translation tools. As a UI developer, I've found the book a very good casual reading for me to get up to speed with the new APIs and trends and refresh my knowledge about the idiosyncracy of the language. The code snippets in the book are very complete and could be really handy to tackle some of the real-world problems.
4.0 out of 5 stars
Good book to have handy,
By Larry (Somerville, MA) - See all my reviews
This review is from: JavaScript Cookbook (Paperback)
Of course, the same can be said for just about all of the hi-tech cookbooks. Sure there's Google, but this (and most other cookbooks) usually go into more detail about why the solutions work, in addition to providing other alternatives and describing similarly-flavored problems. This book covers a wide swath of topics, e.g. the usual objects, events, forms, etc., in addition to sections on debugging, SVG, HTML and CSS. It also does a good job of providing browser-specific information, long the bane of client-side programming.
3 of 5 people found the following review helpful:
3.0 out of 5 stars
A well-constructed collection of JavaScript recipes, with forward-looking samples of ECMAScript 5 and HTML5,
By
This review is from: JavaScript Cookbook (Paperback)
I have enjoyed other cookbooks in the O'Reilly library of computer texts, so when I saw JavaScript Cookbook by Shelley Powers in the catalog, I jumped at it. The description mentioned that the book would cover HTML5 and ECMAScript 5, so I really wanted to learn the new capabilities of both. I did get to learn a lot, but I wonder if these new features are too new.
Like other cookbooks in the O'Reilly library, this one is organized as a series of specific problems, with their solutions neatly presented and grouped into the major chapters. Each solution has a discussion to flesh out the details. The website has downloadable copies of the examples in the book, which I used to test out the various recipes. ECMAScript 5 is fairly new, and HTML5 is still under development, so I made sure I had the latest stable versions of the major browsers (Firefox, Google Chrome, Internet Explorer, Opera, and Safari) to see how they would cope. The HTML5 features are very sparsely supported as of yet, so those portions of the book should be considered more of a sampling of things to come rather than a definitive set of solutions. They start out easily enough with recipes for handling JavaScript strings. However, the discussion of String objects and literals obviously implies that the reader is already somewhat familiar with Object terminology and functionality. That makes this book unsuitable for beginners. While much of the book is applicable to today's browsers, there is a lot of coverage of the new capabilities made available in the new HTML5 specifications. Unfortunately, most browsers either do not support, or only partially support these features, so the information is only useful as a "taste of things to come". As I step back and reflect on this book, I think that many topics are solutions that cannot be implemented because the typically available browsers don't support the new features yet. If a web page designer wants their site to be available to users now, they need to focus on the features that are well entrenched across the internet. Having so many solutions based on features and capabilities that are still being defined is only useful as academic exercises. I would have preferred that the JavaScript Cookbook be more useful for the state of the web right now. That is why I'm rating it only 3 out of 5.
0 of 2 people found the following review helpful:
4.0 out of 5 stars
Partial read review,
By Bill Vinson (Cary, NC) - See all my reviews
This review is from: JavaScript Cookbook (Paperback)
I haven't gotten all of the way through this book yet, but I'm enjoying it so far. For someone who has coded in other languages, but with very limited experience in JavaScript, the book is extremely approachable. It is definitely not a "Getting started in programming" book, but for me it has proven very useful in refreshing & building out my knowledge. As always, the Cookbook style book is useful to hold on to for when that specific issue strikes.
I look forward to reading a bit further & then holding on to this title as I try my hand at more adventuresome exercises. If I find anything more to report as I work further through the book (positive or negative), I'll update here... DISCLOSURE: I received a free review ebook from O'Reilly. |
|
Most Helpful First | Newest First
|
|
JavaScript Cookbook by Shelley Powers (Paperback - July 26, 2010)
$49.99 $31.49
In Stock | ||