All Projects → padrino → Padrino Framework

padrino / Padrino Framework

Licence: mit
Padrino is a full-stack ruby framework built upon Sinatra.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Padrino Framework

PoW-Shield
Project dedicated to fight Layer 7 DDoS with proof of work, featuring an additional WAF. Completed with full set of features and containerized for rapid and lightweight deployment.
Stars: ✭ 99 (-97.01%)
Mutual labels:  waf
litewaf
Lightweight In-App Web Application Firewall for PHP
Stars: ✭ 32 (-99.03%)
Mutual labels:  waf
Fomalhaut
🚀 A Simple API Gateway for Building Security and Flexible Microservices.
Stars: ✭ 272 (-91.78%)
Mutual labels:  waf
waf4wordpress
WAF for WordPress 🔥 with 60+ security checks and weekly updates
Stars: ✭ 102 (-96.92%)
Mutual labels:  waf
vulture-base
Vulture 4 base system and bootstrap scripts
Stars: ✭ 33 (-99%)
Mutual labels:  waf
serverless-rack
Serverless plugin to deploy Ruby Rack applications (Sinatra/Rails/Padrino/Cuba etc.) and bundle gems
Stars: ✭ 58 (-98.25%)
Mutual labels:  padrino
releases-openstar-Enterprise
releases-openstar-Enterprise
Stars: ✭ 53 (-98.4%)
Mutual labels:  waf
Identywaf
Blind WAF identification tool
Stars: ✭ 291 (-91.21%)
Mutual labels:  waf
k8s-lemp
LEMP stack in a Kubernetes cluster
Stars: ✭ 74 (-97.76%)
Mutual labels:  waf
nginx-lua-waf
Nginx-Lua-WAF是一款基于Nginx的使用Lua语言开发的灵活高效的Web应用层防火墙
Stars: ✭ 58 (-98.25%)
Mutual labels:  waf
terraform-provider-incapsula
This package is a plugin for Terraform, and is designed to be used to auto-provision sites in Incapsula via Incapsula’s API from the terraform cli/yaml configurations.
Stars: ✭ 27 (-99.18%)
Mutual labels:  waf
ftw
Framework for Testing WAFs (FTW!)
Stars: ✭ 106 (-96.8%)
Mutual labels:  waf
EdgeAdmin
CDN & WAF集群管理系统。
Stars: ✭ 199 (-93.99%)
Mutual labels:  waf
nxtool-ng
Because life is too short to waste your time transforming naxsi logs to rules by hand
Stars: ✭ 40 (-98.79%)
Mutual labels:  waf
Cloudbunny
CloudBunny is a tool to capture the real IP of the server that uses a WAF as a proxy or protection. In this tool we used three search engines to search domain information: Shodan, Censys and Zoomeye.
Stars: ✭ 273 (-91.75%)
Mutual labels:  waf
roxy-wi
Web interface for managing Haproxy, Nginx, Apache and Keepalived servers
Stars: ✭ 1,109 (-66.5%)
Mutual labels:  waf
broom
A disk cleaning utility for developers.
Stars: ✭ 38 (-98.85%)
Mutual labels:  waf
Juggler
A system that may trick hackers. 一个也许能骗到黑客的系统。
Stars: ✭ 321 (-90.3%)
Mutual labels:  waf
Pagy
🏆 The Best Pagination Ruby Gem 🥇
Stars: ✭ 3,340 (+0.91%)
Mutual labels:  padrino
Azure-AKS-ApplicationGateway-WAF
No description or website provided.
Stars: ✭ 16 (-99.52%)
Mutual labels:  waf

Padrino

Padrino is the godfather of Sinatra. Follow us on www.padrinorb.com and on twitter @padrinorb. Join us on gitter

Build Status CodeClimate Maintainability score Code Triagers Badge

Preface

Padrino is a ruby framework built upon the excellent Sinatra Web Library. Sinatra is a DSL for creating simple web applications in Ruby quickly and with minimal effort. This framework tries to make it as fun and easy as possible to code more advanced web applications by building upon the Sinatra philosophies and foundations.

Introduction

Many people love that Sinatra is simple and lightweight but soon begin to miss the great deal of functionality provided by other web frameworks such as Django or Rails when building non-trivial applications.

Our goal with this framework is to adhere to the essence of Sinatra and at the same time create a standard library of tools, helpers and components that will make Sinatra suitable for increasingly complex applications.

Here is a brief overview of functionality provided by the Padrino framework:

Agnostic

Full support for many popular testing, templating, mocking, and data storage choices.

Generators

Create Padrino applications, models, controllers i.e: padrino-gen project.

Mountable

Unlike other ruby frameworks, principally designed for mounting multiple apps.

Routing

Full url named routes, named params, before/after filter support.

Tag Helpers

View helpers such as: tag, content_tag, input_tag.

Asset Helpers

View helpers such as: link_to, image_tag, javascript_include_tag.

Form Helpers

Builder support such as: form_tag, form_for, field_set_tag, text_field.

Text Helpers

Useful formatting like: time_ago_in_words, js_escape_html, sanitize_html.

Mailer

Fast and simple delivery support for sending emails (akin to ActionMailer).

Caching

Simple route and fragment caching to easily speed up your web requests.

Admin

Built-in Admin interface (like Django)

Logging

Provide a unified logger that can interact with your ORM or any library.

Reloading

Automatically reloads server code during development.

Localization

Full support of I18n language localization and can auto-set user's locale.

Keep in mind, developers are able to individually pull in these modular components into existing Sinatra applications or use them altogether for a full-stack Padrino application.

Installation

To install the padrino framework, simply grab the latest version from RubyGems:

$ gem install padrino

This will install the necessary padrino gems to get you started. Now you are ready to use this gem to enhance your Sinatra projects or to create new Padrino applications.

For a more detailed look at installing Padrino, check out the Installation Guide.

Usage

Padrino is a framework which builds on the existing functionality of Sinatra and provides a variety of additional tools and helpers to build upon that foundation. This README and Padrino documentation in general will focus on the enhancements to the core Sinatra functionality. To use Padrino, one should be familiar with the basic usage of Sinatra itself.

You can also check out the Why Learn Padrino? introduction to learn more about how Sinatra and Padrino work together.

For information on how to use a specific gem in isolation within an existing Sinatra project, checkout the guide for Using Padrino within Sinatra.

Getting Started

Once a developer understands Sinatra, Padrino is quite easy to get comfortable with since Padrino is simply a superset of existing Sinatra functionality!

First, be sure to read over the Getting Started guide to learn more about how Sinatra and Padrino work together.

Best way to learn more about building Padrino applications is to read following resources:

  • Padrino Guides - Guides outlining the major functionality within Padrino.

  • Blog Tutorial - Step-by-step guide to building a blog application with Padrino.

  • Padrino API - YARD documentation for the Padrino framework.

  • Quick Overview - Outlines basic generation commands.

The individual Padrino sub-gems also contain README's which outlines their functionality.

Further Questions

Can't find an answer in the resources above?

Bug reporting

Log it onto Github by creating a new issue.

Be sure to include all relevant information, like the versions of Padrino, Rack, Sinatra, Ruby and operating system you are using.

A minimal project showing the issue published on Github with Gemfile.lock is also extremely helpful.

Copyright © 2010-2016 Padrino. See LICENSE for details.

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].