Hi guys,
After looking at wendy’s post I did a search in google and came across this link:
http://wiki.cc/php/Object-relational_mapping
It’s a list of DB ORM solutions that might be worth looking at.
I for one like EZPDO EZOQL (Object Query Language)
-
MODX Staff
- 12,272 Posts
You know... here’s a thought we might consider.
Why don’t we put the full blown Propel Abstracted stuff over to the Tattoo site, and really focus it’s capabilities on more advanced usage and really take advantage of some of PHP 5’s capabilities. Sorta a high-end developer’s developer solution with a more "enterprise" angle. I think we’ll be in beta for at least 6 months, anyway.
We can continue the MODx track as is for PHP4, as I really feel there’s a lot of life left in it, and we can port things over as appropriate both ways.
On the MODx side, I’d like to see though is a pretty quick addition of the recursive parser after the first of the year, along with a slightly cleaned up manager (strip out many tables and the webfx stuff with consolidated stylesheets), cleaned up API and maybe even a "proper" event handling model that Victor has hinted at repeatedly. This would essentially continue to be the main distribution until such time as the Propel-powered version is faster and PHP5 becomes pervasive.
Rough thoughts, but what do you guys think?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
MODX Staff
- 12,272 Posts
Easy PDO sure does sound interesting as well due to the fact that it supports out of the box table prefixes, and sounds like it might be easier to get up and running with... but that’s about the extent of my ability to evaluate it! lol
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
From what I’m seeing is that most of the ORM guys are moving into PHP5. Jason has said that he will continue to port Propel’s php5 improvements to the php4 version.
I for one would like to say that ORM is something that we will need to move to in the future but I’m not sure it’s the right time as yet. More is being done everyday to improve on these systems but from what I’ve seen of EZPDO I think it’s also a cool ORM framework.
Jason is currently working on getting Propel into MODx ASAP but I’m not sure how long it will take the rest of us to get up to speed with the OO db stuff.
I think I would have to agree with Ryan on this. ORM seems to be the way to go for PHP5 versions of MODx. It’s much faster to get our heads wrapped around the current API along with the other changes that needs to be made to the system rather than having to restructure our minds for OO db.
Running both MODx MySQL (Public release) and MODx Propel (Private release) systems side-by-side will enable us to gradually move to Propel or some other ORM framework.
Adam,
currently I think there are more persons using php4 than there are persons using only php5. The PHP5 version’s main focus should be to just simply provide alternate DB abstraction via the ORM framework. There might be a few other tweaks here and there but that should not be the focus until we can say that we only require at least 5.1. Remember that the php5 version will not be public.
Here’s an atricle that compares three ORMs (Propel,EZPDO and DB DATA Object)
http://phparch.com/sample.php?mid=59
Here’s EZPDO’s response:
http://www.ezpdo.net/blog/?p=859.
-
MODX Staff
- 12,272 Posts
I don’t see any reason not to have at least a semi-public PHP5 release. It would quite probably draw some more really good devs to the project and demonstrate better what the future has in store... It might be similar to the Charter Members program at Simple Machines in fact ... hmmmm....
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me