rodauth-demo-rails
Tilt
rodauth-demo-rails | Tilt | |
---|---|---|
1 | 3 | |
6 | 1,943 | |
- | - | |
10.0 | 0.0 | |
about 8 years ago | 4 months ago | |
Ruby | Ruby | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rodauth-demo-rails
-
What It Took to Build a Rails Integration for Rodauth
Even though Rodauth is built on top of Roda and Sequel, it can work as a Rack middleware in any Ruby web framework. In the beginning, there was a demo app showing how Rodauth can be used in Rails, which leveraged the (now discontinued) roda-rails gem. However, the integration felt fairly raw, and definitely lacked the ergonomics Rails developers are used to.
Tilt
-
What It Took to Build a Rails Integration for Rodauth
The built-in view templates use Tilt's interpolated string engine, which avoids ERB dependency, but requires work to adapt for Rails. So, rodauth-rails' views generator imports already converted ERB view templates that use familiar Rails' form helpers.
-
How to use an Via tool for Rails
If you want people using Rails to use this, turn it into a gem, and use Tilt to make it an actual template language. Generating ERB and saving it to disk like that is a terrible plan for a Rails app. Good idea for a static site generator, like Jekyll, but absolutely a terrible idea for Rails.
-
16 Best Ruby Frameworks For Web Development
Cuba takes help from a lot of other technologies to bring the best of everything. For example, the responses in Cuba are the optimized version of the Rack responses. The templates are integrated via Tilt and testing via Cutest and Capybara.
What are some alternatives?
rodauth-model - Password attribute and associations for Rodauth account model
Mustache - Logic-less Ruby templates.
Rodauth - Ruby's Most Advanced Authentication Framework
Slim - Slim is a template language whose goal is to reduce the syntax to the essential parts without becoming cryptic.
rodauth-oauth - (Mirror) Roda OAuth and OpenID provider plugin
Hamlit - High Performance Haml Implementation
roda-rails - Integration for using Roda as Rack middleware in a Rails app
Haml - HTML Abstraction Markup Language - A Markup Haiku
rodauth-demo-rails - Example Rails app that uses Rodauth for authentication
Arbre - An Object Oriented DOM Tree in Ruby
rodauth-rails - Rails integration for Rodauth authentication framework
Liquid - Liquid markup language. Safe, customer facing template language for flexible web apps.