CSC/ECE 517 Fall 2011/ch4 4e ar: Difference between revisions
Jump to navigation
Jump to search
(Created page with "'''Lecture 10'''") |
No edit summary |
||
Line 1: | Line 1: | ||
'''Lecture 10''' | '''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 |
Revision as of 23:17, 18 October 2011
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