Giter Site home page Giter Site logo

awallhere / padrino-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from padrino/padrino-framework

0.0 2.0 0.0 20.32 MB

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

Home Page: http://www.padrinorb.com

Ruby 82.82% CSS 16.83% JavaScript 0.34%

padrino-framework's Introduction

Padrino

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

<img src=“https://api.travis-ci.org/padrino/padrino-framework.svg” alt=“Build Status” /> <img src=“https://gemnasium.com/padrino/padrino-framework.svg” alt=“Dependency Status” /> <img src=“http://img.shields.io/codeclimate/github/padrino/padrino-framework.svg” /> <img src=“https://badges.gitter.im/Join Chat.svg” />

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

Builtin 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 gemcutter:

$ 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 Getting Started guide 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?

Copyright © 2012-2013 Padrino. See LICENSE for details.

padrino-framework's People

Contributors

achiurizo avatar activestylus avatar aemadrid avatar agios avatar bolshakov avatar burgestrand avatar crowdhailer avatar daddye avatar danishkhan avatar dcu avatar graudeejs avatar icco avatar ishe-ua avatar joshbuddy avatar lastcanal avatar lusis avatar minad avatar namusyaka avatar nesquena avatar nu7hatch avatar ortuna avatar pftg avatar postmodern avatar scudelletti avatar skade avatar tyabe avatar udzura avatar ujifgc avatar waydotnet avatar zenlor avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.