Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

Leaving Early May Cost You Time

manavendra Don't care about the data... (678 comments)

I'm sure this is a genuine detailed research, but anyone who's tried to get out of central London between 4 to 7 pm will tell you the madness that ensues as part of "traffic". god forbid if you have to drive - forget the dreaded congestion tax, the best you'd do is 5 to 8 miles an hour...

more than 8 years ago

Submissions

manavendra hasn't submitted any stories.

Journals

top

JSP tag library design

manavendra manavendra writes  |  more than 11 years ago I'm currently working on defining the interfaces between the layer that houses the presentation logic and tag libraries that will invoke that logic from the JSP for a large j2ee application.

There seeem to be several books out there that talk about tag libraries, and several frameworks that handle one aspect or the other, but I believe creating a new tag is akin to creating a new language, and there are the usual concerns of usability, extensibility and customization that I am trying to resolve.

At the simplest best, a good tag library design (IMO) should provide the following:

  1. Well defined interfaces between presentation layer and tag libraries themselves
  2. Tag library syntax should be declarative - on the lines of markup languages like HTML - where you describe what you want, and not HOW it should be done. From what I've read so far, I have come to believe the tag library syntax should not be procedure-oriented, but action-oriented.
  3. Perhaps the biggest challenge is to foresee the customization needs of future users, ISV and OEM's. A well defined taglib should not only ease the life of web page designers, but also make it easy to customize the views.

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>