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 trialJoseph Torres
6,282 PointsBuilding 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
8,086 PointsYour 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
6,282 PointsJoseph Torres
6,282 PointsThank 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
8,086 PointsJonathan Rhodes
8,086 PointsIf that is the case, I would highly recommend learning JavaScript. It is has more application in the front-end side of things.