Re: [fw-general] Doctrine - default directory structure

2009-12-03 Thread Juozas
problem: how to generate modular models. From what I've seen, proposal for Zf is addressing this, but for now I just do it by hand - faster and easier than in other ways. However, by doing this you loose some functions as it seems that Doctrine is more for one-directory structure. -- Juozas

Re: [fw-general] Discontinuing Zend Entity in favour of Doctrine integration

2009-10-30 Thread Juozas
libraries with good developers teams on both sides also. I have been using it with zf for quite a long time and tried a lot of different components with it (Models, Forms, Services, Paginator, Auth+Acl, etc.) so I'm up to contribute to this proposal when it becomes available. -- Juozas Kaziukėnas

Re: [fw-general] Discontinuing Zend Entity in favour of Doctrine integration

2009-10-30 Thread Juozas
for connection, validation on save and dql callbacks. P.S. It expects Doctrine to be in library/Doctrine/Doctrine.php. It is like that because i use svn:externals to update doctrine and don't want to have it straight in my library folder -- Juozas Kaziukėnas (juo...@juokaz.com) Aš internete - JuoKaz (http

Re: [fw-general] Autoloading Doctrine models/base models

2009-10-02 Thread Juozas
of crazy work load didn't managed to do that, so if you want to see actual code - drop me an email and I will send it to you. Have a nice day, Juozas On Thu, Oct 1, 2009 at 10:36 PM, Dodger glen...@gmail.com wrote: Hi Matthew, Yes, I read that info in your blog. Unfortunately, my requirements

Re: [fw-general] url($urlOptions, $name, $reset) - what is $name ?

2009-09-17 Thread Juozas
Name is a route name http://framework.zend.com/manual/en/zend.controller.router.html -- Juozas Kaziukėnas (juo...@juokaz.com) Aš internete - JuoKaz (http://www.juokaz.com) On Thu, Sep 17, 2009 at 5:13 PM, aoohralex aoohra...@gmail.com wrote: url($urlOptions, $name, $reset) - what is $name

Re: [fw-general] Getting the id generated after insert

2009-07-18 Thread Juozas
Hi, how about lastInsertId()? http://framework.zend.com/manual/en/zend.db.html $db-insert('bugs', $data); // return the last value generated by an auto-increment column $id = $db-lastInsertId(); -- Juozas Kaziukėnas (juo...@juokaz.com) Aš internete - JuoKaz (http://www.juokaz.com) On Sat