Only five or six pages? That's cool - but what you're doing is introducing cognitive dissonance into your own development process. The simpler way to do this is to do it right, first time, all the time. That means you move from "small projects" to "big projects" with no shift in mentality. It goes back to the joke about "Why do elephants have great memories? Because they don't have anything to forget." You're also introducing a flaw in development processes directly, because if you realise your small bugtracker really needs to be 15 views and not five or six pages, you're making yourself rearchitect in the span of one day. I'd still advocate doing it correctly, even on small projects - because small projects turn out to be where the coolest architectures get tested.
Thanks for forwarding, BTW :) >From: David Castro <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: JSP Apostrophe in JDBC >Date: Fri, 6 Sep 2002 04:36:50 -0700 > >--- Joseph Ottinger <[EMAIL PROTECTED]> wrote: > > From: "Joseph Ottinger" <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: Re: JSP Apostrophe in JDBC > > Date: Fri, 06 Sep 2002 06:07:28 -0500 > > > > I find the idea of binding your SQL into your JSP a la DBTags really > > distasteful. It's fine for a quick and dirty hack, but... most of the >time, > > I'm not willing to use crap like that because it ends up making it into > > production when management isn't willing to commit any time to doing it > > right. Once it makes it into production, it turns into a maintenance > > nightmare because a table change means you've got to go into every >freakin' > > page that uses SQL on those tables... when you could have just modified >a > > single manager class (presuming a DAO model) instead. > > > > Does it work with JDBC-ODBC? I sure hope so, because I use and test with > > that all the time. > >To which I respond: > >I'm sure you're right that in a large development environment, using DBTags >wouldn't be optimal. It certainly doesn't follow the MVC architecture. >However, >for small, self-contained projects, it seems to me that it works just fine. >My >web applications tend to have 5 or maybe 6 pages that interact with the >database. Hardly large enough for me to learn how to implement something >like >Struts. (Though, I do plan to learn about Struts, most likely from the >Manning >book on the topic, someday when I have some spare time on my hands!) > >[Note: Joseph asked me to forward his email to the list, so I'm not posting >a >private email response to the list.] > >-David Castro > email[at]davidcastro[dot]com > http://jsp.davidcastro.com > >__________________________________________________ >Do You Yahoo!? >Yahoo! Finance - Get real-time stock quotes >http://finance.yahoo.com > >=========================================================================== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST >DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com ----------------------------------------------- Joseph B. Ottinger [EMAIL PROTECTED] http://enigmastation.com IT Consultant _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
