Your SlideShare is downloading. ×
PPT: ApacheCon presentation EU 2007
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

PPT: ApacheCon presentation EU 2007

432

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
432
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Cocoon has not always been this way, but has increased in the number of features over the years.
  • {1} represents the value of the ** in the match pattern
  • Model: The form model is defined by a form definition. This is an XML file describing the structure of the form. Template: The presentation of the form is (usually) handled by a form template. The form template is an XML file (e.g. an XHTML file, but this could be any markup). Binding: To fill the form with data from a bean or XML document, a binding framework is available.
  • Picture taken from: http://www.flickr.com/photos/mell242/46500577/ A continuation is a representation of some of the execution state of a program at a certain time.
  • A very cool demonstration of the power of Cocoon
  • Cocoon 2.1: Ant, Avalon-based
  • Transcript

    • 1. Basic web application development with Apache Cocoon 2.1
      • Jasha Joachimsthal (jasha@hippo.nl)
      • Jeroen Reijn (j.reijn@hippo.nl)
      • 4 May 2007
      • Amsterdam, The Netherlands
    • 2. Are you using Cocoon?
    • 3. Agenda
      • What is Cocoon?
      • A bit of history
      • Cocoon basics
      • Demo
      • Why Cocoon?
      • Future of Cocoon
      • Q&A
    • 4. What is Cocoon all about?
      • Web development framework
      • Java & XML
      • Separation of Concerns (SoC)
      • Content transformation
      • Dynamic multi-channel publishing
      • Inter-operability with other Java projects (Lucene, FOP, Spring, Hibernate, etc.)
    • 5. History
      • Cocoon 1
        • Started in Jan. 1999 by Stefano Mazzocchi
        • Simple servlet for XSL styling of XML
      • Cocoon 2
        • Rewrite for performance and scalability
        • More than just XSL transformations
    • 6. Connectivity
      • Collect data from multiple resources
      • Filesystem
      • SOAP webservice
      • LDAP
      • Databases (XML, SQL, Object)
      • WebDAV
      • XML feed
      • If that's not enough, use your current code in Cocoon from
      • JSF
      • JSP
    • 7. Connectivity
    • 8. Cocoon basics
      • Sitemap
      • Forms framework
      • Flow
      • Caching
    • 9. Sitemap
      • XML configuration file
      • Request handling
      • Where everything comes together
    • 10. Sitemap components
      • Pipelines
      • Matchers
      • Generators
      • Transformers
      • Serializers
      • Readers
      <map:sitemap> <map:components> <map:pipes/> <map:matchers/> <map:generators/> <map:transformers/> <map:serializers/> <map:readers/> </map:components> </map:sitemap>
    • 11. Pipelines
      • Contain matchers for (requested) URI
      • Example
    • 12. Pipeline example <map:pipeline> <map:match pattern= &quot;body-**.html&quot; > <map:generate type= &quot;file&quot; src= &quot;{1}.xml&quot; /> <map:transform type= &quot;xslt&quot; src= &quot;doc2html.xsl&quot; /> <map:serialize type= &quot;html&quot; /> </map:match> </map:pipeline>
    • 13. Cocoon Forms framework
      • Create forms
      • Ajax / Dojo
      • Model
      • Template
      • Binding (bean or xml)
    • 14. Go with the flow
      • Continuations
      • Rhino (Javascript)
      • JavaFlow
    • 15. Caching
      • Think about how you design your web application.
      • Four kinds of caching
      • Apache mod_cache
    • 16. Demo
      • Let’s show some stuff!
    • 17. Why Cocoon?
      • Powerful multi-channel publishing
      • Inter-operability
      • Active community
        • 20 + active committers (60 + overall)
        • 5500 mails on userlist in 2006
        • Annual GetTogether (100 + people)
    • 18. Future
      • Cocoon 2.2
        • Dependency management (M2)
        • Spring-based framework
        • Modularity
      • Cocoon 3?
    • 19. Resources
      • Website:
        • http://cocoon.apache.org/
      • Mailinglists:
        • [email_address]
        • [email_address]
      • Wiki:
        • http://wiki.apache.org/cocoon/
    • 20. Q&A?
      • Any questions?
    • 21. Latest version
      • http://people.apache.org/~jreijn/apachecon.html
      • Presentation
      • Demo sources

    ×