Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/anastassia-b/rails-lite
- Owner: anastassia-b
- Created: 2017-06-27T03:59:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-30T07:10:59.000Z (over 7 years ago)
- Last Synced: 2024-11-06T00:13:39.840Z (about 2 months ago)
- Language: Ruby
- Size: 158 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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