Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anastassia-b/rails-lite

creating my own basic version of ruby on rails
https://github.com/anastassia-b/rails-lite

Last synced: 18 days ago
JSON representation

creating my own basic version of ruby on rails

Awesome Lists containing this project

README

        

# 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
1. Rack Middleware
2. ControllerBase Class
3. Adding template rendering
4. Adding the session
5. Routing
6. Integration, ActiveRecord Lite
7. Flash
8. Rack Middleware - Exceptions
9. Rack Middleware - Static Assets
10. CSRF Protection