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

Joseph Torres
Joseph Torres
6,282 Points

Building Web Applications with PHP

I hear a lot of folks saying that this web application and that application was built in PHP. What Im wondering is that can you also build a GUI with PHP? I know PHP is a server side scripting language but I know you can do more. Should I learn JS or PHP first since Im dealing with Wordpress right now???

1 Answer

Jonathan Rhodes
Jonathan Rhodes
8,086 Points

Your user interface when using either language will be coded in HTML and CSS. Think of PHP and JavaScript as a way to manipulate data on the page and that interface. I am not very familiar with the finer details of Wordpress, but I know it relies heavily on PHP. Additionally, I believe there is stronger support for PHP in Wordpress than there is for JavaScript. It would help to learn both, since JavaScript can easily manipulate the DOM in real time.

Joseph Torres
Joseph Torres
6,282 Points

Thank you, Jonathan. I'm striving to be a Front-End Dev one day and I know PHP is for the backend but I'm also learning Wordpress so I thought a little PHP would help. I'm not too interested in the back end to be honest.

Jonathan Rhodes
Jonathan Rhodes
8,086 Points

If that is the case, I would highly recommend learning JavaScript. It is has more application in the front-end side of things.