[UPHPU] Feedback on my new open source project: Outlet
Alvaro Carrasco
alvaro at epliant.com
Mon May 5 11:08:54 MDT 2008
Roberto Mello wrote:
> On Fri, May 2, 2008 at 9:52 PM, Alvaro Carrasco <alvaro at epliant.com> wrote:
>
>> If you're wondering: Why another ORM tool, when we have Propel, Doctrine,
>> EZPDO, etc? Here are some of my thoughts:
>> http://outlet.knowledgehead.com/wiki/index.php/Motivation
>>
>
> I have wished for a PHP mapper with a similar vision to Python's
> incredible SQLalchemy (http://www.sqlalchemy.org/)
>
> I'm not very familiar with the PHP offerings, except for Propel, which
> is used at my job. Besides having to pre-generate the classes from XMl
> that is derived from the database, my biggest problem with Propel is
> that it generates pretty horrible SQL a good chunk of the time.
>
> It's nowhere near as flexible and powerful as SQLalchemy, but maybe
> that's because Python's dynamic features are stronger than PHP's
> (everything is an object that can be passed around, including classes,
> functions, etc.)
>
> Roberto
>
>
SQLalchemy is probably the nicest sql abstraction library I have seen.
If I was using python, I would probably be using it. The same level of
abstraction would be more difficult (probably a lot more verbose) to
achieve in php because of the lack of operator overloading.
Outlet is more basic in the sense that it perform the basic mapping
functions that SQLalchemy performs, but not the SQL statements
abstraction. I think that is a good compromise for PHP.
Alvaro
More information about the UPHPU
mailing list