Web 2.0 sviluppare e ottimizzare oggi

1,375
-1

Published on

0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

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

No notes for slide

Web 2.0 sviluppare e ottimizzare oggi

  1. 1. Web 2.0 sviluppare e ottimizzare oggi alessandro cinelli (cirpo)
  2. 2. Chi sono • sviluppatore Php, Javascript e Java • membro Lugbs, Grusp, symfony-it • traduttore documentazione symfony, zend framework e ProGit • sviluppatore progetto phpCollab
  3. 3. perche’ siamo qui? • condividere • barcamp • webdebs
  4. 4. www.webdebs.org http://groups.google.com/group/webdebs http://www.linkedin.com/groups?gid=2801279&trk=myg_ugrp_ovr
  5. 5. www.webdebs.org
  6. 6. incontri • web 2.0 sviluppare e ottimizzare oggi • svcs: git e svn a confronto • symfony framework, un’introduzione • ...
  7. 7. sbadiglio
  8. 8. C’era una volta...
  9. 9. LEGO 1996
  10. 10. Apple 1997
  11. 11. Apple 2000
  12. 12. LEGO 2000
  13. 13. LEGO 2004
  14. 14. Apple 2004
  15. 15. LEGO 2010
  16. 16. Apple 2010
  17. 17. LEGO 1996
  18. 18. LEGO 2000
  19. 19. LEGO 2010
  20. 20. Apple 1997
  21. 21. Apple 2000
  22. 22. Apple 2004
  23. 23. Apple 2010
  24. 24. 2004 - oggi 2004 2005 2006 2007
  25. 25. Tim O’Reilly http://oreilly.com/web2/archive/what-is-web-20.html
  26. 26. Tecnologie Rest jquery cassandra xslt symfony HTML5 redis php agile svg RoR mvc java ajax python flex cloud Yui xsl MongoDb zend fm XHTML css3 nosql orm xml Ec2 DOM json comet mysql silverlight canvas wireframes groovy svn TDD flash Hadoop xunit mapreduce erlang couchDb git memcached microformat webservices websockets
  27. 27. HTML 5 http://www.foxtrot.com/2010/03/03212010/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+Foxtrotcom+(FoxTrot.com)
  28. 28. HTML 5 • canvas • svg • geo location • Html5Storage • web workers • audio • video http://diveintohtml5.org/
  29. 29. NoSql • Database documentali • CouchDb • MongoDb • Key/Value • MemcachedDb • Redis • Cassandra
  30. 30. YouTube • Apache • Python • Mysql • Lighthttpd(video) http://video.google.com/videoplay?docid=-6304964351441328559
  31. 31. YouTube while (true) { identify_and_fix_bottlenecks(); drink(); sleep(); notice_new_bottleneck(); }
  32. 32. YouTube Pagine servite • 11,574 al secondo • 694,444 al minuto • 41,666,667 all’ora • 1,000,000,000 al giorno
  33. 33. YouTube • CDN • NetScaler(Citrix) Load Balancer • Lighttpd • mini cluster per video • Estension scritte in C • Html Cache • Python Object Cache • BigTable images • Mysql
  34. 34. Facebook • 8 miliardi di minuti passati complessivamente ogni giorno • 2, 5 miliardi di foto caricate ogni settimana • 300 milioni di utenti
  35. 35. Facebook LOAD BALANCER WEBSERVER (PHP) SERVICES SERVICES(veloci, complessi) DATABASE(lento, persistente) MEMCACHED(veloce, semplice)
  36. 36. Facebook • php • java • erlang • python • ruby
  37. 37. Facebook • http://developers.facebook.com/ • http://video.fosdem.org/2010/maintracks/ facebook.xvid.avi
  38. 38. blog devs • http://code.flickr.com/blog/ • http://developer.yahoo.com/ • http://developers.facebook.com/
  39. 39. strumenti di sviluppo
  40. 40. • svcs • project management • continuos integration system* • wireframes/mockup • ide/editor • editor di immagini • browser
  41. 41. ide • vim • eclipse/aptana • netbeans • dreamweaver • textmate
  42. 42. ide/editor
  43. 43. monitor • nagios • mytop
  44. 44. debug lato server • xdebug • zend debugger
  45. 45. debug lato client • firebug • web developer
  46. 46. firebug
  47. 47. • framework • librerie • metodologie di sviluppo
  48. 48. ottimizzazione We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil -Donald Knuth- • lato server • lato client
  49. 49. ottimizzazione lato server • cache • web server • database
  50. 50. ottimizzazione • yslow • live httpheaders
  51. 51. ottimizzazione • http://code.google.com/closure/compiler • http://developer.yahoo.com/yui/compressor/
  52. 52. http://lugbs.linux.it
  53. 53. sickgirl.it
  54. 54. sickgirl.it
  55. 55. sickgirl.it
  56. 56. ungolperlavita.it
  57. 57. ungolperlavita.cirpo.org
  58. 58. ugplv.cirpo.org
  59. 59. domande ?
  60. 60. grazie a tutti :) • alessandro.cinelli@gmail.com • twitter.com/cirpo • http://delicious.com/cirpo • http://it.linkedin.com/in/cinellialessandro

×