in reply to Re^2: tt2 with perl cgi and a csv file
in thread tt2 with perl cgi and a csv file
I'm all for it but let me regale you with a tale of my false economy.
I did a standalone CGI, DB driven site for myself with really some of the tightest, nicest code I've ever written. It was entirely similar to a straightforward CGI::Application or Catalyst app, using URI dispatching and method checking and such. Because it was somewhere around the 1,000th CGI I'd written, it was easy, it was clean, and it took only 3 days to write because I could lean on experience + CPAN for sessions and DB stuff.
Then I realized I wanted RSS/Atom on it. Well, there's another half day coding. Then comments. Another day or two gone and the code is now not looking so clean. I realized I'd like admin editing to work differently and have queues for drafts and published pages and be searchable and have topics/tags and Ajax and email updates and better error reporting and self-validate XHTML and... Holy crap, that is gonna be a drag... Redid it in Catalyst.
Extra tasks like those when done in Catalyst can often be as short as 10 new lines of code. Easier to read. Easier to test. Easier to maintain. Fewer chances you left some exploit accidentally. Plus more jobs for Cat devs. :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: tt2 with perl cgi and a csv file
by Gokee2 (Acolyte) on Mar 28, 2008 at 04:24 UTC | |
by Your Mother (Archbishop) on Mar 28, 2008 at 06:28 UTC | |
by Gokee2 (Acolyte) on Mar 28, 2008 at 06:50 UTC | |
by Your Mother (Archbishop) on Mar 28, 2008 at 15:41 UTC | |
by Gokee2 (Acolyte) on Apr 03, 2008 at 08:27 UTC | |
| |
by stiller (Friar) on Mar 28, 2008 at 05:24 UTC | |
by Gokee2 (Acolyte) on Mar 28, 2008 at 06:41 UTC |