• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Book Content?

 
Ranch Hand
Posts: 937
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Authors,
You have named second chapter as AJAX Design patterns matter. Can you please give some insight in that?

Thanks in advance
 
author
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We do emphasise design patterns in 'Ajax in Action' quite a lot. My experience over the last feww years with what-we-now-call-Ajax is that it can increase the amount of JS in your app considerably, AND increase the longevity of that code, i.e. the same bit of JS could keep your user busy for several hours without a full-page refresh in sight.

Classic web app JS is generally small and short-lived, so it can get away without much design. Trying to write an Ajax app in the same way is a disaster. So, to a JS coder approaching Ajax for the first time, we thought that a good dose of design patterns was`in order.

My original motive for writing the book was to note down all the things I wish I'd known 2-3 years ago, and point out all the traps that I fell into. I knew JS, and I knew design patterns from my Java and C++ work, but it took me a long time to put the two together. Readers of the book will hopefully benefit from my hindsight and enjoy a less bumpy ride!

Dave

Dave
 
reply
    Bookmark Topic Watch Topic
  • New Topic