All Projects β†’ AlexWayfer β†’ flame

AlexWayfer / flame

Licence: MIT License
Ruby web-framework

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to flame

Goyave
🍐 Elegant Golang REST API Framework
Stars: ✭ 811 (+1786.05%)
Mutual labels:  backend, web-framework
mangooio
An Intuitive, Lightweight, High Performance Full Stack Java Web Framework.
Stars: ✭ 52 (+20.93%)
Mutual labels:  backend, web-framework
multi-projects-architecture-with-Ktor
A Ktor real world example built on multi-projects architecture
Stars: ✭ 29 (-32.56%)
Mutual labels:  backend, web-framework
tinyhttp
πŸ¦• Deno port of tinyhttp, 0-legacy, tiny & fast web framework
Stars: ✭ 84 (+95.35%)
Mutual labels:  backend, web-framework
mojo.js
πŸ¦„ The Mojolicious real-time web framework for Node.js
Stars: ✭ 145 (+237.21%)
Mutual labels:  backend, web-framework
scaling-nodejs
πŸ“ˆ Scaling Node.js on each X, Y and Z axis using Node.js Native Modules, PM2, AWS , Load Balancers, AutoScaling, Nginx, AWS Cloudfront
Stars: ✭ 73 (+69.77%)
Mutual labels:  backend
flute
The Application Framework Built for Powerful, Secure features and add-ons
Stars: ✭ 14 (-67.44%)
Mutual labels:  web-framework
Events-based-organizational-website
The official codebase for college-based (event managing) organizations. FOUR-LEVEL Authorization system and scalable.
Stars: ✭ 14 (-67.44%)
Mutual labels:  backend
Swift-3-Functional-Programming
Code repository for Swift 3 Functional Programming, published by Packt
Stars: ✭ 78 (+81.4%)
Mutual labels:  backend
Bukdu.jl
Bukdu 🌌 is a web development framework for Julia
Stars: ✭ 125 (+190.7%)
Mutual labels:  web-framework
roll
Roll β€” backend for Clojure
Stars: ✭ 73 (+69.77%)
Mutual labels:  backend
andresrodriguez55.github.io
Personal blog and portfolio with administration panel, notification system and comment system.
Stars: ✭ 18 (-58.14%)
Mutual labels:  backend
nardis
A small web framework based on ASGI
Stars: ✭ 14 (-67.44%)
Mutual labels:  web-framework
ConfTalks
⚠️ Development is currently on hold πŸŽ₯ An open source index of already recorded and scheduled conference talks to help you decide if you should go. Built for all developers πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»
Stars: ✭ 53 (+23.26%)
Mutual labels:  backend
maverick
Web API framework with a need for speed
Stars: ✭ 14 (-67.44%)
Mutual labels:  web-framework
bootstrap helper
Bootstrap Helper fΓΌr REDAXO 5
Stars: ✭ 22 (-48.84%)
Mutual labels:  backend
inspect
Source Code that Powers the CSGOFloat Inspect Link API
Stars: ✭ 220 (+411.63%)
Mutual labels:  backend
flaskbooks
A very light social network & RESTful API for sharing books using flask!
Stars: ✭ 19 (-55.81%)
Mutual labels:  backend
geronimo-config
Apache Geronimo Config
Stars: ✭ 15 (-65.12%)
Mutual labels:  web-framework
newrelic-sidekiq-metrics
Implements recording Sidekiq stats (like queue or retry size) to New Relic metrics
Stars: ✭ 15 (-65.12%)
Mutual labels:  backend

Flame Logo

Flame

Cirrus CI Codecov Code Climate Depfu Docs Gem (including prereleases) MIT license

Flame is a small Ruby web framework, built on Rack, inspired by Gin (which follows class-controllers style), designed as a replacement Sinatra or maybe even Rails.

Why?

I didn't like class methods, especially for controller's hooks β€” OOP is prettier without it. And I found a way to implement controller's hooks without using class methods, but with the inheritance (including the including of modules). Moreover, with class methods an insufficiently obvious order of hooks (especially with inheritance) and complicated implementation of conditions are obtained. In this framework everything is Ruby-native as it can be.

Installation

Using the built-in gem:

$ gem install flame

or with Bundler:

# Gemfile
gem 'flame'

Usage

The simplest example:

# index_controller.rb

class IndexController < Flame::Controller
  def index
    view :index # or just `view`, Symbol as method-name by default
  end

  def hello_world
    "Hello World!"
  end

  def goodbye
    "Goodbye World!"
  end
end

# app.rb

class App < Flame::Application
  mount IndexController do
    # all methods will be mounted automatically, it's just an example of refinement
    get '/hello', :hello_world
  end
end

# config.ru

require_relative './index_controller'

require_relative './app'

run App.new # or `run App`

More at Wiki.

Benchmark

The last benchmark can be viewed here.

Development

After checking out the repo, run bundle install to install dependencies.

Then, run toys rspec to run the tests.

To install this gem onto your local machine, run toys gem install.

To release a new version, run toys gem release %version%. See how it works here.

Contributing

Bug reports and pull requests are welcome on GitHub.

License

The gem is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].