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

General Discussion

Luca Argenziano
Luca Argenziano
16,416 Points

Best approach to build a control panel for a website

Hi, I have a question about backend development. I'm considering taking a client who want a logo redesign and a website with a control panel for update the product page. I want to specify that this is not an e-commerce.

Since it's the first time for me in doing something more than frontend development, I would like to know what could be the best practice for build this thing: going Wordpress or build a control panel on my own?

And if building my control panel is the best option, what approach I must considerer? I already looked at available trucks, and both PHP development and Ruby on Rails looks right for me for this project.

Hope you could help me in figuring out what to do ;-)

2 Answers

Kevin Korte
Kevin Korte
28,149 Points

I guess it depends on what the back end needs to do. I've done it both ways. Wordpress you get a lot for free, and if you can build a suitable back end for the client using something like Advanced Custom Fields plugin, it's kinda good for the client since it'll be easier for them to update their backend by hiring another wordpress developer if you're not available down the road for them.

But there is a point where you might have to twist, bend, and contort wordpress enough where it no longer becomes worth it. Just depends on what kind of custom data, and relational data the product needs. Than you have to decide between all the different languages and frameworks. Any of them would do it.

Be careful not to compare php to ruby on rails. You're comparing a language to a framework. Compare php to ruby, or laravel to rails, that way it's apples to apples.

If you're going to build one of these solutions, you should spend some time learning about all of them, and that information will lead you to make the best decision. There isn't a wrong answer here, there are just better answers.

Gary Jennings
Gary Jennings
22,408 Points

For my first client website I used PHP and coded an admin panel myself. I do not recommend doing that, its just so much work. Using a framework like ruby on rails or laravel is nice because they have thought of a bunch of things you might miss, such as form tokens, form validation, password hashing, and a bunch of other stuff. You can code all of that yourself in PHP, but it probably wont be as good as what the laravel guys have done.

If you are new to PHP, you probably want to do a few simpler php projects before you get into laravel. A simpler option I hear is to use something like WordPress, which I dont know too much about.