Best practises for HTML5 servers (Devaamo Summit 2012)
Upcoming SlideShare
Loading in...5
×
 

Best practises for HTML5 servers (Devaamo Summit 2012)

on

  • 1,433 views

Presentation by Otto Kekäläinen at Devaamo summit on 2012-06-16

Presentation by Otto Kekäläinen at Devaamo summit on 2012-06-16

Statistics

Views

Total Views
1,433
Slideshare-icon Views on SlideShare
1,332
Embed Views
101

Actions

Likes
0
Downloads
7
Comments
0

2 Embeds 101

http://seravo.fi 99
http://seravo.uljas.sange.fi 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Best practises for HTML5 servers (Devaamo Summit 2012) Best practises for HTML5 servers (Devaamo Summit 2012) Presentation Transcript

    • Devaamo Summit 2012 Best practices for HTML5 servers Otto Kekäläinen Tampere 16.6.2012
    • Command and Conqueror
    • What is HTML5? 1995 1997 HTML 2.0 HTML 4.0 1999 2000 2001 2008 2011 May HTML XHTML XHTML HTML5 XHTML HTML5 4.01 1.0 1.1 Working 2.0 Last Call Draft 2005: CSS3 2011 June: ECMAScript 5.1 never?
    • What is HTML5? CACHE MANIFEST SVG NETWORK: WOFF /checking.cgi WEBM CACHE: /test.css localStorage.setItem('key', 'value'); /test.js localStorage.getItem('key'); /test.png <header> <footer> <article> <nav> <video> <audio> <canvas> <input type=”range”> <input type=”color”> Mark Pilgrim http://diveintohtml5.info/ function displayPosition(position) { var p = document.getElementById("p"); p.innerHTML = "<table'><tr><th>Timestamp</th><td>" + position.timestamp + "<tr><th>Latitude</th><td>" + position.coords.latitude + " deg</td></tr>" + "<tr><th>Longitude</th><td>" + position.coords.longitude + " deg</td></tr></table>"; } getCurrentPosition(displayPosition, displayError);
    • Why is HTML5 important? Flash Silverlight Java Applets
    • Why is HTML5 important? The universal runtime Any browser, any OS, any device (+ XULRunner, Prism, PhoneGap)
    • Universal means Big audience Lots of €€€€€
    • HTML success stories Google Facebook Twitter Youtube LinkedIn Amazon
    • The secret to global success? Leverage on open source! - small cost, forever - widely used, proven technology - best practices built in the most popular tools
    • If Google ran on Windows servers, could they ever really be a threat to Microsoft?
    • Why emphasize servers? - a security issue is more severe in server code than in client code - server failure is fatal - servers have running costs
    • Where do you want to go – directions: programming language framework storage http server caching delivery
    • for Python for Node.js Zend Framework for PHP ..or CakePHP Ruby on Rails for Java / J2EE
    • To SQL or NoSQL? Midgard2
    • Global popularity of http servers
    • HTTP server considerations forking vs. threading FCGI, WSGI Node.js? web sockets SDPY
    • Cache, Proxy, TLS, DNS ..
    • DevOps Test: Jenkins, Apache Bench, webpagetest.org Deploy: build scripts, snapshotting Monitor: Munin, Nagios/Icinga, logger, XMPP, Git hooks, services on the web (Pingdom, monitor.us) Manage: Know you Linux distro tools (Landscape, SUSE Manager)
    • Platform as a service Virtual servers as a service Hardware as a service Buy your own servers Build you own servers
    • See our blog at seravo.fi for nitty gritty details later this summer! http://wikitech.wikimedia.org/view/Presentations http://instagram-engineering.tumblr.com/post/13649370142/whatpowers-instagram-hundreds-of-instances-dozens-of http://www.slideshare.net/protocol7/spotify-architecture-pressing-play http://www.slideshare.net/adorepump/skytools-pgq-queues-andapplications
    • There is no one way. You should find you own path. Just remember that at a crossroad between an open and a closed source option, choose open source.
    • Product development success factors speed cost features Stay agile! quality
    • Contact Seravo Oy:n if you need Linux natives to develop and administer your Linux systems About the company: seravo.fi About the technologies: seravo.fi/blog