Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Which language is majorly used to make treehouse website?

Which backend language was majorly used to make the team treehouse website? Is it ruby or PHP? If ruby then which gems were used majorly?

7 Answers

Hi Rohit, it's primarily Ruby on Rails. Per Github, 62% Ruby, 20% CSS, 12% JavaScript, 5% CoffeeScript, and < 1% other stuff. You could build Treehouse based on what we teach!

Thanks Christopher and james So then get ready for competition...I am going to make a similar website...Hahaha (evil laugh) :P Just kidding but I would like to thank each and every member of treehouse for this wonderful initiative. :)

Hi Johan, we built our own custom CMS with straight Ruby on Rails + Bootstrap. It allows us to upload, publish content and track it.

Tommy Morgan, do you have any comments on how it works?

Tommy Morgan
Tommy Morgan
Treehouse Guest Teacher

I don't think it's really fair to call it a CMS, even if the definition technically applies. Treehouse is pretty much all custom Rails code - the forums, code challenges, quizzes, and video delivery are all hand-made in our factory in Taiwan. :wink:

We could've used an off-the-shelf product or library to build the site around, certainly, but while that kind of thing helps with getting a product launched quickly, it also severely hampers your ability to iterate and improve. Having everything based off of our custom code has allowed us to make a lot of the changes you've seen to Treehouse since its launch very quickly and easily compared to what we would've needed if we'd been, say, a bastardized WordPress or (shudder) Joomla setup.

Hope that answers your question Johan Hernández - I'm watching the thread if you (or anyone else) have any followups :)

Johan Hernández
Johan Hernández
4,141 Points

Good question! As a student I would like to know more of how it works... Does it use a CMS or what?

You know what would be best? If we could have a tutorial on how to make some of the elements of this site. I mean the social networking website we are making in the ruby adventure is basically using a lot of plug ins. I wish we could learn to make them using ruby.

Tommy Morgan
Tommy Morgan
Treehouse Guest Teacher

We definitely use plugins, though :) The Gemfile for Treehouse is 145 lines long - although most of the stuff we do involves creating custom code, we also take full advantage of any existing libraries/plugins that do what we want/need. One of the great advantages of using Ruby is the access you have to the Ruby ecosystem, which exhibits a thriving culture of sharing code. In fact, there are a few libraries that we wrote here at Treehouse that we've open-sourced and released as ruby gems.

So I wouldn't be too hard on using plugins. For any sufficiently complicated site you'll need to branch out and do your own custom development, but learning to work with plugins and other open-source libraries is a pretty solid start.

Johan Hernández
Johan Hernández
4,141 Points

You at Treehouse ROCK!!! I came here with knowledge in HTML and CSS and decided to take the courses from the beginning and I still learned a lot and will learn much more. I'll continue studying with you.

Thank you Christopher Peters and Tommy Morgan