Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
E-book details
Log in, If you're interested in the contents of the item.
Object-Oriented Programming in ColdFusion. Break free from procedural programming and learn how to optimize your applications and enhance your skills using objects and design patterns
Ebook
Are you tired of procedural programming or is your extensive code base starting to become un-manageable? Breathe some new life into your code and improve your development skills with the basic concepts of object-oriented programming. Utilize objects, modular components, and design patterns to expand your skills and improve your ColdFusion applications. Packed with example code, and written in a friendly, easy-to-read style, this book is just what you need if you are serious about ColdFusion.This book is a fast-paced tutorial to important ColdFusion object-oriented programming topics. It will give you clear, concise, and practical guidance to take you from the basics of ColdFusion to the skills that will make you a ColdFusion developer to be reckoned with. Don't be put off by jargon or complex diagrams; read and see how you can benefit from this book and extend your development skills in the process.Using the practical examples within this guide, you will learn how to structure your applications and code, applying the fundamental basics of object-oriented programming to develop modular, reusable components that will scale easily with your application. You will learn the basic fundamental practices of object-oriented programming, from object creation and re-use, to Bean objects, service layers, Data Access objects, and sample design patterns to gain a better understanding of OOP using examples that can be altered and applied in your application. Complete with detailed code samples and snippets, and written in a friendly easy-to-follow style, you will be able to break free from writing purely procedural code and enhance your applications by building structured applications utilizing basic design patterns and object-oriented principles.
- Object-Oriented Programming in ColdFusion
- Table of Contents
- Object-Oriented Programming in ColdFusion
- Credits
- Foreword
- About the Author
- Acknowledgement
- About the Reviewer
- Preface
- Who this book is for
- What this book covers
- What you need for this book
- Conventions
- Reader feedback
- Customer support
- Errata
- Piracy
- Questions
- 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
- Placing your Var scoped variables
- Naming your Var scoped variables
- Using the Var scope
- 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
- Instantiating the object
- 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
- Calling your init() function
- The This scope
- Summary
- Why use CFCs?
- 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
- Returning metadata
- Introspection
- Detailed introspection
- Summary
- Pseudo-constructors
- 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
- Setters/Mutators
- Getters/Accessors
- Completing our Projects Bean
- Calling our project Bean
- An introduction to UML
- Populating the Bean
- Read/Write Bean
- Read-only Bean
- Helpful objects
- Implicit accessors
- Summary
- What is a Bean?
- 4. Inheritance and Object-Oriented Concepts
- What is Inheritance?
- Avoiding code duplication
- Inheriting our products
- The Super keyword
- Overriding methods
- Instantiating our products
- The inheritance hierarchy
- Specialization
- The "IS A" relationship
- Polymorphism
- Composition
- The "HAS A" Relationship
- Implied ownership
- The "HAS A" Relationship
- Aggregation
- Summary
- What is Inheritance?
- 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
- The create method
- Dependency Injection
- Summary
- 6. Gateways
- What is a Gateway?
- A typical ColdFusion Gateway
- Creating a Gateway object
- Naming conventions
- Adding gateway methods
- Minimising code duplication
- Revising the gateway object
- Caching the Gateway object
- Creating a Gateway object
- The Gateway discussion
- No hard and fast rules
- Table Data Gateway
- Similarities to Data Access Objects
- Combining the two patterns
- Which option is best?
- Summary
- 7. Creating a Service Layer
- What is a Service Layer?
- Facade patterns in a nutshell
- Creating a service
- Defining the User Service
- Adding the CRUD methods
- Adding the Gateway methods
- Adding an abstract class
- Defining the User Service
- Defining the address service
- onApplicationStart (revisited)
- Summary
- What is a Service Layer?
- Index
- Title: Object-Oriented Programming in ColdFusion. Break free from procedural programming and learn how to optimize your applications and enhance your skills using objects and design patterns
- Author: Matt Gifford, Matthew Gifford
- Original title: Object-Oriented Programming in ColdFusion. Break free from procedural programming and learn how to optimize your applications and enhance your skills using objects and design patterns
- ISBN: 9781847196330, 9781847196330
- Date of issue: 2010-10-13
- Format: Ebook
- Item ID: e_3ce2
- Publisher: Packt Publishing