/growth_app

An exercise in Symfony

Primary LanguagePHP

Growth app development

Progress

  1. Login page and logout
  • Mock validation
  • Store data in session
    • username, full name, email
  • Logout
  1. Welcome page
  • general page template with twig
    • page name, User's full name, Logout option
  1. Data API
  • Check access to endpoint (session?!)
  • Data loading endpoint
  • Data storing endpoint
  1. New product page form and validation
  • Front end validation? HTML5 right?
  • POST form to backend (ajax!)
  • Show request result
  • Clear button
  1. Sales page (front end or backend?):
  • load json through API
  • put stuff in the table (front end library?)
  • calculate total sales value (Javascript)
  • data sorting (library?)

Research

  • Using database (not required)
  • Using bin/console
  • Controllers and routes
    • Annotation routes
  • Templating
    • Using App global variable
    • Including templates
  • Session
  • Flash messages
  • Access control
  • Forms
    • Ajax forms
  • Back end validation
  • Using Bootstrap
    • Get Bootstrap locally
  • Front end library for table
  • Check out API Platform
  • Deployment

Notes

Controllers

  • LoginController
  • WelcomeController
  • DataController
  • NewProductController
  • SalesController