ORM implementation

Discussion about the PHP backend based on Zend-Framework

ORM implementation

Postby ivanmar » Fri Mar 12, 2010 12:32 am

First I want to thank you all for a great project and code.
This is actualy database question. I have spent a lot of time in research of technology compatibile with php in order to find best dev env for our planed erp app. It happened that you implemented almost all my research resaults. My question is:
Can this project benefits on implementation of ORM (Doctrine)? Have you ever think of it and can you share your findings in short.
I think it has a lot of benefits (separate logic, other databases, optimised query...)
ivanmar
 
Posts: 3
Joined: Fri Mar 12, 2010 12:10 am

Re: ORM implementation

Postby nelius » Mon Mar 15, 2010 4:55 pm

Short answer: Yes!

When we started, there was only active-record stuff in Zend Framework, which is more than unsuitible for us. At this point we thought we might implement some kind of ORM and Shema Processor to contribute this to ZF.

In the menatime ZF chose Doctrine as faforite ORM. Unfortunally we havn't found time to evaluate and maybe migrate to this.

If you could help in this process, it would be great!
Cornelius Weiss
Tine 2.0 Lead Developer

Visit http://www.tine20.com for commercial support / consulting / development.
Visit http://www.officespot20.com for Tine 2.0 hosting.
User avatar
nelius
Tine 2.0 Core Developer
 
Posts: 1150
Joined: Tue Nov 06, 2007 7:25 pm

Re: ORM implementation

Postby ivanmar » Thu Mar 18, 2010 1:00 am

Thanks for the answer.
I will need some time and will post progress results on this forum.
Probably it would be good idea to wait for Doctrine 2 (stable April 2010)or al least beta1
ivanmar
 
Posts: 3
Joined: Fri Mar 12, 2010 12:10 am

Re: ORM implementation

Postby lkneschke » Thu Mar 18, 2010 9:07 am

Just a short hint. Zend Framework 2.0 will probably have Doctrine 2.0 support too.
Lars Kneschke
Head of Tine 2.0

Visit tine20.com for commercial support / consulting / development.
Visit tine20.net for Tine 2.0 hosting.
User avatar
lkneschke
Tine 2.0 Core Developer
 
Posts: 974
Joined: Tue Nov 06, 2007 7:31 pm
Location: Hamburg, Germany

Re: ORM implementation

Postby nelius » Fri Mar 19, 2010 10:07 am

Definitly! It would make no sense to go with 1.x version.

One goal for us with doctrine 2 would be to describe all our models in a DDD approach e.g. by xml. With this generic descriptions we could autogenerate most of our backends for server AND client.

At the moment we our model definintions have nothing to do with our schema definitions. This is hard on server side, but makes offline support in the client even harder.

Once we describe our schemas with DDD in Doctrine, we can directly start (or find existing) ORM for javascirpt based on the same definitions

cu
Cornelius
Cornelius Weiss
Tine 2.0 Lead Developer

Visit http://www.tine20.com for commercial support / consulting / development.
Visit http://www.officespot20.com for Tine 2.0 hosting.
User avatar
nelius
Tine 2.0 Core Developer
 
Posts: 1150
Joined: Tue Nov 06, 2007 7:25 pm

Re: ORM implementation

Postby dupko » Tue Jul 17, 2012 1:34 pm

lkneschke wrote:Just a short hint. Zend Framework 2.0 will probably have Doctrine 2.0 support too.


Thats good :shock:
dupko
 
Posts: 1
Joined: Tue Jul 17, 2012 1:33 pm


Return to PHP backend discussion

Who is online

Users browsing this forum: No registered users and 1 guest

Startseite
NewsDemoDownloadForumWikiBlog
Support
Support at first hand!
If the forum does not help anymore ... Professional support is available directly from our Tine2.0 core Developers.

more »