• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Practical Dojo: Ajax vs No?

 
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think it's probably safe to assume that the "Practical Dojo" projects include Ajax-enabled features. So, I'm curious...

First, is this a valid assumption? Second, do the examples show the differences between what a static dojo presentation and one that uses the Ajax support?
 
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Only one of the examples uses Ajax, and that's to access some Yahoo web APIs.

However, the definition of "Ajax" isn't what it once was necessarily... I personally still mean a communication mechanism when I say Ajax. In that regard, only a single application does that.

If you mean what is becoming the more common term, where Ajax really means RIA, then yes, they are all that. They are all dynamic in that sense.

I'm not sure what you meant by static vs. dynamic presentation... I think they're all examples of dynamic presentation in that the UIs are updated on the fly. Did you mean something else?
 
David Hibbs
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Frank Zammetti:

I'm not sure what you meant by static vs. dynamic presentation... I think they're all examples of dynamic presentation in that the UIs are updated on the fly. Did you mean something else?



Yes, sorry for the confusion -- this is what I meant. I meant displays updated on the fly vs the kind of thing you see in a traditional sense where an "answer" is generated and used to build a single response, i.e. a table/grid.

I know that Dojo provides some really nice widgets for layout, which could be used independently from the dynamic content. Sometimes that's all that's required, but far more often it makes sense to have the presentation dynamic. For example, displaying the details of a single, specific contact may not require the full dynamic display process.
 
Frank Zammetti
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh yes, you'll see plenty of examples of that in this book then... in fact, every one of the applications is what's now being referred to as a "sovereign application", which just means it's a single page that represents the entire application and that runs in the browser without a server. This pretty much necessarily means you'll be dynamically updating the page.
 
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic