Hi, got a bit of a best practice question here.

I have a vacancy model which represents jobs being advertised on the site.
When a user applies to a vacancy an application model is created for each
application to the job. Therefore a 1:M relationship between vacancies and
applications.

Should i represent this in my model directory structure, by having the
application model and db files nested within the vacancy model directory? ie

/application/models/vacancy/table.php
/application/models/vacancy/row.php
/application/models/vacancy/entity.php
/application/models/vacancy/application/table.php
/application/models/vacancy/application/row.php
/application/models/vacancy/application/entity.php


-- 
View this message in context: 
http://n4.nabble.com/should-directory-structure-indicate-model-relationship-tp1579414p1579414.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to