Hi.

I just recently uploaded my demo-code here:
http://github.com/juokaz/php-examples/tree/master/doctrine-application-resource/,
you might want to check it out.

Usually I have fixtures, migrations and stuff like that in config, but you
can easily move it to /data folder as well.

The biggest 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 Kaziukėnas ([email protected])
Aš internete - JuoKaz (http://www.juokaz.com)


On Thu, Dec 3, 2009 at 9:54 PM, takeshin <[email protected]> wrote:

>
>
>
> Jon Lebensold wrote:
> >
> > takeshin, I believe the sql/ folder is supposed to house SQL that would
> > run
> > via the Doctrine CLI and this is exactly the same approach that you would
> > use with the YAML files.
> >
>
> I'd rather not put anything that requires write access to the /configs/
> I would store yaml, sql, migration files in /data/ directory.
>
> Anyone here using doctrine-cli?
>
> I hope I'll post working example of doctrine application resource,
> but I just have to make sure about the recommended/approved by community
> app
> structure.
>
> --
> regards
> takeshin
>
> --
> View this message in context:
> http://n4.nabble.com/Doctrine-default-directory-structure-tp947943p948031.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>

Reply via email to