I’m evaluating Yii for a project I’m working on. I’ve used other frameworks such as CodeIgniter for this type of thing, but can’t seem to get my head wrapped around how to do this in Yii.
The data in the project has a cascading structure:
Organizations have many locations.
Locations have many employees.
Employees have many notes.
Here’s how I would like to have things work:
The first page would be a listing of Organizations
After selecting an organization, the user would go to the detail view of the organization. Below the detail for the organization would be a searchable list of locations.
The user could then select a location, go to the detail view of the location and find a searchable list of the employees at the bottom.
The use could select an employee, go to the detail view, and find the employee detail and a list of notes on that form. Selecting a note would simply go to a detail view for the note.
It seems that this should be a simple thing to do, but I’ve not been able to get it to work. Parent / Child relationships where Parent Detail and Child List should be pretty common - Sales Orders, Invoices, Contacts, Inventory.
Any help will be greatly appreciated. I’ve been really impressed with Yii, and hope this does not become a showstopper. I’ve attached a document that better illustrates what I want.
Thanks in advance!