Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Multi tiered web applications in Perl

by perrin (Chancellor)
on Oct 22, 2003 at 19:47 UTC ( [id://301343]=note: print w/replies, xml ) Need Help??


in reply to Re: Multi tiered web applications in Perl
in thread Multi tiered web applications in Perl

While I agree with much of this, I think there is a lot of value in logical (not phsyical) separation of the presentation code (templates, XSL, some PDF writing module, etc.) and the domain objects (where the actual logic of the application goes). Keeping them separate doesn't help performance or scalability, but it does help with maintenance, making it much easier to change things later on. Tangling up the SQL with the HTML-generation and the application logic makes it really hard to do general changes, like adding caching to all your database calls.
  • Comment on Re: Re: Multi tiered web applications in Perl

Replies are listed 'Best First'.
Re: Re: Re: Multi tiered web applications in Perl
by Anonymous Monk on Oct 23, 2003 at 19:02 UTC
    $dbh->prepare_cached() ???
      That just caches the statement handle. It does nothing to cache the results.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://301343]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-18 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found