Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryichk/ruby_no_rails
Web Application in Ruby without Rails.
https://github.com/ryichk/ruby_no_rails
Last synced: 29 days ago
JSON representation
Web Application in Ruby without Rails.
- Host: GitHub
- URL: https://github.com/ryichk/ruby_no_rails
- Owner: ryichk
- Created: 2023-09-21T14:07:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-29T19:19:57.000Z (about 1 year ago)
- Last Synced: 2023-09-30T00:19:50.750Z (about 1 year ago)
- Language: Ruby
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ruby no Rails
## Description
We'll build a simple but complete app in plain Ruby without Rails, to get a deeper understanding and appreciation of everything Rails does for us.
## Flow
1. [Setup a Project Directory](https://www.akshaykhot.com/building-web-application-without-rails/#setup-a-project-directory) with Bundler.
2. [Install Puma Application Server](https://www.akshaykhot.com/building-web-application-without-rails/#install-puma-application-server) to listen for incoming HTTP requests.
3. [Use the Rack Gem](https://www.akshaykhot.com/building-web-application-without-rails/#install-the-rack-gem) to provide the glue between application servers and our application.
4. [Create a Web Application](https://www.akshaykhot.com/building-web-application-without-rails/#create-a-web-application) that follows the Rack specification.
5. [Make Puma Talk to Our Application with a Rackup File](https://www.akshaykhot.com/building-web-application-without-rails/#make-puma-talk-to-our-application-with-a-rackup-file)
6. [Run the Application](https://www.akshaykhot.com/building-web-application-without-rails/#run-the-application)
7. [Use the Rack Reloader Middleware to Reload Application](https://www.akshaykhot.com/building-web-application-without-rails/#use-the-rack-reloader-middleware-to-reload-application) whenever the code changes.
8. [Serve Static Files and Render Dynamic Views](https://www.akshaykhot.com/render-dynamic-views-using-erb/)
9. [Build Your Own Router in Ruby](https://www.akshaykhot.com/build-your-own-router-in-ruby/)
10. [Implementing Rails-like Controllers in a No-Rails App](https://www.akshaykhot.com/implement-rails-controllers-in-ruby/)
11. [How to Implement Rails-like Views in Ruby](https://www.akshaykhot.com/how-to-implement-rails-views-in-ruby/)
12. [Logging in Ruby: (Almost) Everything You Need to Know](https://www.akshaykhot.com/logging-in-ruby/)
13. [Using Zeitwerk Outside Rails](https://www.akshaykhot.com/using-zeitwerk-outside-rails/)
14. [Rails Middleware: (Almost) Everything You Need to Know](https://www.akshaykhot.com/rails-middleware-what-why-and-how/)
## Reference
[Ruby no Rails - Akshay's Blog](https://www.akshaykhot.com/tag/ruby-no-rails/)