rails-lite
In this project, I implement some of the basic functionality of Rails.
Learning goals
- Know how the basics of the HTTP request-response cycle works
- Know how a server works at a basic level
- Be able to explain the functionality of the ControllerBase class
- Know how cookies are used by browsers and servers
- Be able to write a router that parses a URL and instantiates the appropriate controller
- Know how params get built out of the HTTP request's information
Phases
- Rack Middleware
- ControllerBase Class
- Adding template rendering
- Adding the session
- Routing
- Integration, ActiveRecord Lite
- Flash
- Rack Middleware - Exceptions
- Rack Middleware - Static Assets
- CSRF Protection