Blockchain Nanodegree 预修知识之二:Full Stack Foundations (4)

Lesson 4: Iterative Development

Iterative Development

Three ways of development:

  1. dive into it, write as much as possible
  2. code in pieces
  3. 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

Blockchain Nanodegree 预修知识之二:Full Stack Foundations (4)

Blockchain Nanodegree 预修知识之二:Full Stack Foundations (4)

Blockchain Nanodegree 预修知识之二:Full Stack Foundations (4)

Adding Routes

Blockchain Nanodegree 预修知识之二:Full Stack Foundations (4)

Adding Templates

Blockchain Nanodegree 预修知识之二:Full Stack Foundations (4)

CRUD Functionality

Blockchain Nanodegree 预修知识之二:Full Stack Foundations (4)

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