• Like


Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, Spain


We rails people tend to think of Rails as the center-piece of web development. The same thing can be said of .net, Spring/Java Server Faces, Drupal, Python or name-your-web-framework-of-choice-here …

We rails people tend to think of Rails as the center-piece of web development. The same thing can be said of .net, Spring/Java Server Faces, Drupal, Python or name-your-web-framework-of-choice-here people.

Web frameworks are just a component of web applications, and if you want to succeed you better know the miriads of other components beyond your rockstar code.

In my session I will talk about things you must take into account and tools/techniques you should master if you want to make a difference in web development, independently of your development language/framework.

Talk delivered at conferencia rails 2010 in Madrid, Spain.

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


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Rails is not Enough by javier ramírez @supercoco9 jramirez@aspgems.com http://javier-ramirez.com
  • 2. controller response internet view web server model request model database A monkey's view of weB development
  • 3. Standing on the shoulders of giants Ignoring HTTP, HTML, JavaScript or CSS is not an option Code like a pro. Validate! Protect yourself, use frameworks
  • 4. Run FORREST RUN https://code.google.com/speed/page-speed http://developer.yahoo.com/yslow/ https://www.facebook.com/notes/facebook-engineering/bigpipe- pipelining-web-pages-for-high-performance/389414033919 http://yehudakatz.com/2010/09/07/automatic-flushing-the-rails-3-1-plan http://github.com/mkelly12/google_closure_compiler
  • 5. Size Doesn't matter, if you know how
  • 6. Adding muscle Server Configuration management and provisioning Cloud services http://opscode.com/chef http://puppetlabs.com Deploy strategies http://github.com/capistrano http://github.com/lg/murder http://github.com/calavera/marabunta
  • 7. Reducing load User external servers Page/reverse proxy caching Key/value middlemen Distribute (queue, map reduce...) Set limits Display less content Degrade gracefully http://www.railsinside.com/case-studies/421- kgb-scaling-superbowl-traffic-case-study.html
  • 8. Paul the octopus
  • 9. Look for traffic patterns (peak hours and “valleys”) Test your site Apachebench httperf Jmeter Do the maths (req/s)*60*60 (req/s)*60*60*100/(busiest % hour) Our numbers: 7% 11 million pageviews/month 8 boxes ~37 million pageviews limit
  • 10. Plan For Failure
  • 11. My other car is a porsche
  • 12. Sharpening your axe
  • 13. Ruby Data Storage Algorithms (sorting, map/reduce, sawzall...) ACID SOLID general programming Concepts
  • 14. How much did your business Yesterday?
  • 15. How many visitors I get? How many pages they see? Why are they getting here? What's the entry/exit point? Where are they going? Which pages are engaging? Is my workflow too complex? Am I doing better than before? How much did my business today? http://google.com/analytics http://web.analytics.yahoo.com http://omniture.com http://clicktale.com http://coremetrics.com http://percentmobile.com http://webtrends.com http.//feedburner.com http.//piwik.org
  • 16. Do you know who enters your shop? https://www.google.com/adplanner
  • 17. How can I help you? Are you happy with me? What do you like about me? Am I missing the point? https://www.kissinsights.com http://www.4qsurvey.com http://getsatisfaction.com http://uservoice.com How popular/unpopular am I? http://blogpulse.com http://icerocket.com http://thinkupapp.com https://analytics.postrank.com http://www.google.com/alerts
  • 18. Mirror mirror on the wall Who in the land is fairest of all? http://compete.com http://google.com/trends
  • 19. If you build it, they will come
  • 20. Mr. Obvious SEM PR Twitter => 126 Facebook => 130 Buttons/banners Share profits
  • 21. quack like a duck what's the message I'm sending? => webmaster tools Internal/external searches => webmaster tools & analytics Google adwords keyword tool http://google.com/insights/search http://youtube.com http://delicious.com
  • 22. The Scientific method A/B Testing https://optimizely.appspot.com http://google.com/websiteoptimizer A/B Testing for Ads Adwords campaign experiments
  • 23. Uxymoron Non-standard interfaces, usually hard to build, making the users more likely to make mistakes and find the design much more difficult to use Also said of the moron who thought it was such a great idea to implement that interface
  • 24. Jakob's Law of the Internet User Experience Users spend most of their time on other sites. This means that users prefer your site to work the same way as all the other sites they already know alike http://www.useit.com/alertbox/20000723.html
  • 25. RTFC Read The F***king Code Google Microsoft Yahoo Twitter Facebook LinkedIn Xing Github...
  • 26. All together now! Standards are cool Analyse & Measure Remember the client-side Have a conversation Think big, keep small Shout your name Estimate Make an educated guess Have a B plan Be easy to use Keep learning
  • 27. javier ramírez @supercoco9 jramirez@aspgems.com http://javier-ramirez.com All the images were found via http://ffffound.com. Many thanks to their authors