<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://actionflow.devdonkey.org/lib/styles/feed.css" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>ActionFlow</title>
        <description></description>
        <link>http://actionflow.devdonkey.org/</link>
        <lastBuildDate>Fri, 10 Sep 2010 15:51:44 -0400</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>http://actionflow.devdonkey.org/lib/images/favicon.ico</url>
            <title>ActionFlow</title>
            <link>http://actionflow.devdonkey.org/</link>
        </image>
        <item>
            <title>action_step</title>
            <link>http://actionflow.devdonkey.org/action_step?rev=1181161273</link>
            <description>The Action Step is used to map a method definition to a flow chain of execution. It is very simple and does not take much parameters. Read the Action Step API for more details.


class MyController &lt; ActionFlow::Base

  def initialize

    # Map an action step
    action_step :my_step do

      on :event_name =&gt; :next_step_name

      # Use the superclass 'method' instruction to map the method named
      # 'my_step_implementation_method' as this step implementation.
      # This is optionnal si…</description>
            <pubDate>Wed, 06 Jun 2007 16:21:13 -0400</pubDate>
        </item>
        <item>
            <title>actionflow</title>
            <link>http://actionflow.devdonkey.org/actionflow?rev=1200083658</link>
            <description>simplicity and fluidity with a Rails twist

What's ActionFlow anyways ?!

 ActionFlow is a declarative flow controller usable by Ruby on Rails applications. Its an efficient, easy and simple Domain Specific Language which allows developers to organize a suite of user actions aimed at a precise goal.</description>
            <pubDate>Fri, 11 Jan 2008 15:34:18 -0400</pubDate>
        </item>
        <item>
            <title>api</title>
            <link>http://actionflow.devdonkey.org/api?rev=1181161073</link>
            <description>This is the place to find all the RDoc documentation from the ActionFlow API.

Edge

 The edge API can be found here.

Deprecated releases

	*  Release 0.1

 ~~DISCUSSION~~</description>
            <pubDate>Wed, 06 Jun 2007 16:17:53 -0400</pubDate>
        </item>
        <item>
            <title>basic_mapping_example</title>
            <link>http://actionflow.devdonkey.org/basic_mapping_example?rev=1183045386</link>
            <description>There are two main parts in an ActionFlow controller. Its mapping and it’s step implementations. Here’s an example mapping taken from the Demo Application. There are many more mapping instructions available and it’s up to you to read the API. Don’t be lazy and read it: it’s definitely worth it if you are going to use ActionFlow.</description>
            <pubDate>Thu, 28 Jun 2007 11:43:06 -0400</pubDate>
        </item>
        <item>
            <title>concepts</title>
            <link>http://actionflow.devdonkey.org/concepts?rev=1181161092</link>
            <description>Here are the main concepts of the ActionFlow framework.

	*  Flow
	*  State
	*  Step
		*  Action Step
		*  View Step

	*  Event
	*  Session Handler
	*  Flow Execution Key
	*  Plugin

 ~~DISCUSSION~~</description>
            <pubDate>Wed, 06 Jun 2007 16:18:12 -0400</pubDate>
        </item>
        <item>
            <title>creating_controllers</title>
            <link>http://actionflow.devdonkey.org/creating_controllers?rev=1181160976</link>
            <description>To create an ActionFlow controller, you must subclass the ActionFlow::Base ruby class.


class MyController &lt; ActionFlow::Base

  def initialize

    # Add your mapping here

  end

  # Add your step implementations here

end


Here’s an example controller. This particular controller is an excerpt from the demo application provided to demonstrate the ActionFlow framework.</description>
            <pubDate>Wed, 06 Jun 2007 16:16:16 -0400</pubDate>
        </item>
        <item>
            <title>creating_views</title>
            <link>http://actionflow.devdonkey.org/creating_views?rev=1183045749</link>
            <description>There are four ways to send events to an ActionFlow controller. 

	*  By a link
	*  By a form
	*  By an AJAX link
	*  By an AJAX form

 Any ActionFlow controller views can easily use these helper methods to create views that interact with the ActionFlow framework. To have all the details, consult the BaseHelper API.</description>
            <pubDate>Thu, 28 Jun 2007 11:49:09 -0400</pubDate>
        </item>
        <item>
            <title>demo_application</title>
            <link>http://actionflow.devdonkey.org/demo_application?rev=1181161050</link>
            <description>I’ve created a simple Rails application to demonstrate ActionFlow. It’s located on the project SVN repository at Rubyforge. You can either browse the source code or checkout the latest revision with

svn co svn://rubyforge.org/var/svn/actionflow/demos/actionflow_demo</description>
            <pubDate>Wed, 06 Jun 2007 16:17:30 -0400</pubDate>
        </item>
        <item>
            <title>event</title>
            <link>http://actionflow.devdonkey.org/event?rev=1181161299</link>
            <description>Events are objects which tell the ActionFlow framework what to do next once a step is complete. Although the event name is entirely up to the developer, some event names are reserved. See below for more details.

Sample Usage

 Every step definition has to return an event. An event can be returned as follows.</description>
            <pubDate>Wed, 06 Jun 2007 16:21:39 -0400</pubDate>
        </item>
        <item>
            <title>flow</title>
            <link>http://actionflow.devdonkey.org/flow?rev=1181161107</link>
            <description>What is a flow

A flow is an instance of the ActionFlow::Base class. It consists mainly of two things.

	*  Mapping 
 The instructions which tell the ActionFlow framework what to do and when to do it.
	*  Step definitions 
 The definition of what the declared steps do.</description>
            <pubDate>Wed, 06 Jun 2007 16:18:27 -0400</pubDate>
        </item>
        <item>
            <title>flow_execution_key</title>
            <link>http://actionflow.devdonkey.org/flow_execution_key?rev=1181163184</link>
            <description>The flow execution key is a random string of 64 alphanumeric characters. It allows the ActionFlow Session Handler to restore a given state and continue a flow execution from the correct state hash snapshot.

The flow execution key always has to be returned to the controller after the execution of a view by the user. Each submission of data has to be related to a flow key. If you submit data to an ActionFlow controller without providing a key, the controller will assume that you are requesting a …</description>
            <pubDate>Wed, 06 Jun 2007 16:53:04 -0400</pubDate>
        </item>
        <item>
            <title>flow_step</title>
            <link>http://actionflow.devdonkey.org/flow_step?rev=1179430156</link>
            <description>The Flow Step superclass makes basic step instructions available to any ActionFlow step type. Any step types have to inherit from this superclass.

Mapping instructions

 The mapping instructions common to every step type are the following.

on

The on instruction is used to map a returned event name to a subsequent step. Here’s a simple example of it’s usage.</description>
            <pubDate>Thu, 17 May 2007 15:29:16 -0400</pubDate>
        </item>
        <item>
            <title>session_handler</title>
            <link>http://actionflow.devdonkey.org/session_handler?rev=1181163143</link>
            <description>The session handling logic is encapsulated in the SessionHandler module extension which is added to the ActionFlow::Base class eval at the plugin initialization.

The session handler has the following responsibilities.

	*  Expose the state variable, which is a hash that saves data which is relevant to the current flow state. 
	*  Generate state snapshots in the session hash.
	*  Persist and restore each state data and make sure the state variable contains the data corresponding to the correct r…</description>
            <pubDate>Wed, 06 Jun 2007 16:52:23 -0400</pubDate>
        </item>
        <item>
            <title>state</title>
            <link>http://actionflow.devdonkey.org/state?rev=1181163042</link>
            <description>There is a mechanism available in ActionFlow which enables users to store data inside what is called a flow state. It is imlemented as a Hash object which offers a historical snapshot of himself according to a user’S position inside a flow. This allows users to hit the back button and restore exactly the flow state they were in at that precise point in the flow.</description>
            <pubDate>Wed, 06 Jun 2007 16:50:42 -0400</pubDate>
        </item>
        <item>
            <title>step</title>
            <link>http://actionflow.devdonkey.org/step?rev=1181161257</link>
            <description>A step is a single unit of work which is part of a flow. Different step types will perform different tasks. Steps are ordered with ActionFlow’s domain specific language with the help of the “on” and the “upon” methods defined in the FlowStep superclass.</description>
            <pubDate>Wed, 06 Jun 2007 16:20:57 -0400</pubDate>
        </item>
        <item>
            <title>success_stories</title>
            <link>http://actionflow.devdonkey.org/success_stories?rev=1183043460</link>
            <description>I’d like to hear from the people who tried ActionFlow. Please provide feedback as to what went wrong and what was just perfect so that I can improve it to better fit your needs.

Use the discussion controls down this page, and thanks a million !</description>
            <pubDate>Thu, 28 Jun 2007 11:11:00 -0400</pubDate>
        </item>
        <item>
            <title>view_step</title>
            <link>http://actionflow.devdonkey.org/view_step?rev=1181161285</link>
            <description>A View Step is mainly used to render a view to the user. It’s default behavior facilitates this process. But it can do much more than that. Read the View Step API for more details.

Here are examples of view steps. More are included in the demo application.</description>
            <pubDate>Wed, 06 Jun 2007 16:21:25 -0400</pubDate>
        </item>
    </channel>
</rss>
