XP is just a number | |
PerlMonks |
Re: Re(3): Mixing Mysql and Perlby exussum0 (Vicar) |
on Jan 10, 2004 at 18:47 UTC ( [id://320350]=note: print w/replies, xml ) | Need Help?? |
Yes, I took a look at it.
Your object attributes don't always coincide with your table columns. It's not always 1-1. And the pixie model may be great and all, but if you hook it up to a db, then you must care what it does for performance sake. A missing index could cause a world of trouble if pixie decided to pull back an object using the wrong method (verb, not object). If piexie doesn't care about how your db is laid out, then see above, it may not be using indicies correctly, or not doing thins in an efficient manner, ala selecting large groups of data (multiple rows etc..). If you haven't used pixie yourself, I'm not quite sure how you can be so confident in it, regardless of who wrote it, since the best programmers in the world can still make the strangest mistakes. You prolly won't believe me anyway, here is a document from IBM on pixie and it's drawbacks as well as its pluses. As you see, for small projects, it prolly does wonders, but for a huge project, I doubt I would look at it all that quickly, since custom SQL is usually better than that generated by a general api. -s Play that funky music white boy..
In Section
Seekers of Perl Wisdom
|
|