Your SlideShare is downloading. ×
Short Introduction to the Ideas Behind Bowler
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

Short Introduction to the Ideas Behind Bowler

1,769

Published 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

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,769
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
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

×