I have used and researched many different web frameworks over my years as a web app developer. I have found that the general "try to do everything" frameworks are often not very good, because they try to be too general.

Some examples are Enterprise Java Beans (sorry to not use a Perl example, that is coming shortly). They try to do everying, but because they are so flexible, the developer ends up doing way too much extra work.

Then there are frameworks that focus on a particular type of application. For example, java struts work well for designing strut-stype applications. EZ publish (a PHP kit) works well for news sites.

So, what is happening is that it is very difficult to make something that works for all jobs. The more specific your target, the better job you can do designing a solution. This is true for app frameworks.

For that reason, I like to plug together a set of different tools to meet my needs on a per-job basis. For example, in one application, I might use Class:DBI as my database interface and Template Toolkit as my view generator. But another job might be easier to develop if I used DBI as the database interface.

Now, moving more specifically to your example: how do you validate a form, or an email? How do you manage a session? It changes from one category of application to another.

While it may take a little extra work glueing your components (APIs) together, the trade-off in flexibility is worth it (for the kinds of apps I deal with).

In short, it is very hard to put something monolithic together that will serve many jobs. Of course, by my very own assertions, it is quite possible that you can put together a framework that meets the needs of the types of apps you develop very well.

Ted Young

($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)

In reply to Re: super CGI? by TedYoung
in thread super CGI? by stonecolddevin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.