You are here: Home Blog Discover the Ruby on Rails community

Oakley on Rails

October 24th, 2007


Oakley Rails

Oakley is known across the world for its high-end sunglasses and ski goggles.

Over the last few months, Oakley have been switching their main public facing site from PHP to Rails. It serves over a million unique visitors a month. In this interview we talk to Ken Loh, Director of Web Operations at Oakley. Find out why we had made the decision to move to Rails, the challenges he and his team faced, the benefits it has brought, and more.


Adoption

Q: What made you choose Rails for your development platform?

We were currently running PHP but decided to go with Rails since it had an established, sensible framework. We are large proponents of web standards, accessibility, clean markup and semantics, all of which seem to be very much in line with the concepts that drive Rails. We wanted a framework that was structured enough that had “proper” ways of doing things so everyone on the team could adhere to some standard, yet flexible enough to be able to customize to suit our needs. There were other PHP frameworks that we considered for a brief moment, but ultimately felt they were just “me too” versions of Rails. I also liked the fact that we could have our designers and frontend developers stay in specific directories that were relevant to them (views, layouts, stylesheets, etc) while leaving the major functional components of the site to the backend developers. Our company thrives on innovation and the ability to move fast so we needed a platform that could accommodate rapid development with a solid foundational structure underneath.

Q: How easy was it to get Rails accepted by upper management?

Very easy. They pretty much left the choice up to me (great management), and I let the developers, whom I trust implicitly, drive the recommendation. The developers who brought Rails to the table (Paul Haddad and Mark McDonald) have tons of experience in several programming languages and they had high enthusiasm for the platform, stating it was one of the best they had ever used, so it made it an easy decision for me.

Team

Q: How did you recruit your team?

Currently have 6 developers. 3 backend, 3 frontend. Some of the players were already on the team I inherited (lucky me), and others we got through extensive, exhaustive interviews. Can’t really cite a single source that provided a slew of good candidates. Had to really dig for them. Wish I knew about this site earlier.

The rest of the team is comprised of web designers, graphic artists, content specialists, producer, sys admin, QA analyst, a large telesales team, and of course a few managers and coordinator to keep things running smoothly.

Q: How easy was it to find the right people?

Extremely difficult. Still have an open head I can’t seem to fill. Help!!

Q: What is their background?

Mixture of talent that includes PHP, Perl, Java, Javascript, OO and obviously Ruby on Rails. Mostly Open Source guys who are fans of Apple, Linux, and Apache. On the frontend side, we emphasize strict XHTML and CSS expertise.

Q: Do you all work in the same location?

Mostly all at the same location, but one works remotely from Dallas (we are in California). We utilize Skype often to stay in communication.

Q: What development practices do you use?

We utilize both Agile and Pair programming practices, but probably not in the most traditional sense. We’re fairly casual about the way we work.

Application

Q: Are you porting an existing application or starting from scratch?

Both. We launched a new site in March this year where we re-built the eCommerce portion and some key marketing portions in Rails. We are still running a legacy PHP content management system for some areas of the product catalog and shopping cart, but we’re in the process of changing that out (and improving functionality at the same time). The new site also has some soon-to-be-obsolete sections (Sports and Community) which we are re-engineering from the ground up in Rails. Prior to our launch we did not have adequate staff to take on the entire project ourselves so we worked with a third party to help create those sections. All new development since March has been in-house and in Rails. We hope to replace all of the Java/Tomcat bits with our new Rails applications by the end of this year.

Q: What type of functionality does the web site provide?

4 major sections.

PRODUCTS – This one is obvious, but we want to have the best shopping experience possible, so we’re constantly trying to reinvent ourselves.

INNOVATION – Demonstrates why our products are superior to the competition and teaches our customer about the technology and inspiration that drive our product design.

SPORTS – Showcase the world-class athletes we sponsor and provide multimedia. We’re currently re-working this section with some new ideas that should blow some people away.

COMMUNITY – Currently not a community site in the truest sense of the word since it’s mostly “push” content, but this is another area we are currently re-working to better showcase our brand, celebrate our loyalists, and allow customer participation. Should be launching in the near future.

Q: What sort of traffic do you anticipate?

We get about a million unique visitors a month. Traffic has gone up since our redesign (launched March 07) and and expect it to continue to grow as we add more features to the site.

Q: Tell us a bit about the technical setup

Rails 1.1.6, mongrel, mysql, plist, RedCloth, Apache 2.2, RedHat 4, svn.

1 DB Server, 4 WebServers, 1 Hardware load balancer, 8 instances of mongrel/machine.

Q: What have been the main challenges along the way?

