ORM Layer support for Extensions

47 views
Skip to first unread message

Daniel Peraza

unread,
Jun 10, 2013, 7:22:59 AM6/10/13
to joomla-...@googlegroups.com
Hi everybody. Just want to know if the team is planning to include support for ORM libraries such as Doctrine right within the Joomla Platform. Also, I think PHP >= 5.3 is finally bringing useful tools it should have from the very beginning such as namespacing and functional programming, I'm looking forward to use native namespaces and an improved JLoader version to replace jimport().

Herman Peeren

unread,
Jun 10, 2013, 8:00:46 AM6/10/13
to joomla-...@googlegroups.com
On Monday, 10 June 2013 13:22:59 UTC+2, Daniel Peraza wrote:
Hi everybody. Just want to know if the team is planning to include support for ORM libraries such as Doctrine right within the Joomla Platform. Also, I think PHP >= 5.3 is finally bringing useful tools it should have from the very beginning such as namespacing and functional programming, I'm looking forward to use native namespaces and an improved JLoader version to replace jimport().

I'm working with Doctrine in Joomla and want to make it more generally available. Did a presentation about it at J and Beyond. See http://jooctrine.org/ But it is not on a official Joomla roadmap (yet). In your question you ask about if "the team" is planning something.... but there is no core team; in  fact we all together are the team, so if you, just like me, would like to see more use of Doctrine ORM in Joomla, then please let's get in touch (her...@yepr.nl) and join forces. Looking forward to your contributions.

Another part of your question is about the use of namespaces and autoloading. That part is being worked on: the Framework, at the moment separated from the CMS, is now (being) reworked to use namespaces in smaller packages that are available via Composer. Look at the other mailing lists, especially https://groups.google.com/forum/?fromgroups#!forum/joomla-dev-framework

elin

unread,
Jun 10, 2013, 12:06:34 PM6/10/13
to joomla-...@googlegroups.com
jimport() is deprecated and if you or anyone want to send any code quality pull requests to help with removal that would be great. If you have followed the master commits you know  that we have changed JLoader to support LIFO and potentially name spacing.

If you have code to submit to support ORMs I would really encourage you to submit, most likely to the framework first since it would be useful beyond the CMS.

I definitely encourage people to watch the video of Herman's talk to get a better idea about this.

Elin

George Wilson

unread,
Jun 11, 2013, 3:53:47 AM6/11/13
to joomla-...@googlegroups.com
jimport isn't marked as deprecated?? https://github.com/joomla/joomla-cms/blob/master/libraries/loader.php#L503 a bit off topic.

Kind Regards,
George

Júlio Pontes

unread,
Jun 11, 2013, 8:08:31 AM6/11/13
to Joomla! CMS Development
I've created this, but not get any feedback.

https://github.com/juliopontes/joomla-orm

Its cool, have few diff concepts. I like it.


--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Herman Peeren

unread,
Jun 11, 2013, 8:33:22 AM6/11/13
to joomla-...@googlegroups.com
That is another use of the word ORM: Object Role Modeling. Here we were talking about Object Relational Mapping.

Object Role Modeling: http://www.orm.net/
It also is a layer between the database and the objects, but more meant to make querying more easy for non-technical users. It queries a conceptual datamodel (which is a datamodel in non-technical terms).

An Object Relational Mapping is more about mapping the objects in an OOP paradigm to tables in a relational database paradigm. With Object Relational Mapping you can also query the objects (instead of the tables) and that has some similarities to Object Role Modeling. But essentially we are talking about two different things.

- Herman
Reply all
Reply to author
Forward
0 new messages