AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗= Padrino
Padrino is the godfather of Sinatra. Follow us on {www.padrinorb.com}[http://padrinorb.com] and on twitter {@padrinorb}[http://twitter.com/padrinorb].
{rdoc-image:https://github.com/padrino/padrino-framework/actions/workflows/ci.yml/badge.svg?branch=master}[https://github.com/padrino/padrino-framework/actions/workflows/ci.yml] {rdoc-image:https://api.codeclimate.com/v1/badges/900d6e424498f0e2b7ff/maintainability}[https://codeclimate.com/github/padrino/padrino-framework/maintainability] {rdoc-image:https://www.codetriage.com/padrino/padrino-framework/badges/users.svg}[https://www.codetriage.com/padrino/padrino-framework]
== Preface
Padrino is a ruby framework built upon the excellent {Sinatra Web Library}[http://www.sinatrarb.com]. 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}[http://padrinorb.com/guides/advanced-usage/standalone-usage-in-sinatra/] or use them altogether for a full-stack Padrino application.
== Installation
To install the padrino framework, simply grab the latest version from {RubyGems}[https://rubygems.org]:
$ 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}[http://padrinorb.com/guides/getting-started/installation/].
== 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?}[http://padrinorb.com/guides/introduction/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}[http://padrinorb.com/guides/advanced-usage/standalone-usage-in-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}[http://padrinorb.com/guides/getting-started/overview/] 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 Questions
Can't find an answer in the resources above?
== Bug reporting
For security problems, don't open a public issue; report them privately through {private vulnerability reporting}[https://github.com/padrino/padrino-framework/security/advisories/new].
Log it onto Github by {creating a new issue}[http://github.com/padrino/padrino-framework/issues].
To contribute a fix or feature, see {CONTRIBUTING.md}[https://github.com/padrino/padrino-framework/blob/master/CONTRIBUTING.md].
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
Copyright (c) 2010-2016 Padrino. See LICENSE for details.