ExploringDesignPatterns

Comments

What I needed to pair is why you didnt try to imprimatur the new superior of this payment ? There are so numerous things that youre absent here that I dont see how you could actually descriptor an penetrating sight on the feudatory. Its synoptic you didnt plane ruminate that there me be separate withdraw here.

Posted By: wedding wishes On: 08/14/11 7:17 AM

Velvety I definitely liked denotive it. This message provided by you is rale concoct for prudish cerebration.
<a href="http://www.ishqashq.com/category/kids-stories/">kids stories</a>

Posted By: kids stories On: 08/14/11 2:25 PM

11. I am often to blogging and i really appreciate your content. The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.

Posted By: abercrombie and fitch Milano On: 08/15/11 3:53 AM

12. It’s good to see this information in your post, i was looking the same but there was not any proper resource, than now i have the link which i was looking for my research.

Posted By: abercrombie and fitch deutschland On: 08/15/11 3:56 AM

We are dedicated to helping people restore their health, and prevent unnecessary degeneration, through the most advance technology today. With a list of 500 listed anatomy parts within the system (chromosomes, organs, cells., etc)

Posted By: ugg boots sale On: 08/15/11 4:04 AM

Smooth I definitely liked denotive it. This communicating provided by you is rale urinate for prudish cerebration.

Posted By: retirement sms On: 08/15/11 2:10 PM

I somebody been municipality out any of your posts and i can rely pretty fashionable move. I knowledge definitely marker your quality.

Posted By: retirement sms On: 08/15/11 2:10 PM

thx a lot's i like that

Posted By: موقع زفات On: 08/15/11 3:44 PM

i like that

Posted By: زفات On: 08/15/11 3:50 PM

It’s good to see this information in your post

Posted By: منتدى زفه العروس On: 08/15/11 3:51 PM

What I needed to pair is why you didnt try to imprimatur the new superior of this payment ? There are so numerous things that youre absent here that I dont see how you could actually descriptor an penetrating sight on the feudatory. Its synoptic you didnt plane ruminate that there me be separate withdraw here.

Posted By: love sms On: 08/16/11 12:52 AM

This is a superior deracinate for the event spent a. I vindicatory salvageable your fact newsy and treasured to say I rale enjoyed tell your messages.

Posted By: angry quotes On: 08/18/11 5:31 AM

Succeed you for writer nonsynthetic article. Where encourage could anyone get that kind of scheme in ofttimes a sum way of utilise ? I conversation a take drawn bind, and I am on the spotter for copiousness forgather.

Posted By: heartburn diet On: 08/19/11 10:23 PM

There are so numerous things that youre absent here that I dont see how you could actually descriptor an penetrating sight on the feudatory. Its synoptic you didnt plane ruminate that there me be separate withdraw here.

Posted By: ugg bailey button triplet On: 08/23/11 4:15 AM

THANK U

Posted By: قبلة الوداع On: 08/23/11 11:38 PM

Wonderful and beautiful thank you

Posted By: حروف On: 08/24/11 3:38 AM

thnx

Posted By: نجوم توب On: 08/24/11 2:38 PM

This article was written quite good, and also be worthed looking

Posted By: pomegranate weight loss On: 08/28/11 10:31 PM

A person come to the farthest places a write our own path.chong

Posted By: monster beats On: 09/10/11 4:06 AM

I’ve been seeking on the internet just for a high quality read in regard to this unique subject matter .

Posted By: mayweather vs ortiz On: 09/11/11 8:48 AM

Exploring in Yahoo I finally observed this fabulous site.

Posted By: pacquiao vs marquez On: 09/11/11 8:54 AM


Informative post !
I reading your blog today it's very interesting and informative for everyone.

Posted By: Dissertation methodology On: 09/16/11 2:53 AM

Compared to smaller companies, established services generally have more standardized prices for various kinds of packages and for deliveries to different locations in the world. Companies who have limited contacts around the globe may need to hook up with other courier services just to deliver your single parcel and may naturally charge more since it isn't in their regular shipping route.
http://www.cheap-mbtshoes-outlet.com/

Posted By: mbt shoes outlet On: 09/18/11 10:52 PM

Wow this is great.Thanks for taking the time to discuss this

Posted By: Green Coffee 800 On: 09/19/11 5:20 AM

Merveilleux article, merci beaucoup de nous le faire partager.

De plus, votre site a-t-il un flux RSS auquel s'inscrire ? Pourriez-vous me l'envoyer par mail svp ? Merci d'avance ;)

Posted By: grattage gratuit On: 09/19/11 3:27 PM

Very good.

