diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-09-18 06:05:07 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-09-18 06:15:09 +0000 |
commit | 1e16423cbf26068d57542e2d2ff2e37fbdbb1260 (patch) | |
tree | a310a010fc83f54b1cf60171b4b2321926134f98 | |
parent | 9f0adc52a6b39d354c471556da61d903b09e2622 (diff) |
www/rubygem-rails4: Update pkg-descr
-rw-r--r-- | www/rubygem-rails4/pkg-descr | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/www/rubygem-rails4/pkg-descr b/www/rubygem-rails4/pkg-descr index 77f026452f6e..5936b0adc42e 100644 --- a/www/rubygem-rails4/pkg-descr +++ b/www/rubygem-rails4/pkg-descr @@ -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 |