JavaScript Application Cookbook

  Author:    Jerry Bradenbaugh
  ISBN:    1565925777
  Sales Rank:    579468
  Published:    1999-09-01
  Publisher:    O'Reilly
  # Pages:    480
  Binding:    Paperback
  Avg. Rating:    3.0 based on 20 reviews
  Used Offers:    33 from $0.62
  Amazon Price:    $44.99
  (Data above last updated:  2008-11-22 05:49:27 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
JavaScript Application Cookbook
  
There is a serious information gap for Webmasters learning client-side JavaScript skills and trying to solve common Web-related problems. Knowing the syntax is one thing, being able to build a useful application is another. And while there are dozens of "how- to" JavaScript books available, few literally hand the Webmaster a set of ready-to-go, client-side JavaScript applications with thorough documentation that enable the reader to fully understand and extend those applications. By providing such a set of applications, JavaScript Application Cookbook allows Webmasters to immediately add extra functionality to their Web sites. This book targets readers with two different skill sets. The primary target is JavaScript-knowledgeable Webmasters and designers who can immediately begin constructing their own versions of the applications. The secondary target is those with little or no JavaScript experience. The included applications are ready for immediate use and require little customization. This book explores both the code and the techniques that are centered around core JavaScript functionality, a functionality that will not become incompatible or obsolete. The source file design of most applications and libraries will help modularize reader Web sites and facilitate easier site management and coding practices. Chapters are organized by application. Among the included applications are:
  • A client-side search engine that will show coders how to build their own search engine and get excellent results, all with a client-side tool
  • A drag-and-drop greeting application that lets users custom build and send DHTML email greetings
  • A GUI image rollover tool that generates cross-browser image rollover code for all versions of JavaScript
  • A robust client-side shopping cart application that lets shoppers browse and shop, while the application keeps a tab of the shopper's selections and a running bill, including tax and shipping
  • An online test application that auto-administers, grades, and displays answers to online exams or surveys
An additional value to this book is an online resource (http://www.serve.com/hotsyte/) that discusses the applications and points to other resources. With its focus on providing practical real-world solutions for Webmasters, JavaScript Application Cookbook is destined to become a staple for every JavaScript developer, regardless of experience.
Seasoned Java coders will find the JavaScript Application Cookbook compiled just for them. Written in the same vein as the old-style programmer "toolbox" titles, this book sheds the usual tutorial presentation and simply introduces a series of JavaScript applications you can use on your own sites.

The cookbook begins with recipes such as a client-side search engine application that facilitates complex database searching to maximize local processing. (An interactive multiple-choice testing application follows, along with code for an interface to multiple search engines on the Net). Other applications include a JavaScript shopping cart, context-sensitive help, cipher implementation, drag-and-drop-capable e-mail, and a cookie-based user-management system.

Author Jerry Bradenbaugh clearly has a passion for JavaScript, and he illustrates the capabilities of this modest scripting language. The code for the book's applications is available from the publisher's Web site, and each chapter begins with a step-by-step walk-through of the finished application. You'll learn how code works and get ideas for possible extensions you might want to create. If you're programming in JavaScript already and want to grow your arsenal of tools and techniques, the JavaScript Application Cookbook is an immediate code fix. --Stephen W. Plain

                  Reader Reviews 1 - 11 of 11                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
06-24-07 1 (NA)
(Hide Review...)  Poor examples and poor example of programming style
Reviewer Permalink
You do not want this book. Both the examples chosen and the style of programming used are ... nothing you want to emulate.

In partial defense of the author, most (practically all) Javascript books are pretty awful, and at the time this book was written, there were few or no better examples.

I was looking as an exercise to offer well-written rewrites of older poorly written examples. After scanning through my copy, realized that even the examples were not worth redeeming.

The best Javascript book I have found so far is:
JavaScript: The Definitive Guide
(even in this book the examples are not often less than excellent.)
(Review Data Last Updated: 2008-11-13 06:35:45 EST)
01-16-06 1 2\3
(Hide Review...)  Nicely written, needs updating for today' browsers
Reviewer Permalink
As a javascript, I started using this book after studying Goodman's "The Javascript Bible", hoping to study some real-life applications. The code is nicely written and fully commented. But most of the examples do not work on today's browsers (IE6 and Firefox 1.0 when this review was written), so in this respect, the book is useless.
(Review Data Last Updated: 2007-07-01 13:41:00 EST)
01-11-04 4 4\4
(Hide Review...)  Good book if you're past the fundamentals
Reviewer Permalink
This book fills a very nice gap in the world of JavaScript books. Most of the books either are basic "how to" learning guides or exhaustive reference manuals. Both of those types of books are necessary for a good developer, but there comes a time when you want to cross over from the theoretical to the practical. As in, "how would I do a function like this in JavaScript?"

The "cookbook" approach is designed to take a common web site feature, like a search engine, and code a common JavaScript routine that would do that. You can then take the code in the book and use it with very little modification. In most cases, you would learn from the code as you are implementing it, and from there you can enhance the function to better suit your particular needs. You get the best of both worlds... You are quickly able to implement a function you are getting paid to build, and you are learning at the same time.

I liked the piece on context-sensitive help files. Nothing is really complex or visually impressive. But it's core functionality that you can implement quickly, it's useful for the end user, and you can build on that technique both in your current and future applications.

For Notes/Domino developers, you'll find a lot you can use here. Being that Domino functionality often translates to the web, you may find that a pure JavaScript implementation of a feature may not be the fastest or easiest way to build something for your application. You'll need to examine the functionality you need for your application and determine the best way to do it. But even if you choose to use Domino to accomplish some task, seeing the way to do it in JavaScript can help you expand your horizons and consider different approaches.

Conclusion
I would recommend this book as a practical supplement to a good "how to" and a good reference book. If you're just starting to learn JavaScript, you may want to leave this one alone for awhile.

(Review Data Last Updated: 2006-07-07 09:50:52 EST)
02-04-03 1 21\28
(Hide Review...)  Virtually Useless Text
Reviewer Permalink
The text is focused on providing ready built constructs that can be applied to any website. In summary this book contains 11 application constructs. 3 are possibly applicable in todays world, albeit their relevancy is questioned, the other 9 topics such as text ciphers in JavaScript and Shopping Carts in JavaScript, etc. are completely unacceptable in today's world. Adding text cipher or Shopping cart logic in the browser completely exposes that logic to the hacking public leaving your site completely vulnerable to attack. Even in 1999, when this book was written, this would have been a ridiculous way of implementing these things. I must say I gathered no useful information from this text. And as for the author, anyone who had their site implemented by this person should hire a professional to correct the security holes he has most likely left behind.
(Review Data Last Updated: 2006-07-07 09:50:52 EST)
09-18-02 4 2\4
(Hide Review...)  Finally, javascript without the cheap tricks......
Reviewer Permalink
After working through the first chapter (site search engine) I felt that this was a book work reading. It isn't a beginner's book, but anyone with intermediate javascript skills and an interest in using client-side processing will pick up a good amount of useful techniques and some needed perspective on how client-side scripting can be a powerful asset.

The code could be better (as could anyone's). There is a strong focus on using local variables instead of global and the naming conventions make following the logic from one function to the next a little difficult. This, however, does not diminish the value of the concepts presented.

To use the book, you "MUST" download the files. Not only are they a lot easier to read, you can comment them extensively as you go and pick up logic bits.

An inportant suggestion is to not blow through the example application too quickly. If you take the time to take them apart, modify them and reassemble, you will pick up much more than just running them reading the code and moving on.

I wish there were more books that presented the business functionality of javascript and how it can be used to handle many of the things that are being passed to server-side processing.

I bought it, used it and would buy it again...

(Review Data Last Updated: 2006-07-07 09:50:52 EST)
09-17-02 4 2\5
(Hide Review...)  Good Book for moving past javascript cheap tricks....
Reviewer Permalink
I bought the book expecting to pick up techniques to accomplish some serious client-side actions. After working through the first chapter, I was pleased with the purchase. This is a no nonsense book that gets right to some usable applications.

Chapter one's search engine is not a lengthy script, but takes a while to digest because so many local variables are used. While this is economical, it makes picking up the logic flow from one function to the next a little more difficult. Having said that, the concepts presented in the code are well worth the effort to work through every line.

Downloading the zip file is the only way to go with this book. the code in the book is, due to format limitations, much more difficult to follow than the code viewed in a good editor. Besides you can comment the code line-by-line if that helps you.

If I was looking for an intermediate business oriented javascript book, this would be it!!

After fully mastering the approach of any one of the samples, you can begin immediately to see ways to either expand or apply the code. That's really what most of us are looking for.

Thanks for writing it.

(Review Data Last Updated: 2006-07-07 09:50:52 EST)
06-18-02 5 4\5
(Hide Review...)  Excellent Reading
Reviewer Permalink
Anyone interested in serious programming with Javascript should definitely consider "Javascript Application Cookbook" by Jerry Bradembaugh. First and foremost, this book is not for the lighthearted. One should be well versed with programming (Javascript, Java, C, C++) before considering taking on this book.

From the very first sample (Online Test), I knew this book would be teaching me a lot of new techniques. Having a web-based application running solely (actually, more like 99%) on Javascript is great. Bradenbaugh is very thorough in his writing, explaining, and guiding readers through various sections of each application. His presentations of the processes and variables used are so helpful when walking through the source code.

Right out of the book, there is no need to configure anything except to download the samples. Once you have it saved on your machine, it's time to make things happen. The best thing about the author's walk-through is that he tells you explicitly what is going on, and he offers ways to enhance each application. That's a must when you are looking for ideas from someone with as much knowledge as he has.

I see combining several chapters worth of code into a bigger and better application. For example, using the file I/O techniques used in the Online Test application in conjunction with the Slideshow application, one could create a database of images used and allow users to load and save them. Better yet, why not offer something like a shopping cart for your users to select which image to include in a slideshow. The possibilities are endless from the use of this book. If time permits, incorporate other functions and create a true scripting-library. Use the include directive to bring in what is needed to make your application lean and user-friendly.

There are some sample chapters of the JavaScript...

(Review Data Last Updated: 2006-07-07 09:50:52 EST)
05-29-02 1 1\4
(Hide Review...)  promotes bad coding practices
Reviewer Permalink
Not a cookbook, not well-organized, not very helpful.
He recommends syntax that is harder to read and understand because it saves a few bytes of memory--he may have experience with javascript, but is he an experienced programmer? He's overly-concerned with speed of execution, and not concerned enough regarding readability and maintainability.
(Review Data Last Updated: 2006-07-07 09:50:52 EST)
04-04-01 4 0\4
(Hide Review...)  PEFECTION!!!
Reviewer Permalink
I bought this book about 3 weeks ago to help with my newest assignment at work. WOW! IT works wonders with all good browsers (sorry, Netscape isn't in this section).

The information presented in this book is concise and logical. The examples are superior to anything else I've ever seen.

(Review Data Last Updated: 2006-07-07 09:50:52 EST)
08-17-00 1 5\17
(Hide Review...)  Examples do not work
Reviewer Permalink
I purchased this book and downloaded the sample code from O'reilly. I then applied the errata from the o'reilly site.

The first example does not work in either netscape communicator 4.72 or ie 5.0. It is full of script errors. This really irritates me. I don't mind doing a little debugging but this is ridiculous.

(Review Data Last Updated: 2006-07-07 09:50:52 EST)
06-27-00 5 9\9
(Hide Review...)  It is exactly what it says in the title!
Reviewer Permalink
The title is 'JavaScript Application Cookbook'. The author says he aimed to provide complete applications in JavaScript to demonstrate its power and in my opinion, he has done this extremely well.

If you don't quite have the time to try and build entire applications, or would like to use cross-browser JavaScript to its fullest extent, then this book is highly recommended - kudos to the author. If you're looking for a JScript reference, stick with JavaScript : The Definitive Reference by David Flanagan or the JavaScript Bible by Danny Goodman.

(Review Data Last Updated: 2006-07-07 09:50:52 EST)
  
                  Reader Reviews 1 - 11 of 11                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)