LEADER 05166nam 2200709 a 450 001 9910958884503321 005 20251114191035.0 010 $a9786612882166 010 $a9781282882164 010 $a1282882163 010 $a9781847196330 010 $a1847196330 035 $a(CKB)2670000000054436 035 $a(EBL)943998 035 $a(OCoLC)796383600 035 $a(SSID)ssj0000440313 035 $a(PQKBManifestationID)11267844 035 $a(PQKBTitleCode)TC0000440313 035 $a(PQKBWorkID)10470537 035 $a(PQKB)11038890 035 $a(Au-PeEL)EBL943998 035 $a(CaPaEBR)ebr10428665 035 $a(CaONFJC)MIL288216 035 $a(PPN)228024447 035 $a(FR-PaCSA)88851854 035 $a(MiAaPQ)EBC943998 035 $a(FRCYB88851854)88851854 035 $a(DE-B1597)722067 035 $a(DE-B1597)9781847196330 035 $a(EXLCZ)992670000000054436 100 $a20101206d2010 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aObject-oriented programming in ColdFusion $ebreak free from procedural programming and learn how to optimize your applications and enhance your skills using objects and design patterns /$fMatt Gifford 205 $a1st ed. 210 $aBirmingham [U.K.] $cPackt Pub.$d2010 215 $a1 online resource (192 p.) 225 1 $aCommunity experience distilled 300 $aIncludes index. 311 08$a9781847196323 311 08$a1847196322 327 $aCover; Copyright; Credits; Foreword; About the Author; Acknowledgement; About the Reviewer; Table of Contents; Preface; Chapter 1: Introducing ColdFusion Components; Why use CFCs?; Grouping your functions; Organizing your components; The ColdFusion component tags; Our first component; Defining a method; Returning the data; ColdFusion 9 scripted components; Creating your object; Restricting your functions to scopes; Using arguments within your methods; The Arguments scope; Redefine the function parameters; Combining your methods; Protecting your local variables; Using the Var scope 327 $aPlacing your Var scoped variablesNaming your Var scoped variables; Accessing your CFC; Instantiating the object; Using the createObject function; Using the cfobject tag; Using the NEW operator; Using cfinvoke; The cfinvoke tag; Using cfinvokeargument; Using attributes as arguments; Using an argument collection; Passing arguments into an instance method call; As a list; As named values; As an argumentCollection; Arguments in action; Merging your functions into one; Using cfargument to combine your methods; Creating an object constructor; Creating an init() function; The Variables scope 327 $aCalling your init() functionThe This scope; Summary; Chapter 2: Effective Component Development; Pseudo-constructors; Using the pseudo method; Suppressing whitespace; Output attribute; Pseudo-constructor or init() method; Returning values and variables; returnType; Access properties; Private; Package; Public; Remote; Getting information about your CFC; Introspection; CFC Explorer; Component Doc; Document your code; Benefits of documentation; Displayname attribute; Hint attribute; Description attribute; User-defined metadata; Obtaining CFC metadata; getMetaData; getComponentMetaData 327 $aReturning metadataDetailed introspection; Summary; Chapter 3: Building Your First Bean; What is a Bean?; But what is it really?; The benefit of using beans; Creating our first Bean; An introduction to UML; Person object in UML; What makes a Bean a Bean; A default/no-argument constructor; Easily accessible for introspection; Completing our Projects Bean; Calling our project Bean; Populating the Bean; Read/Write Bean; Read-only Bean; Helpful objects; Implicit accessors; Summary; Chapter 4: Inheritance and Object-Oriented Concepts; What is Inheritance?; Avoiding code duplication 327 $aInheriting our productsThe Super keyword; Overriding methods; Instantiating our products; The inheritance hierarchy; Specialization; The ""IS A"" relationship; Polymorphism; Composition; The ""HAS A"" Relationship; Implied ownership; Aggregation; Summary; Chapter 5: Data Access Objects; What is a Data Access Object?; Creating a Data Access Object; The create method; Storing a new user; The read method; Handling select results; The update method; The delete method; An alternative save method; The save method; The exists method; Caching the Data Access Objects; Dependency Injection; Summary 327 $aChapter 6: Gateways 330 $aBreak free from procedural programming and learn how to optimize your applications and enhance your skills using objects and design patterns 606 $aObject-oriented programming (Computer science) 615 0$aObject-oriented programming (Computer science) 676 $a005.117 700 $aGifford$b Matt$c(Web application developer)$01856831 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910958884503321 996 $aObject-oriented programming in ColdFusion$94456675 997 $aUNINA