Simplifying Cocoon
-
Upload
andrew-savory -
Category
Technology
-
view
995 -
download
0
description
Transcript of Simplifying Cocoon
Simplifying CocoonCocoon GetTogether, Amsterdam
7th October 2005
Why?Why?
Cocoon SUCKS!Cocoon is a fantastic and powerful application framework but it’s flexibility is it’s downfall: it’s simply too difficult to know where to begin and
therefore I will not be using it.
“ ”Three great virtues of programmingare laziness, impatience, and hubris.Larry Wall
Laziness
Impatience
Hubris
Is it right?
Running CocoonRunning Cocoon
“”
Everything should be madeas simple as possible,but not simpler.
Albert Einstein
./build.shBUILD SUCCESSFULTotal time: 12 minutes 26 seconds
Binary or not?
./cocoon.sh servlet
./cocoon.sh
Easy Install
Building CocoonBuilding Cocoon
Blocks, M2, obsolescence
The GUI phenomenon
ConfigurationConfiguration
Convention over configuration
“ ”Out of intense complexitiesintense simplicities emerge.
Winston Churchill
Developing with Developing with CocoonCocoon
Two types of developer
Ant
Maven Cocoon plugin
What Rails does What Rails does rightright
“ ”Simplicity is the ultimate sophistication
Leonardo da Vinci
Write less code
Don’t repeat yourself
Rails meetsCocoon:Raccoon
Template application
Dynamic generation...
Cool videos
Starting a Cocoon app
QuickTime™ and aAnimation decompressor
are needed to see this picture.
QuickTime™ and aAnimation decompressor
are needed to see this picture.
Adding “controller”
QuickTime™ and aAnimation decompressor
are needed to see this picture.
Databases
QuickTime™ and aAnimation decompressor
are needed to see this picture.
Dynamic forms
QuickTime™ and aAnimation decompressor
are needed to see this picture.
Any questions?