silverstripe-framework/docs/en/tutorials/_images/tutorial5_mentor_students.jpg
Ingo Schommer 0c0bcc9aec NEW Rewritten tutorial 5 to GridField API
- Removed redundant "module" relationship, has_one is already present in Student->Project relationship
- Simplified FirstName/LastName to Name on Student and Mentor models, makes for less sample code
- Removed detail views for Student and Mentor, as they don't add much educational value
- Fixed indentation in code examples
- Using GridField relation editor, listing students on relation instead of holder
- Added optional exercises for the readers
- Added conclusion, explaining when to use Page vs. DataObject
- Updated sample data to GSOC '12 rather than '07, anonymized and randomised a bit
- Thanks to Naomi Guyer for contributing!
2012-08-07 21:09:40 +02:00

34 KiB