Skip to content

This package contains wrapper classes that make Doctrine ORM easy to use in Mouf

License

Notifications You must be signed in to change notification settings

thecodingmachine/database.doctrine-orm-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doctrine ORM wrapper classes for Mouf

This package contains a single class that makes Doctrine/ORM easily usable in Mouf.

It provides an installer that creates an instance of EntityManager.

The package also feature a special UI that will help you:

  • install & edit interfaces to help the user defining the main properties of the entityManager instance.
  • automated DB Schema generation
  • DAO (repository) generation that produce helpers for performing base queries

These steps are triggered during the install process, but also when lanching the configuration interface from the entityManager instance dedicated button :

Configure the entityManager

Finally, you will be able to update your DB Schema at all time using the menu entry in DB >> Doctrine >> Generate Schema and DAOs:

Configure the enttityManager

Approach: Doctrine allows multiple strategies to operate from DB Schema to it's Entities. In this package, we made the choice to work from Model down to DB Schema : you just define your entities, then use the entityManager and associated schemaTool in order to create / update your schema.

For more information, please read the next steps:

About

This package contains wrapper classes that make Doctrine ORM easy to use in Mouf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages