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
Ethan Paz
1,344 PointsWhen will PHP's importance finally make sense?
Hello,
I learned JavaScript and its framework JQuery a year ago and have finally decided to get back into web design again- or shall I say programming. As you may know, JavaScript can do basically anything. Although JavaScript speaks to the browser and PHP to the server, I am still failing to see the importance of PHP in regards to web design.
PHP has thousands of functions (it seems). However, all these functions and the immensity of them has me overwhelmed. To make matters worse, I am failing to see why I should know these functions when functions like "var_dump" seem useless to me.
How far along in PHP do you have to be when all the little concepts finally make sense because you see how everything compliments one another? (Because I don't see the connections yet.) What is the importance of PHP in regards to web design? Please elaborate and explain why this means so much in contrast to JavaScript.
Thank-you for your help and time.
Your fellow web-designer.
1 Answer
Tiffany McAllister
25,806 PointsPHP allows you to do many things that JavaScript can't. PHP allows you to connect with databases, display, read and write database information, submit forms etc.
Functions like var_dump are mostly used for debugging purposes. Don't feel too overwhelmed, you don't need to remember every single function. That's what the documentation is for! :)