BSD Ports

www/rubygem-actionpack4 4.2.11.3 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-actionpack44.2.11.3
FreeBSDwww/rubygem-actionpack44.2.11.3
DragonFlywww/rubygem-actionpack44.2.11.3
HardenedBSDwww/rubygem-actionpack44.2.11.3
GhostBSDwww/rubygem-actionpack44.2.11.3

Install

Binary package:

mport install actionpack4

From mports:

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

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

RUN_DEPENDS=	actionpack4>0:www/rubygem-actionpack4

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-4.2.11.3.gem18688067e84b5fcde0b2d885987a444646fb4d741926fd565565a336e73c5153e7a5a4
Master sites 1
  • RG