Alone is Application Framework for Embedded Systems.
- Ruby 2.7 or later.
A "Hello World" program using CGI.
main.rb
require 'al_template'
class HelloController < AlController
def action_index()
@my_message = "Hello world."
AlTemplate.run("./index.rhtml")
end
endindex.rhtml
<%= header_section %>
<title>Test</title>
<%= body_section %>
<p><%=h @my_message %></p>
<%= footer_section %>CGI module
- A web application framework using CGI protocol.
Graph module
- A feature to display charts such as line and bar graphs.
Database module
- A wrapper layer for relational databases (RDB).
Worker module
- A framework for developing background daemon services.
- Web page: https://www.ruby-alone.org
- Documents: https://www.ruby-alone.org/doc/
This software is distributed under BSD license.
