Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
lib
lux
overload
plugins
scripts
spec
tasks
README.md
boot.rb
console.rb
get.rb
loader.rb
lux.png

README.md

LUX - ruby web framework

Lux logo

  • rack based
  • explicit, avoid magic when possible

created by @dux in 2015

Request flows

  • config.ru calls boot.rb / require './config/application.rb'
  • similar to Phoenix calls Lux::Page calls router/controller (Lux::Controller.new.main) app/
  • router calls cells (Lux::Cell)
  • cells define rack response [status, headers, body]
  • rack render response

How to start

  • define Lux::Controller.new.main
  • use Cells to render templates
  • look at the example

Lux components

You can’t perform that action at this time.