CSC/ECE 517 Fall 2011/ch4 4e ar: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''Lecture 10'''
<big>'''Lecture 10'''</big>
1. Model
 
2. View
==Model, View and Controller==
3. Controller
===Model===
4. How to create a Rails project (Cookbook) in ruby mine
===View===
5. Scaffolding - makes a model, controller, tests -- functional unit test for controller
===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:18, 18 October 2011

Lecture 10

Model, View and Controller

Model

View

Controller