|
Frequently-Asked Questions
Why is every page on your site a JSP? Isn't it more
common to mix dynamic pages with standard static HTML?
Not unlike TriadCity, your experience of the SmartMonsters
web site is structured to be subjective. That is, what you
see depends on who you are. An administrator or a SmartMonsters
employee might see significantly different menus and links,
for instance, than an average member. In many cases the content
of the pages themselves change. Because of this design, every
page has to be dynamic.
You can check out a simple example by viewing the
Visit TriadCity
page before and after logging-in. Same page, different content.
The whole site works this way.
For the techie types: we chose JSP over competing technologies
for lots of good reasons. We think it outperforms other solutions;
scales really well; lets us easily mix EJBs, Servlets, and JSPs as
appropriate; and is a widely-supported multi-vendor solution.
Also, it's about the only realistic way in today's technology world
to achieve really thorough separation between content and presentation:
that is, to keep our page markup free of heavy programming or scripting.
We do this via JSP's Taglib mechanism, using lots of custom tags. Lastly,
TriadCity's written in Java, so JSP allows us to focus all our heavy
development around a single language. Cool.
Back to the FAQ index.
|