/rails_lite

Build your own Rails web application framework

Primary LanguageRuby

Rails Lite

Build some of the basic functionalities of Rails web framework

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
  • Know how ActiveRecord Lite works
  • Know how the Flash and Flash.now work
  • Be able to explain the Rack Middleware chain
  • Know how Rack Middleware can catch server errors and display error pages
  • Be able to explain CSRF protection and how it fits into the ControllerBase class
  • Be able to incorporate ActiveRecord Lite into your Rails Lite