BSD Ports

www/rubygem-actionpack52 5.2.8.1_1 MidnightBSD

Action Controller and Action View of Rails MVC Framework

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
www, rubygems

Description

Action Pack is a framework for handling and responding to web requests. It provides mechanisms for routing (mapping request URLs to actions), defining controllers that implement actions, and generating responses by rendering views, which are templates of various formats. In short, Action Pack provides the view and controller layers in the MVC paradigm.

It consists of several modules:

  • Action Dispatch, which parses information about the web request, handles routing as defined by the user, and does advanced processing related to HTTP such as MIME-type negotiation, decoding parameters in POST, PATCH, or PUT bodies, handling HTTP caching logic, cookies and sessions.
  • Action Controller, which provides a base controller class that can be subclassed to implement filters and actions to handle requests. The result of an action is typically content generated from views.

With the Ruby on Rails framework, users only directly interface with the Action Controller module. Necessary Action Dispatch functionality is activated by default and Action View rendering is implicitly triggered by Action Controller. However, these modules are designed to function on their own and can be used outside of Rails.

In the other systems

SystemPortVersion
MidnightBSDwww/rubygem-actionpack525.2.8.1_1
FreeBSDwww/rubygem-actionpack525.2.8.1_1
DragonFlywww/rubygem-actionpack525.2.8.1_1
HardenedBSDwww/rubygem-actionpack525.2.8.1_1
GhostBSDwww/rubygem-actionpack525.2.8.1_1

Install

Binary package:

mport install actionpack52

From mports:

cd /usr/mports/www/rubygem-actionpack52 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	actionpack52>0:www/rubygem-actionpack52

Dependencies

As this port's Makefile names them.

Build 6

Runtime 6

Build dependencies 6
Run dependencies 6

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/actionpack-5.2.8.1.gem214528637be8a2434501d07de9dfec7a043cfa8f3c99128d54e4c9d0f1a7a75bf91b57
Master sites 1
  • RG