Lesson 4: Iterative Development
Iterative Development
Three ways of development:
- dive into it, write as much as possible
- code in pieces
- start out simple and layer on complexity
Agile Development: always have a working prototype
Checklist
- Mock-ups
- Routing
- Templates and Forms
- CRUD Functionality
- API Endpoints
- Styling and Message Flashing
Mockups



Adding Routes

Adding Templates

CRUD Functionality

API Endpoints
/restaurants/JSON
/restaurants/restaurant_id/menu/JSON
/restaurants/restaurant_id/menu/menu_id/JSON
- jsonify
- serialize
Styling
/static (including javascript, images, css)
Message flashing:
- New Restaurant Created
- Restaurant Successfully Edited
- Restaurant Successfully Deleted
- New Menu Item created
- Menu Item Successfully edited
- Menu Item successfully deleted

被折叠的 条评论
为什么被折叠?



