Short Introduction to the Ideas Behind Bowler

  • 1,761 views
Uploaded on

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

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

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,761
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
2
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

Transcript

  • 1. The Bowler Web FrameworkThursday, 14 April 2011
  • 2. InspirationThursday, 14 April 2011
  • 3. The Bowler Stack Scalatra + Scalate + Lift JSON = BowlerThursday, 14 April 2011
  • 4. Principles • RESTful: respect HTTP • Render Resources, not Views • Composability (with sensible defaults)Thursday, 14 April 2011
  • 5. Routes • Routes are HTTP verbs (get, post, put, delete) • Can have named parameters, wildcards, regexThursday, 14 April 2011
  • 6. Rendering Extend Renderable trait render(myModelObject1, myModelObject2) or.. [{"id":1,"name":"AWidget","yearMade": 2011,"description":"hello world"}]Thursday, 14 April 2011
  • 7. • A RenderStrategy decides the ViewRenderer to use • DefaultRenderStrategy decides based on HTTP Accept HeaderThursday, 14 April 2011
  • 8. Layout Resource ViewThursday, 14 April 2011
  • 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. Four Key Traits define your routes map from HTTP validation renderingThursday, 14 April 2011
  • 11. ..there’s a lot more! • http://bowlerframework.org • http://www.github.com/wfaler/Bowler • @bowlerweb on TwitterThursday, 14 April 2011