在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:padrino/padrino-framework开源软件地址:https://github.com/padrino/padrino-framework开源编程语言:Ruby 98.9%开源软件介绍:¶ ↑PadrinoPadrino is the godfather of Sinatra. Follow us on www.padrinorb.com and on twitter @padrinorb. Join us on gitter ¶ ↑PrefacePadrino 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. ¶ ↑IntroductionMany 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:
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. ¶ ↑InstallationTo 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. ¶ ↑UsagePadrino 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 StartedOnce 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:
The individual Padrino sub-gems also contain README's which outlines their functionality. ¶ ↑Further QuestionsCan't find an answer in the resources above?
¶ ↑Bug reportingLog 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. ¶ ↑CopyrightCopyright © 2010-2016 Padrino. See LICENSE for details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论