Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread Chris Murray
beberlei wrote: > > The approach you are describing is misusing Zend Entity as a data access > layer only, however its purpose is really managing of object identities. > Although its possible to dynamically set a different metadata model based > on properties its really not recommended at all an

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread keith Pope
2009/9/10 Benjamin Eberlei : > > Hello Keith, > > yes there are plans, however i haven't found somebody for this task yet :-) > Do you have time? :-) From the Zend_Db_Mapper_SqlQuery and SqlQueryBuilder > objects > you can already see that building your own query object is not too complex > and can

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread Benjamin Eberlei
Hello Keith, yes there are plans, however i haven't found somebody for this task yet :-) Do you have time? :-) From the Zend_Db_Mapper_SqlQuery and SqlQueryBuilder objects you can already see that building your own query object is not too complex and can be done as a standalone task. greetings,

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread keith Pope
2009/9/10 Benjamin Eberlei : > > The approach you are describing is misusing Zend Entity as a data access > layer > only, however its purpose is really managing of object identities. Although > its possible to dynamically set a different metadata model based on > properties > its really not recomme

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread Benjamin Eberlei
The approach you are describing is misusing Zend Entity as a data access layer only, however its purpose is really managing of object identities. Although its possible to dynamically set a different metadata model based on properties its really not recommended at all and there will be no support w

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-09 Thread Chris Murray
Chris Murray wrote: > > So I need to be able to dynamically set the property list in Zend_Entity > Another possible approach would be to create my own def object generator. I already have my definitions in my model and they are used for other purposes, such as form element configs, formatting,

[fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-09 Thread Chris Murray
Zend_Entity looks promising so I dove into it today and was trying to figure out how to map my existing model-driven ORM architecture into it. My experimental goal is to use Entity as the (fatter) bottom layer of my base "Model" class and replace my abstracted CRUD methods, which currently call Db