1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

www/rubygem-rails60: Update pkg-descr

This commit is contained in:
Po-Chuan Hsieh 2024-09-18 14:05:20 +08:00
parent 652fd14ebf
commit 8265129762
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -1,10 +1,23 @@
Rails is a web-application framework for the MVC pattern that includes
both a template engine, controller framework, and object-relational
mapping package. Everything needed to develop web-apps that can run on
CGI, FastCGI, and mod_ruby
Rails is a web-application framework that includes everything needed to create
database-backed web applications according to the Model-View-Controller (MVC)
pattern.
Being a full-stack framework means that all layers are built to work
seamlessly together. That way you Don't Repeat Yourself (DRY) and you
can use a single language from top to bottom. Everything from templates
to control flow to business logic is written in Ruby - The language of
love for industry heavy-weights.
Understanding the MVC pattern is key to understanding Rails. MVC divides your
application into three layers: Model, View, and Controller, each with a specific
responsibility.
Active Record, Active Model, Action Pack, and Action View can each be used
independently outside Rails.
In addition to that, Rails also comes with:
- Action Mailer, a library to generate and send emails
- Action Mailbox, a library to receive emails within a Rails application
- Active Job, a framework for declaring jobs and making them run on a variety of
queuing backends
- Action Cable, a framework to integrate WebSockets with a Rails application
- Active Storage, a library to attach cloud and local files to Rails
applications
- Action Text, a library to handle rich text content
- Active Support, a collection of utility classes and standard library
extensions that are useful for Rails, and may also be used independently
outside Rails