Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP

Prerequisites for PHP track

Should I learn HTML, CSS or Javascript before I learn PHP track. Is there any prerequisites for PHP track?

Agree with the other comments, a basic understanding of html and css will help you in learning PHP as your backend PHP skillls will be used to interact with the frontend (HTML and CSS). Javascript isn't necessary, and if you are like me, may take you off track.

Miss Kenya Sullivan, Thank you for ur respinse. What do you mean by may take you off track?

6 Answers

Shafeeq,

I would like to add that it isn't a mandatory requirement to know or master HTML or CSS in order to learn PHP. Just note that the teachers here will use HTML and CSS when teaching PHP so knowing some of it will only help you. In the real world backend and frontend development usually is separate from each other. You will have developers programming in HTML, CSS, and JavaScript in one department and developers programming in PHP, JAVA, PERL, Ruby, etc in other departments. Now this isn't always the case, but for the sake of some larger projects they will be separated. For this site and its teachings, it will only benefit and make life easier for you if you knew a little bit about HTML and CSS. Hope my input was helpful.

Cheers!

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,623 Points

Hey there,

I think I would suggest at least a basic working knowledge of HTML and CSS prior to starting the PHP track. It will definitely make the track much easier to follow and understand.

:)

Miss Kenya Sullivan, Thank you for ur respinse. What do you mean by may take you off track?

Hey Shafeeq Ahmed!

I highly recommend having at least a basic working knowledge of HTML and CSS (but maybe not so much with the JavaScript). While PHP is a server-side language, it's what forms the connection to the client side (the web browser, etc.). You may not need to know HOW to write code, but you will need to know where your PHP needs to be included in code. More often than not if you are specializing in server-side work, most of the client-side work will be provided for you to attack.

Keep up the good work!!

Thanks Guys

Miss Kenya Sullivan, Thank you for ur respinse. What do you mean by may take you off track?

I have the tendency to get distracted if I try to learn too many items at once. It's much better to focus on the original goal of PHP. Javascript can move you in so many directions (front-end and server-side).

Ur right, thank you Miss Kenya Sullivan