Your SlideShare is downloading. ×
  • Like
Modern web application model
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Modern web application model

  • 2,208 views
Published

 

  • 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
2,208
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
18
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. Modern Web application model Michał Taberski m.taberski@gmail.com Poznań 9 December 2010czwartek, 9 grudnia 2010
  • 2. What kind of apps do we like to use?czwartek, 9 grudnia 2010
  • 3. What kind of apps do we like to use?czwartek, 9 grudnia 2010
  • 4. What kind of apps do we like to use?czwartek, 9 grudnia 2010
  • 5. What kind of apps do we like to use?czwartek, 9 grudnia 2010
  • 6. What kind of apps do we like to use?czwartek, 9 grudnia 2010
  • 7. What kind of apps do we like to use?czwartek, 9 grudnia 2010
  • 8. What kind of apps do we like to use? GitHubczwartek, 9 grudnia 2010
  • 9. What is common for those apps? GitHub ?czwartek, 9 grudnia 2010
  • 10. What is common for those apps? an instant answer GitHubczwartek, 9 grudnia 2010
  • 11. So why we can`t provide it ? Rails by default do everything on server side if we want some Ajax we have to do it by ourself our Ajax solutions requires additional work, and time we don`t have time to do every detail in Ajaxczwartek, 9 grudnia 2010
  • 12. but how they do this? They use a lot of JS (Oh... We landed on the moon !!!) A( those apps are RESTful (nice, like a Rails App) They render views on client sideczwartek, 9 grudnia 2010
  • 13. How it works? Server provides templates (eg. mustache like) as an answer for first request, and JSON data to fi( it When event is tri*ered, browser ask for JSON data (pure RESTful request) browser SERVER Server gives just JSON data* * - Because they fi( templates using JS, they can display data in a fancy way eg. like project navigation in GitHubczwartek, 9 grudnia 2010
  • 14. We already do something like that... Moje JSON driven communication Miasto app SERVERczwartek, 9 grudnia 2010
  • 15. Rails way thinking... JSON driven communication View Model Controllerczwartek, 9 grudnia 2010
  • 16. My question is: Is it possible to painless bring V from MVC to client side?czwartek, 9 grudnia 2010
  • 17. Thank you for attention Michał Taberskiczwartek, 9 grudnia 2010