The Bowler Web                            FrameworkThursday, 14 April 2011
InspirationThursday, 14 April 2011
The Bowler Stack                    Scalatra + Scalate + Lift JSON = BowlerThursday, 14 April 2011
Principles                     • RESTful: respect HTTP                     • Render Resources, not Views                  ...
Routes                     •    Routes are HTTP verbs (get, post, put, delete)                     •    Can have named par...
Rendering                                  Extend Renderable trait                          render(myModelObject1, myModel...
•    A RenderStrategy decides the ViewRenderer to use                     •    DefaultRenderStrategy decides based on HTTP...
Layout                          Resource ViewThursday, 14 April 2011
From HTTP to Scala                     •    GET & DELETE cannot create new complex                          objects, only ...
Four Key Traits     define your routes                      map from HTTP                           validation             ...
..there’s a lot more!                     • http://bowlerframework.org                     • http://www.github.com/wfaler/...
Upcoming SlideShare
Loading in...5
×

Short Introduction to the Ideas Behind Bowler

1,790

Published on

A short deck of slides used to introduce some of the core ideas behind the Bowler web framework: http://bowlerframework.org

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,790
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Short Introduction to the Ideas Behind Bowler

  1. 1. The Bowler Web FrameworkThursday, 14 April 2011
  2. 2. InspirationThursday, 14 April 2011
  3. 3. The Bowler Stack Scalatra + Scalate + Lift JSON = BowlerThursday, 14 April 2011
  4. 4. Principles • RESTful: respect HTTP • Render Resources, not Views • Composability (with sensible defaults)Thursday, 14 April 2011
  5. 5. Routes • Routes are HTTP verbs (get, post, put, delete) • Can have named parameters, wildcards, regexThursday, 14 April 2011
  6. 6. Rendering Extend Renderable trait render(myModelObject1, myModelObject2) or.. [{"id":1,"name":"AWidget","yearMade": 2011,"description":"hello world"}]Thursday, 14 April 2011
  7. 7. • A RenderStrategy decides the ViewRenderer to use • DefaultRenderStrategy decides based on HTTP Accept HeaderThursday, 14 April 2011
  8. 8. Layout Resource ViewThursday, 14 April 2011
  9. 9. From HTTP to Scala • GET & DELETE cannot create new complex objects, only lookup • POST & PUT can create any object ..all about respecting HTTP!Thursday, 14 April 2011
  10. 10. Four Key Traits define your routes map from HTTP validation renderingThursday, 14 April 2011
  11. 11. ..there’s a lot more! • http://bowlerframework.org • http://www.github.com/wfaler/Bowler • @bowlerweb on TwitterThursday, 14 April 2011
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×