CSC/ECE 517 Fall 2011/ch4 4e ar
Lecture 10 1. Model 2. View 3. Controller 4. How to create a Rails project (Cookbook) in ruby mine 5. Scaffolding - makes a model, controller, tests -- functional unit test for controller 4. Three things to do 6. database migration 7. Benefits of ruby talking to the db - programmer need not worry about underlying implementation - mysql, posthresql, oracle; provide portability. Provides version control in databases. 8. Add relationship in models 9. Create templates for views - layouts 10. Persistence - ORM Testing