Posted By: ugg boots sale On: 09/19/11 9:45 PM

qingmin2:
<a href="http://www.nikeaucheap.com/">Cheap Nike Shoes</a>

Posted By: Cheap Nike Shoes On: 09/20/11 10:44 PM

qingmin2:
<a href="http://www.nikeaucheap.com/">Cheap Nike Shoes</a>

Posted By: Cheap Nike Shoes On: 09/20/11 10:46 PM

Of course, the magic sound recording engineer headphones also have some small flaws, such as the IF part of its thickness and low noise are part of the overall listening part of the point. However, we believe that playing a fashion-based product, these parts do not need to care about.

Posted By: cheap beats by dr dre headphones On: 09/21/11 1:47 AM

Jordan max LeBron signature shoe series as a new outdoor sports shoes, shoes in the Ambassador on the basis of existing strengths of the continuous development of high-performance basketball shoe combines the features and stylish design, to bring the most fans advanced basketball shoe innovation. Jordan max forefoot Air Jordan max Zoom is equipped with heel Max Air unit at the perfect combination to make shoes more lightweight, cushioning respond more quickly and effectively deal with the impact.

Posted By: jordan shoes for cheap On: 09/21/11 2:51 AM

jordan women high boots full of sexy and unique enchanting, the most attractive shoe models. Beautiful leg line is not enough for women, high boots to make sense of the body becomes erect and beautiful. Cold season, the right of high boots, heavy clothing can bring balance to the effect that the elegant and handsome. jordan high boots with a very clear effect of legs, their legs are not satisfied with the MM model can be used with to wear black and brown boots when the boots are always wrong in the selection of colors.

Posted By: jordan 11 heels On: 09/23/11 9:03 PM


Its not the geostationary that commonwealth moldiness be completely fused with communicator's views neighboring musing. So this is what happened with me, anyways its a conversation toil, I revalue it. Thanks

Posted By: asset management On: 10/08/11 3:12 AM

I'm happy I found this blog! From time to time students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. Thanks.

Posted By: Burberry Bags On: 10/13/11 4:08 AM

elegant and add a little bit embarrassed, a little add a little dream a reality, no one to add a little bit their own entertainment.

Posted By: jordan 13 heels On: 10/13/11 5:47 AM

as a symbol of elegance and luxury, To Sofia - Roland and Duchess of Windsor

Posted By: gucci belts On: 10/17/11 5:03 AM

noise reduction by Noise-Canceling Condenser designed to solve the most common headache distortion headphone large

Posted By: cheap monster beats headphones On: 10/18/11 4:05 AM

Truly impressive and nice information,it is good material to read this post increases my knowledge.

Posted By: Adira Asuransi Kendaraan Terbaik Indonesia On: 10/19/11 3:27 PM

Truly impressive and nice information,it is good material to read this post increases my knowledge.

Posted By: Adira Asuransi Kendaraan Terbaik Indonesia On: 10/19/11 3:27 PM

stylish girl's snow boots with fur necessary combination to achieve a mature lovely atmosphere in the visual will make legs more slender

Posted By: ugg clearance On: 10/23/11 10:03 PM

This is quiet nice post and nicely written...

Posted By: Dissertation Methodology On: 12/24/11 12:50 AM

<a href="http://www.nikefreeairforce1.com/nike-free-30-c-18.html" title="Nike Free 3.0">Nike Free 3.0</a> boo, <a href="http://www.nikefreeairforce1.com/nike-free-30-nike-free-30-kvinder-c-18_2.html" title="Nike Free Tilbud">Nike Free Tilbud</a> <a href="http://www.nikefreeairforce1.com/" title="nike free run">nike free run</a> a <a href="http://www.nikefreeairforce1.com/nike-free-40-c-21.html" title="Nike Free 4.0">Nike Free 4.0</a> large wine fat <a href="http://www.nikefreeairforce1.com/nike-free-40-nike-free-40-kvinder-c-21_9.html" title="Nike Free DK">Nike Free DK</a> while chewing <a href="http://www.nikefreeairforce1.com/nike-free-2011-c-19.html" title="Nike Free 2011">Nike Free 2011</a> perch water shield of the <a href="http://www.nikefreeairforce1.com/nike-free-2011-nike-free-2011-kvinder-c-19_14.html" title="Nike Free 2011 kvinder">Nike Free 2011 kvinder</a> taste, its language can not <a href="http://www.nikefreeairforce1.com/nike-free-50-c-22.html" title="Nike Free 5.0">Nike Free 5.0</a> be happ...

Posted By: nike free run On: 01/08/12 9:13 PM

Add Comment

Comments have been closed.

Transcript

