Changes between Version 4 and Version 5 of QuickStart/2:ModellingourApplication

Show
Ignore:
Timestamp:
12/21/09 18:43:50 (16 years ago)
Author:
cfgrok (IP: 64.30.223.5)
Comment:

Updates to Quickstart Section

Legend:

Unmodified
Added
Removed
Modified
  • QuickStart/2:ModellingourApplication

    v4 v5  
    2121    <cfargument name="phrase" /> 
    2222 
    23     <cfset var firstVowel = reFindNoCase("[#variables.vowels#]", arguments.phrase) - 1/> 
     23    <cfset var firstVowel = reFindNoCase("[#variables.vowels#]", arguments.phrase) - 1 /> 
    2424    <cfset var result = trim(arguments.phrase) /> 
    2525 
     
    4040 
    4141And that's it. Our entire Model. It doesn't know anything about a user interface, or form variables, or session, or any of that stuff, so it's very, very reusable. 
     42 
    4243---- 
    4344 
    44 Back [wiki:QuickStart/1:CreatingaNewApplication#Quickstart1:CreatingaNewApplication Quickstart 1: Creating a New Application] 
     45Back [wiki:QuickStart/1:CreatingaNewApplication Quickstart 1: Creating a New Application] 
    4546 
    46 Next [wiki:QuickStart/3:BuildingaForm#Quickstart3:BuildingaFormEvent Quickstart 3: Building a Form Event] 
     47Next [wiki:QuickStart/3:BuildingaForm Quickstart 3: Building a Form Event]