• Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,593
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
15
Comments
0
Likes
2

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. How do you, like,split your web site up?You know what I mean? A tech talk at Paperless Post by Alex Payne November 2012
  • 2. Beginner:How do you organize the code for your site?
  • 3. site.php
  • 4. site.phpclass Page {}class Login extends Page {}...
  • 5. site.php db.php
  • 6. site.php db.php helpers.php
  • 7. Model View Controllerperson.php login.php auth.php
  • 8. Advancing:How do you break a webapplication into multipleprograms? How do they talk to one another?
  • 9. dat_app
  • 10. dat_app
  • 11. Database as point of coordination nightly.rbdat_app
  • 12. Databasestore as point of coordination nightly.rbdat_app
  • 13. Cache as point of coordinationdat_app hourly.rb
  • 14. Message Queuesdat_app worker1 worker2
  • 15. RPC via native serializationchat DRb dat_app worker1search worker2
  • 16. RPC via JSONchat dat_app worker1search worker2
  • 17. RPC pro-stylechat dat_app worker1search worker2
  • 18. «pause»
  • 19. chatsite.php search
  • 20. WE STILL HAVENT TALKED ABOUT:‣ Monitoring‣ Multi-datacenter support‣ Service discovery‣ Deployment‣ Schema migrations‣ Analytics/data mining‣ ....
  • 21. 1. Web development isnt inherently difficult, but it gets really challenging really quickly.
  • 22. 2. This is why the future belongs to PaaS.
  • 23. Thanks!