• 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

is this push based or pull based framework ?

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Background: Our micro framework used a struts based controller that eventually generated a table model for the web UI. The table model is a complex aggregate that abstracted the notion of tabular display of data.
The table model can tell what cols are editable, sortable, paging info so on so forth. This model was created and stored in the request scope for the page to render.
The second aspect of this framework a small bunch of custom tags that understood this table model. It only talks with the model and renders the page delegating to appropriate sub-components.

Question: Is this push or pull based approach?
I think its some sort of pull based as
1) The custom tags are model bound and model aware.
2) Custom tags 'pull' in desired data from the model. Otherwise, the page (jsp) would behave as a channel between model & custom tags pushing all the desired context & data as attributes/parms to a custom tag.

What do rest of you think?
[ July 16, 2004: Message edited by: Sathvathsan Sampath ]
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HTTP does not allow push. Therefore, Struts is not push.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic