Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^3: Modules that significantly contribute to Laziness

by dragonchild (Archbishop)
on May 24, 2005 at 17:07 UTC ( #460086=note: print w/replies, xml ) Need Help??

in reply to Re^2: Modules that significantly contribute to Laziness
in thread Modules that significantly contribute to Laziness

I'm echoing perrin here - DB access is typically 80-90% of the time to process an HTML request. C::A is actually nicely optimized and is very light. If you're worried about speed, I'd seriously look at CDBI over Tangram - I think it's lighter, which may improve performance somewhat.

  • In general, if you think something isn't in Perl, try it out, because it usually is. :-)
  • "What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?"
  • Comment on Re^3: Modules that significantly contribute to Laziness

Replies are listed 'Best First'.
Re^4: Modules that significantly contribute to Laziness
by mugwumpjism (Hermit) on May 25, 2005 at 02:24 UTC

    Saying CDBI is more lightweight than Tangram, is like saying that DBI is more lightweight than CDBI.

    Of course it's more lightweight, but it doesn't provide any real abstractions. CDBI is just another SQL macro library; it just happens to be the most actively developed. It's a very good alternative to raw DBI.

    There is a large class of problems for which Tangram can solve easily, and CDBI just has no solution at all. For instance, with Tangram it is very simple to build up "complex" queries without resorting to hacking SQL. Likewise, if you're retrofitting to existing database schemas, Tangram can seem awkward and inept.

    However, for building large scale database driven applications from scratch, my personal experience would say that using Tangram in concert with Class::Tangram gives you the most flexibility and adaptability of any currently available database abstraction for Perl 5.

    $h=$ENV{HOME};my@q=split/\n\n/,`cat $h/.quotes`;$s="$h/." ."signature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";
      Instead of defending Tangram, just point to

        Sure. That site could use being wiki-fied, its information is really old...

        $h=$ENV{HOME};my@q=split/\n\n/,`cat $h/.quotes`;$s="$h/." ."signature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://460086]
[Corion]: Meh - anybody signed into Github? A wild spammer has appeared.
[Corion]: Otherwise, I'll open a ticket to get them killed in the evening

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2017-08-24 07:45 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (365 votes). Check out past polls.