View
995
Download
0
Category
Preview:
DESCRIPTION
These slides were for a presentation at the Apache Cocoon GetTogether in 2005. From http://web.archive.org/web/20051221213534/www.cocoongt.org/speakers/andrew.html here is the synopsis: New frameworks such as Ruby on Rails are teaching the old dogs some new tricks. With the maxims of "write less code", "don't repeat yourself" and " convention over configuration", programming has become fun again. What can the Cocoon framework learn from this? Consider the lilies: most Java/XML developers fight with configuration and project building tools, and while they do XML situps, our Rails colleagues utter nice Zen-like 'umms' as their framework gently guesses at their thoughts. This session will point out the ways in which we can learn from our competitors and make life easier for our users. It will also introduce Racoon: all the fun of Rails, on Cocoon.
Citation preview
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?
Recommended