Tag: Model

 
Your first relation between to models

English Thomas Layh on Mar 13th 2012

Event Model

It is time to connect our event to an location. Like you already expected, we can do this by using some annotations from Doctrine2 that are available in FLOW3. I did not yet dig that deep that I now all the annotations for Doctrine2 and I am not sure if all annotations are available. But for the beginning we don't need very much.

 
Adding a second Model and Repository

English Thomas Layh on Mar 13th 2012

Repository Model

Normally an event has some location where the event takes place. So we create a new model called Location and the corresponding repository called LocationRepository.

 
Your first model and repository

English Thomas Layh on Mar 13th 2012

Repository Model Kickstart

Just finished to write down the second part of the tutorial. After you finished this you should be able to build a real simple model and repository for your first FLOW3 package.

Top 10 tags