47
Simplifying Cocoon Cocoon GetTogether, Amsterdam 7th October 2005

Simplifying Cocoon

Embed Size (px)

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

Page 1: Simplifying Cocoon

Simplifying CocoonCocoon GetTogether, Amsterdam

7th October 2005

Page 2: Simplifying Cocoon

Why?Why?

Page 3: Simplifying Cocoon

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.

Page 4: Simplifying Cocoon

“ ”Three great virtues of programmingare laziness, impatience, and hubris.Larry Wall

Page 5: Simplifying Cocoon

Laziness

Page 6: Simplifying Cocoon

Impatience

Page 7: Simplifying Cocoon

Hubris

Page 8: Simplifying Cocoon

Is it right?

Page 9: Simplifying Cocoon

Running CocoonRunning Cocoon

Page 10: Simplifying Cocoon

“”

Everything should be madeas simple as possible,but not simpler.

Albert Einstein

Page 11: Simplifying Cocoon

./build.shBUILD SUCCESSFULTotal time: 12 minutes 26 seconds

Page 12: Simplifying Cocoon

Binary or not?

Page 13: Simplifying Cocoon

./cocoon.sh servlet

Page 14: Simplifying Cocoon

./cocoon.sh

Page 15: Simplifying Cocoon

Easy Install

Page 16: Simplifying Cocoon

Building CocoonBuilding Cocoon

Page 17: Simplifying Cocoon

Blocks, M2, obsolescence

Page 18: Simplifying Cocoon

The GUI phenomenon

Page 19: Simplifying Cocoon
Page 20: Simplifying Cocoon
Page 21: Simplifying Cocoon
Page 22: Simplifying Cocoon

ConfigurationConfiguration

Page 23: Simplifying Cocoon

Convention over configuration

Page 24: Simplifying Cocoon

“ ”Out of intense complexitiesintense simplicities emerge.

Winston Churchill

Page 25: Simplifying Cocoon
Page 26: Simplifying Cocoon

Developing with Developing with CocoonCocoon

Page 27: Simplifying Cocoon

Two types of developer

Page 28: Simplifying Cocoon

Ant

Page 29: Simplifying Cocoon

Maven Cocoon plugin

Page 30: Simplifying Cocoon

What Rails does What Rails does rightright

Page 31: Simplifying Cocoon

“ ”Simplicity is the ultimate sophistication

Leonardo da Vinci

Page 32: Simplifying Cocoon

Write less code

Page 33: Simplifying Cocoon

Don’t repeat yourself

Page 34: Simplifying Cocoon

Rails meetsCocoon:Raccoon

Page 35: Simplifying Cocoon

Template application

Page 36: Simplifying Cocoon

Dynamic generation...

Page 37: Simplifying Cocoon

Cool videos

Page 38: Simplifying Cocoon

Starting a Cocoon app

Page 39: Simplifying Cocoon

QuickTime™ and aAnimation decompressor

are needed to see this picture.

QuickTime™ and aAnimation decompressor

are needed to see this picture.

Page 40: Simplifying Cocoon

Adding “controller”

Page 41: Simplifying Cocoon

QuickTime™ and aAnimation decompressor

are needed to see this picture.

Page 42: Simplifying Cocoon

Databases

Page 43: Simplifying Cocoon
Page 44: Simplifying Cocoon

QuickTime™ and aAnimation decompressor

are needed to see this picture.

Page 45: Simplifying Cocoon

Dynamic forms

Page 46: Simplifying Cocoon

QuickTime™ and aAnimation decompressor

are needed to see this picture.

Page 47: Simplifying Cocoon

Any questions?