--- Michael McGrady <[EMAIL PROTECTED]> wrote: > Woodchuck wrote: > > >hehe, you make it sound as if scriptlets are the ball and chain and > >shackles that you are free from! > > > >no doubt that scriptlets can easily fit that description, but i > guess > >what i'm referring to are 'nice' scriptlets :) > > > >little tiny scriptlets that are hands down easier than than the > >would-be non-scriptlet alternative > > > >i think this topic is a mix of pragmatic views and philosophical > >views.. > > > > To me it is all practical or nothing. However, there are positions > that > seem philosophical and in fact in practice turn out to be of concrete > > value. The separation of functions and the decoupling of things in > programming, in my view, always has paid off huge dividends and paid > them off in areas where they never were suspected. >
i agree. i have also unexpectedly found benefits from this too. i try to do my best to organize my code and adhere to the principle of separating business logic from presentation logic (model from view). i'll be the first to admit that this is hard and not obvious from the get go most of the time, but i try. i still believe in 80/20 rule where 80 should be design and 20 should be actual coding. it is quite conceivable to me that if you've thought out a very good design that it could be even 95/5! :) there is nothing quite as enjoyable as whipping through code because the design was great and everything falls into place as planned. someone else also mentioned a good point earlier. if the code begs to have scriptlets then it maybe a sign that there is something wrong with the design of the page, assuming the scriptlet was not trivial but contained some degree of business logic in it. > Michael > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]