Enterprise AJAX: Strategies for Building High Performance by David C. Johnson, Alexei White, Andre Charland

By David C. Johnson, Alexei White, Andre Charland

"The center applied sciences of Ajax are rather simple; the challenging half is using them within the genuine global. thankfully, the authors were placing Ajax into perform considering the fact that lengthy earlier than the time period ‘Ajax’ used to be even coined. firm AJAX deals first-class insurance of concerns hardly ever defined up to now, yet usually encountered through firm developers—including architecting of Ajax purposes, and the way to accommodate such matters as usability, protection, and reliability."
-DR. MICHAEL MAHEMOFF, PH.D. writer of Ajax layout styles (AjaxPatterns.org)

"Just should you notion you knew all you want to find out about Ajax, Dave, Alexei, and Andre strength open your skull and dump a dumptruck choked with company Ajax concepts, top practices, and well-merited professional perception onto your mind. as a way to combine a few severe Ajax into your critical enterprise functions, the forged info and recommendation you get from this ebook allow you to achieve this with confidence."
-BRENT ASHLEY, net Developer and Ajax Pioneer

"I can’t think about any greater authors for a ebook on firm AJAX. The booklet is certain to be a priceless reference for builders across the world engaged on the following iteration of internet applications."
-MATT MCKENZIE, software program improvement supervisor, LiveCycle, Adobe platforms Inc.

"A nice source for writing caliber, enterprise-level JavaScript."
-CHRISTIAN VAN EEDEN, Senior program expert, Schenker DB Logistics

Writing for firm builders, architects, and consumer interface experts, the authors clarify why AJAX deals such nice promise in large-scale improvement. subsequent, they systematically introduce today’s key AJAX ideas and components.

You'll stroll via constructing frameworks for development AJAX functions that mix facts tables, net varieties, charts, seek, and filtering: the very structures companies rely on in CRM, ERP, BI, and past. Then, development in this powerful starting place, the authors determine confirmed AJAX architectural styles, and current case stories drawn from real .NET and Java AJAX purposes. Coverge includes

  • Using AJAX to enforce Model-View-Controller (MVC) within the browser
  • Encapsulating consumer interface performance to facilitate code reuse and decrease cross-browser improvement difficulties
  • Overcoming the original protection demanding situations linked to AJAX net functions
  • Optimizing AJAX usability: the "back" button, caching, bookmarking, offline utilization, and beyond

From safeguard to scalability to venture hazard, this is often the one booklet to hide all of the concerns dealing with AJAX builders within the company. even if you’re migrating legacy HTML interfaces or development new functions from scratch, you’ll locate it totally indispensable.

www.enterpriseajax.com comprises code samples, case experiences, tutorials, reside demos, and different AJAX resources.

David Johnson has a long time of expertise with AJAX-related applied sciences. he's co-founder and CTO of Nitobi, manufacturer of an element library designed to hurry AJAX improvement. Johnson has written commonly for print and on-line courses, together with JavaWorld.com and XML.com.  Alexei White is Product supervisor at Nitobi. Andre Charland, co-founder, President, and CEO of Nitobi, is an skilled net software program developer.

Show description

Read Online or Download Enterprise AJAX: Strategies for Building High Performance Web Applications PDF

Best web-design books

Drupal 7: Visual QuickStart Guide

Visible QuickStart courses, designed in an enticing educational and reference structure, are the fastest, least difficult, and such a lot thorough method to examine functions, projects, and applied sciences. The visible QuickStart publications are a sensible selection and advisor the learner in a pleasant and respectful tone. Visually awarded with copious screenshots, the centred discussions by way of subject and projects make studying a breeze and quick take you to precisely what you need to examine.

iPhone and iPad Web Design For Dummies

A full-color consultant to designing state-of-the-art websites for the iPhone, iPad, and iPod contact! Apple’s touchscreen units have created all over the world techno-lust, conjuring a record-breaking marketplace out of skinny air. iPads, iPhones, and iPods are so favourite that they outsell another machine of their different types.

Additional resources for Enterprise AJAX: Strategies for Building High Performance Web Applications

Sample text

It is where all the numbers are crunched, events are handled, and data requests are dispatched. JavaScript is where the majority of the application domain logic and controlling code exists. 25 26 Chapter 2 AJAX Building Blocks JavaScript has traditionally received a bad reputation from the developer community at large. Sure, it is neither strongly typed nor does it support classes in the time-honored object-oriented sense, but it can drastically improve the performance and maintainability of your web application when sensibly written.

The Error object exposes properties to access the error message, description, name, and number properties. The last stage of handling errors is the finally block, which is guaranteed to be executed before the code is completed; this is the ideal place to clean up any resources that might need manual garbage collection. A simple example of using the various error handling features of JavaScript is shown here. number); } finally { // Do cleanup here if need be } JavaScript 41 Namespacing A second routine and, yet important, aspect of writing JavaScript code is using namespaces.

Some of the object-oriented shimmer starts to fade when you get into these issues. No metadata or keywords in JavaScript describe fields or methods that can or cannot be copied through inheritance. It is left up to the programmer to determine how this gets carried out. The Prototype JavaScript library, for JavaScript 35 example, enables inheritance using a custom method that is added to the Object object called extend. This approach accesses each property or method in the source object instance and copies it to the destination or child object.

Download PDF sample

Rated 4.07 of 5 – based on 35 votes