Web

Getting started with Ruby on Rails

Getting started with Ruby on Rails

These are some of the tutorials and guides I’ve found most helpful while picking up Ruby on Rails 3. Ruby language: http://strugglingwithruby.blogspot.com/2008/11/contents-page.html http://www.zenspider.com/Languages/Ruby/QuickRef.html Installing Rails on Windows: http://railsinstaller.org/ Best “my first app” walk-through: http://guides.rubyonrails.org/getting_started.html Using “remote” to ajaxify links and forms: http://www.alfajango.com/blog/rails-3-remote-links-and-forms/ http://www.alfajango.com/blog/rails-3-remote-links-and-forms-data-type-with-jquery/ “Unobtrusive JS” library that ships with Rails 3: http://www.slideshare.net/philcrissman/ujs-in-rails-3-6775992 http://www.alfajango.com/blog/rails-jquery-ujs-now-interactive/ Use Twitter Bootstrap […]

Get Chrome "Side Tabs" back (kind of)

Get Chrome “Side Tabs” back (kind of)

Thousands of people, including myself, cried out in terror when Google removed the “Side Tabs” from Chrome. I tried for one month to settle into Firefox + Firebug + Tree Style Tabs as my main browser, but that combination is nowhere near is snappy as Chrome for my workload. My workaround has been to use […]

New Firebug feature: console.timeStamp

New Firebug feature: console.timeStamp

Firebug recently added an awesome new API; console.timeStamp lets you to create named “events” in the Net panel: This technique requires manual instrumentation and isn’t as detailed as the Timeline panel in Chrome/Safari or a heavy-weight tool like dynaTrace, but it’s a nice, simple, uncluttered view compared to those other tools. I used it today […]

Rules for optimal web site performance

Rules for optimal web site performance

I’ve been working to improve the performance a large site at Amazon.  Steve Souders has written two excellent books that explain browser/http best practices.  A few of the rules were new to me and very helpful (flushing/mod_deflate settings, different browser techniques to defer Javascript).  The important take-away is that only a small fraction of typical […]