[Phpwm] Object Relational Mapping Frameworks
david at codepoets.co.uk
Tue Feb 24 16:19:05 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Gavin Kimpson wrote:
> Hi Guys,
> I am looking at open source ORM frameworks to use with PHP - I know ORM
> have pro's and con's but it is something I would prefer to use in my own
> What ORM's do you guys use, and for what reasons do you think they
> perform better than other ORM's?
Propel - for - generates friendly methods - e.g.
$user->getBankAccount()->getName() etc; handles auto increment or custom
pkey fields etc. Pretty safe from SQL Injection.
- for - used by symfony
- for - v1.3 uses PDO and is therefore pretty quick
- for - you can define validators to apply to fields, so giving
you additional data validation checks
- against - memory usage
- against - xml file used to define database (this may be good or
bad depending on your PoV)
- against - deployment might be a pain, especially if you're
trying to get 3rd parties to install it.
[ david at codepoets dot co dot uk ]
[ http://www.codepoets.co.uk ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Phpwm