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

Mazharul Islam
Mazharul Islam
3,042 Points

Best PHP learning path

Currently I am on Web Design track. After finishing the track I will do some personal project. My main goal is to learn PHP and wordpress as I want to be a freelancer. What track should I learn after web design track ? Is it necessary to learn JavaScript before learning PHP ? I need some insight from the experienced developers. Thanks in advance.

I am almost at the end of the beginning php course, and I haven't found any problem with not knowing JavaScript. But I am also planing to do the JavaScript track one I finish the web design course.

1 Answer

Sam Kajjan
Sam Kajjan
20,547 Points

Hi, sorry coz it’s long

Is not necessary to know Javascript if you want to learn php first. PHP & JS has a lot incommon if learn one u’ll jump to the other with no problem. My recommendation is that you learn the foundation (basic syntax - loops - functions - Classes) of it very good, coz this will allow u to learn and understand any framework faster like VueJs for Javascript and Laravel, Symphony or WordPres for PHP.

If you’re planning on doing custom WP development it’s steongly recommended that before jumping in to PHP you at least be fluent with HTML CSS and basics of JS as this will allow you yo use frontend library or framework like bootstrap or bulma.

but i want you to know this:

In the last last WordCamp 06/12/2018 at Nashvill and 2017 the co-founder of WordPress Matt said: LEARN JAVASCRIPT coz WordPress is changing they already broghut ReactJs to the new content editor Gutenberg that if you want to create modules for it you’ll have to use ReactJs or you can use plugins like (carbon fields or acf) with this plugin with only php would be fine :) regards.