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

PHP

Specner Fontein
Specner Fontein
425 Points

Build Website for Mobile and Desktop

I am looking to build a responsive website for that can run in a mobile app, I looking at the tracks and it seems that either ruby on rails or php is best, any thoughts suggestions or which to go with, I want to connect this site to my SQL db which I say they can both do. But any ideas on which is better would be great.

Thanks

2 Answers

Jeff Jacobson-Swartfager
Jeff Jacobson-Swartfager
15,419 Points

RoR/PHP isn't going to be the deal breaker when it comes to responsive design. Responsive websites use a set of patterns and practices that you'll ultimately be producing with HTML, CSS, and JavaScript. Whatever backend you use to generate HTML/CSS/JS is really up to your preference.

Take a look at Ruby and PHP and see what looks more approachable to you. You'll be able to create an effective responsive site whichever way you go.

Personally, I prefer writing Ruby over PHP.

Roy Penrod
Roy Penrod
19,810 Points

If you're not already familiar with the patterns and practices that Jeff mentions, you'll probably want to start with the How to Make a Website course. It has a module on responsive web design that helped me when I was trying to wrap my head around it.

Responsive Layouts is another course that helped me.

Jeff Jacobson-Swartfager
Jeff Jacobson-Swartfager
15,419 Points

Thanks, Roy! These are great places to start learning responsive design. Thanks for including them!