RubyGems Navigation menu

kaffe 0.0.4

# Kaffe Framework This is a minimalistic webframework inspired by sinatra and rails. ## Basic usage The idea is to use be able to create modular applications and forward requests between them. class Blog < Kaffe::Base use Rack::CommonLogger get '/?' do "Hello From Blog" end end class Admin < Kaffe::Base get '/login' do ... Login logics ... end error 400..500 do |code, message| .. show pretty error message .. end end class MyApp < Kaffe::Base route '/blog', Blog route '/admin', Admin end run MyApp ## API overview

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 0.0.4 - March 08, 2017 (10 ko)
Voir toutes les versions (2)

Dépendances de Runtime (2):

rack ~> 1.5
tilt ~> 1.4

Dépendances de Development (3):

bundler ~> 1.14
rake ~> 10.0
rspec ~> 3.0

Propriétaires:

Auteurs:

  • Patrik Pettersson

Total de contrôle SHA 256:

20a6d37aa30291365678acf8caeb024880779183303753a04b4e5eaff219791a

Total de téléchargements 2 595

Pour cette version 2 585

License:

MIT

Version de Ruby requise: >= 0

Liens: