Changeset 458

Show
Ignore:
Timestamp:
07/24/08 19:53:27 (3 months ago)
Author:
deveiant
Message:
  • Updated intro page of the manual with more detail about templates, and clarified how applets fit together a bit better.
  • Started conversion of the spec for Arrow::AppletRegistry?
Location:
trunk
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/docs/manual/source/tutorial/intro.page

    r446 r458  
    3636        others, which makes keeping the View decoupled from the model easier than when  
    3737        it's implemented as a purely procedural system with a shared-state mechanism. Arrow  
    38         templates have an interface (in the API sense) just like any other Ruby object, and 
    39         are interacted with in much the same manner, which makes it possible to test the interaction  
    40         between Controller and View without resorting to parsing the resulting HTML.</dd> 
     38        templates are first-order Ruby objects which have an interface (in the API sense) defined  
     39        by its source just like any other Ruby object. You can interact with a template in much  
     40        the same manner as you would any other Ruby object, which makes it possible to test the  
     41        interaction between Controller and View without resorting to parsing the resulting  
     42        HTML.</dd> 
    4143 
    42     <dt>Composed Application Control</dt> 
     44    <dt>Composed Application Controllers</dt> 
    4345    <dd>A typical arrow application is composed of several cooperating Applet objects which are  
    44         chained together, and communicate via delegation, in much the same way as command-line 
    45         utilities can be chained together to cooperate in the assembly of some final result. </dd> 
     46        "chained together":CoRpattern, and communicate via delegation, in much the same way as  
     47        command-line utilities can be chained together to cooperate in the assembly of some final  
     48        result. </dd> 
    4649 
    4750    <dt>No Included Domain Model</dt> 
     
    104107[DMpattern]http://martinfowler.com/eaaCatalog/domainModel.html 
    105108[Sequel]http://sequel.rubyforge.org/ 
    106  
     109[CoRpattern]http://c2.com/cgi/wiki?ChainOfResponsibilityPattern 
  • trunk/spec/arrow/applet_spec.rb

    r437 r458  
    11#!/usr/bin/env ruby 
     2#  
     3# Specification for the Arrow::Applet class 
     4# $Id$ 
     5# 
     6# Copyright (c) 2004-2008 The FaerieMUD Consortium. Most rights reserved. 
     7#  
    28 
    39BEGIN {