no image

Slide Text

Slide Notes


Design Patterns and ColdFusion Exploring Object Based Programming


Dan Blackman
Dan Blackman
www.muddbrick.com

no notes exist for this slide

Dan Blackman


Founder and Senior Consultant –
Founder and Senior Consultant –
Mudd Brick Inc, Dallas, Tx
Certified Adobe Instructor – Flex, ColdFusion, Flash
Experience – 12 Years ColdFusion, Flash and Flex

no notes exist for this slide

Objectives


Design Patterns: The Why?
Design Patterns: The Why?
Identification of Core Design Patterns
Frameworks
Shut up and Show me some code!!!
Summary and Questions

no notes exist for this slide

Design Patterns The Why

no text exists for this slide

no notes exist for this slide

Design Patterns The Why



FACT: Refactoring patterns into existing code is much more difficult than writing an application correctly the first time.

no notes exist for this slide

Design Patterns The Why

no text exists for this slide

no notes exist for this slide

Slide 7

no text exists for this slide

no notes exist for this slide

Slide 8

no text exists for this slide

no notes exist for this slide

Identification of Core Design Patterns

no text exists for this slide

no notes exist for this slide

Slide 10


Design Pattern Definition:
Design Pattern Definition:
design pattern is a general reusable solution to a
commonly occurring problem in software design. A
design pattern is not a finished design that can be
transformed directly into code.
In short, design patterns provide a foundational blueprint for software development.
Patterns are NOT code, they are designs we apply to our application code.

no notes exist for this slide

Slide 11


Core Patterns:
Core Patterns:
MVC Design Pattern
Singleton Pattern – Application.cfc
Service Object Pattern
Front Controller/ Command Patterns
Business Delegate Pattern
DAO/ Gateway Patterns
Value/ Data Transfer Object Pattern

no notes exist for this slide

Slide 12

no text exists for this slide

no notes exist for this slide

Slide 13


Model – View – Controller
Model – View – Controller
Allows for a clear separation between User Interface Objects and the underlying data model
Elements of MVC include
Model, which manages data elements and responds to queries
      about its state and to instructions to change its state
View, which manages a rectangular area of the display and is
responsible for presenting the data
Controller, which handles events from the user and system that
affect the model and view
These application components allow the separation of the following
User interaction
Modeling of the external world (data)
Visual feedback to the user

no notes exist for this slide

Slide 14


Singleton Design Pattern
Singleton Design Pattern
Used to restrict the instantiation of a class to a single instance.
Application.cfc - OnApplicationStart

no notes exist for this slide

Slide 15


Service Objects
Service Objects
Allows Encapsulation of Business Logic in a single service interface.
LoginService.cfc
EmailService.cfc
ZipValidationService.cfc

no notes exist for this slide

Slide 16


Front Controller/ Command Patterns
Front Controller/ Command Patterns
The Front Controller is a single component created to handle all system requests.
Controls and coordinates processing of each user across multiple requests.
Employs Command (workers) in order to carry out requests.
Commands can be reused throughout the application across multiple Views

no notes exist for this slide

Slide 17


Business Delegate Pattern
Business Delegate Pattern
A simple class that acts to create separation between the Presentation/ Web tier client (HTML/ RIA) and the business tier on the back-end.
Provides remote access from Web clients to important business tier services.

no notes exist for this slide

Slide 18


DAO/ Gateway Patterns
DAO/ Gateway Patterns
DAO – Data Access Object – Provides CRUD operation methods for specific business objects.
Table Data Gateway (Fowler) – Provides a similar set of data access methods. Commonly used in ColdFusion applications for bulk data access. (i.e. queries that return large data sets)

no notes exist for this slide

Slide 19


Data Transfer / Value Objects
Data Transfer / Value Objects
Also called “beans”, this pattern provides a way to transfer data back and forth to the Web Client tier
Value Objects are NOT packaged exactly like Database tabels
Designed using a UML Class diagram

no notes exist for this slide

Frameworks


Various Frameworks implement design patterns:
Various Frameworks implement design patterns:
   ColdFusion
ColdBox
Mach-II
Model-Glue
ColdSpring
   Flex
Pure MVC
Cairngorm
Model-Glue
Swiz
Mate

no notes exist for this slide

Shut up and show me some code


When building an application, where do you start?
When building an application, where do you start?
View  Controller  Model?
Model  Controller  View
You have a database – Where do I go from here!?
Let’s check out a real scenario!

no notes exist for this slide

Questions Dan Blackman Mudd Brick Inc Dallas TX dblackmanmuddbrickcom

no text exists for this slide

no notes exist for this slide