Migrating PHP developers over to Rails. Some took to it much faster than others, but others struggled with learning a new language. I’m desperately trying to find time to learn it myself, but 1) time is hard to come by for me and 2) my background is on the creative side of things so some of the programming concepts are a little over my head. All of the developers and some designers have done a great job of getting up to speed fast.

Q: How long has it taken to develop?

Initial launch took roughly 6 months (wasn’t a full conversion...just parts of the site) and we’ve been working on additions and enhancements for the past 7. I don’t think we’ll ever be “done.”

Q: What has been the best thing about using Rails?

Solid framework. Simplicity in centralizing / re-using code. Quick development and deployment. Plus, the developers just love working with it.

Q: Any chance of some Oakley merchandise for the next Hackfest Winners?

How about I send you a new OROKR PRO. It’s our latest electronics product we just released a few weeks ago. Comes in black or white...black is typically our most popular color, but you can choose what you think would be best.

Q: Closing Words

As mentioned previously, we’re currently working on some very exciting stuff that I can’t wait to launch, particularly in Sports and Community. But after that, we’ve got other plans in the works as well that will not only expand the functionality of those sections, but other areas of the site as well. Even though we just launched the site in March, it has been and will continue to be in a constant state of evolution, so I think it should be one that will be interesting to keep an eye on. We’re just getting started.

Editors Note: Oakley currently have a vacancy for a back-end web developer to come join the team. See the job ad for further details


Enjoy the article? Digg It and help promote Rails.

Scotland on Rails will be taking place in Edinburgh 4th-5th April 2008.

The local Scottish Ruby Users Group is running the conference.

If you'd like to present a tutorial or session you may submit a proposal now.

The deadline to get your proposal in is 31st December 2007, so plenty of time to get thinking.


"Edinburgh has one of the most beautiful cityscapes in the world, making it the ideal city break destination. With Scotland's most famous castle dominating the city skyline, there is plenty to see and do with the perfect balance between all things traditional and contemporary.

Edinburgh

Discover world-class museums and galleries, take a tour on an open-top bus or even visit the city's own zoo. From the world famous Festivals to top-class restaurants and bars, not to mention fabulous shopping, you'll be spoilt for choice. " - http://www.edinburgh.org/

Got an event you would like to tell the community about? Drop us a line

Enjoy the article? Digg It and help promote Rails.

Rails adoption world wide

August 29th, 2007


Not long ago the 8000 developer mark was reached on Working With Rails.

On a related note Aslak Hellesøy has recently produced a nice report showing the distribution of Ruby on Rails developer across the globe:

  1. Denmark (100.0% : 64/5.4 mill)
  2. New Zealand (66.15% : 33/4.2 mill)
  3. Sweden (63.02% : 68/9.1 mill)
  4. Ireland (56.06% : 28/4.2 mill) 5 ...

See full details over at Aslak's blog

Enjoy the article? Digg It and help promote Rails.

With just 10 days to go things are hotting up in the July Hackfest.

July Hackfest

Lots of movement in the top 10 with Matt Palmer now threatening to take the top spot from Pratik who has been holding for the last week. We have also seen a lot of new entries today. Plenty of excitement still to come and some serious prizes up for grabs.

Watch the action continue

Enjoy the article? Digg It and help promote Rails.

Bob Ruby on Rails just isn't ready for anything serious. None of the big guys are using it.

BillOh yeah? So what do Amazon, BBC, Cisco, Electronic Arts, IBM, and NASA all have in common?

Bob They are all well known organisations right?


BillYes, and they are all using Rails.



These are just some of the big names using Ruby on Rails in the work place. Carry on to see the big list of prominent organisations using Ruby on Rails.

Enjoy the article? Digg It and help promote Rails.

Developers in 100 countries around the world now use Ruby on Rails. A landmark occasion.

This is great news for the industry and just shows how wide spread the adoption of Ruby on Rails is becoming. As reported by Computer World, Rails is living up to its name by being the number one technology to know

In just a few short months, WorkingWithRails has brought together the wonderful world of RoR developers. WWR has become a trusted source for finding out about who is doing what with Rails around the globe.

Details of nearly 7,000 of the most prolific RoR developers are registered, including virtually all the big name core developers, bloggers and plug-in developers, WWR is becoming more valuable by the day. Whilst we can't hope to double the number of countries in which we have registered users, we're excited about hitting 10,000 developers and we're confident this will happen quickly.

Even having said all that, we've got even more exciting plans for WWR - new features that will make the site even more useful for all its participants.

We've had lots of feedback from the community about different ways WWR has helped bring people together and further the common cause: building great Rails applications.

We'll close with just one example of a great comment we received from a happy WWR user:

"Working With Rails has been a great networking resource for me, and I've only been using it for two weeks! I'd love to give back something for the great help it has been in my Rails career." - PJ Cabrera

Enjoy the article? Digg It and help promote Rails.