The Artima Developer Community
Sponsored Link

Java Buzz Forum
Tapestry: Event/Component Driven versus Request Driven

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Tapestry: Event/Component Driven versus Request Driven Posted: Jun 9, 2004 4:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Tapestry: Event/Component Driven versus Request Driven
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement
I have been having fun with Tapestry for the last couple of days. It really is a breath of fresh air compared to some of the Other frameworks. Although request-based frameworks allow you to get the job done... and there are some good ones out there (WebWork 2 is great)... I am really enjoying a more component/event-driven approach. A long long time ago, in a galaxy far far away I remember writing a web templating system. One of the major goals was that the HTML "templates" should be WYZYWYG/browser preview friendly. This was very much needed based on the way that we built websites, and how the designers were in the process. Ever since then I have shed a tear or two when I see lots of evil markup which makes a system non-web designer friendly. JavaServer Faces unfortunately seems to take the cake on this one with its <f:use_faces> .... and just check out a table based on facets! As soon as you start to work with components, this holy grail becomes hard to find... however I really like that Tapestry tries hard at this goal. There are definitely cons to this approach. You could argue that having a conditional look like: <span jwcid="@Conditional" condition="ognl:isFun">foo</span> isn't as easy to view as: #if ( isFun ) bar #endif However, being able to have real HTML makes it worthwhile, and after a few minutes you can get it. Having this HTML approach is just one thing that I like. What I really like is how the I can't put code in my view, and how the low level servlet stuff is just really hidden nicely. This is great stuff. Thanks Howard.

Read: Tapestry: Event/Component Driven versus Request Driven

Topic: Featured! Previous Topic   Next Topic Topic: OPML to HMTL using Informa

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use