Changes between Version 4 and Version 5 of QuickStart/2:ModellingourApplication
- Timestamp:
- 12/21/09 18:43:50 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QuickStart/2:ModellingourApplication
v4 v5 21 21 <cfargument name="phrase" /> 22 22 23 <cfset var firstVowel = reFindNoCase("[#variables.vowels#]", arguments.phrase) - 1 />23 <cfset var firstVowel = reFindNoCase("[#variables.vowels#]", arguments.phrase) - 1 /> 24 24 <cfset var result = trim(arguments.phrase) /> 25 25 … … 40 40 41 41 And 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 42 43 ---- 43 44 44 Back [wiki:QuickStart/1:CreatingaNewApplication #Quickstart1:CreatingaNewApplicationQuickstart 1: Creating a New Application]45 Back [wiki:QuickStart/1:CreatingaNewApplication Quickstart 1: Creating a New Application] 45 46 46 Next [wiki:QuickStart/3:BuildingaForm #Quickstart3:BuildingaFormEventQuickstart 3: Building a Form Event]47 Next [wiki:QuickStart/3:BuildingaForm Quickstart 3: Building a Form Event]
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)