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

saleemasad
saleemasad
12,126 Points

Is it possible or a good idea to be able to build a site with ruby and integrate wordpress?

Anyone have any insight on this or experience?

6 Answers

Andrew McCormick
Andrew McCormick
17,730 Points

Almost anything is possible. What would be the advantage you are trying to gain? Are you trying to create a site and then only use pieces from a WordPress installation? If so, check out some of the links referenced here: Treehouse fourm post: wordpress-integration-into-custom-site

You're not going to be able to efficiently mix rubgy and php code on the same page, so you would have your ruby site making AJAX or some kind of calls to get info from the Wordpress site (remember that you would be installing a Wordpress site, there is no half WordPress install)

saleemasad
saleemasad
12,126 Points

I'm just wondering. I've been using the "built with" extension for chrome and have seen a few sites that user ruby and wordpress. My guess is if you build something in ruby but want to add a blog to it. Is there a better way to have a blog integration with ruby? Maybe something a little more streamlined?

saleemasad
saleemasad
12,126 Points

interesting i'll have a look.

Andrew McCormick
Andrew McCormick
17,730 Points

well that's no fun, why make it easier on yourself...lol

if you're going down that road, you can always just use Jekyll http://jekyllrb.com/

saleemasad
saleemasad
12,126 Points

Interesting! Well basically I'm trying to figure out the best way to go. What would you suggest if you where building a marketplace in ruby and wanted blog functionality or say a forum like treehouse?

Andrew McCormick
Andrew McCormick
17,730 Points

Sorry, I wouldn't know what to recommend. My Ruby points are 0, I'm a PHP guy. I was just trying to find links to help you out and I've always heard a lot of people like Jekyll.

saleemasad
saleemasad
12,126 Points

aha! thats ok I appreciate the help Andrew!