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

General Discussion

Learning PHP, Javascript and Wordpress

How long would it take to really learn PHP, Javascript and Wordpress? AT what point is it possible to start offering your services as a web designer and developer?

Also if I put in a minimum of 6 hours a day for 90 days straight of doing combined online tutorials and reading the documentation and books how advanced can one expect to get?

Note: I'm going on a Self Imposed 90 Day Coding Challenge. No days off.

4 Answers

I'd say 20-30 hours to learn practical coding in PHP. Javascript is a programming language, unlike Wordpress. Thus, it'll take LONGER. PHP is a much easier programming language than Javascript or C++. (my opinion) With your strategy I think Wordpress (not hard at all) and PHP will be reasonable. However, to become a functional Javascript programmer, I'd recommend doing more than Treehouse. Find a good, recent book at the library!

If you were to dedicate(BINGE) those 90 days to just Javascript then you'd be building functional, useful, and productive applications in no time. HTML/CSS, and maybe PHP would be easier. If I didn't know them already, I'd stop and make that the first thing I learned.

Thanks Steven, if you could only choose one book to learn PHP and One book to learn JavaScript which ones would they be?

Also, what makes JavaScript harder than PHP?

Thanks again.

JavaScript & jQuery: The Missing Manual has good reviews and starts rather simple. After jumping into Treehouse's Javascript foundations you should be ready for it. I can't personally recommend any books for PHP, but with Treehouse you might not even need one.

Regarding your second question, JavaScript is an object oriented language (one you write complex software in). PHP is as well, but Javascript is more like C++ , which is a computer software programming language. I can tell you now it's gonna be harder.

I'd love to discuss this more tomorrow! Just reply if you have any questions.

I edited out your "please mark this as best answer" bit from your 2 replies in this thread because threads in the general category do not have answers/voting.

Thank You

Learning to program is a marathon not a sprint. I generally recommend people do 1 hour, 1 badge, 1 day to allow the info time to sink in.

However if you wanted to do it full time I suppose you could double that, do 2 badges in one sitting. Then do another hour or two of practice the skills you just learned. To break things up, do some reading on related topics outside of learning syntax for a few hours. Then repeat the process, that should fill out an 6 to 8 hour day pretty nicely.

The key to learning to program is build things. I'd say if you want to learn things quickly you should probably devote 2 hours to putting things into practice for every hour you devote to reading/watching videos.

I'd say once you've put in 1,000 hours you are probably employable. So 90 days * 6 hours = 540 you'd be half way there.

Thanks James,

I guess what I'm looking to accomplish is a complete immersion in coding.

I actually feel as though I understand the basics of PHP, and I do mean the basics but the tough part is learning how to think like a programmer and understand how to create the logic for a web app. Kind of like learning a spoken language. Thinking in English but trying to speak in Spanish.

I'm just really getting started on Javascript and see the similarities between both languages and also the differences.

Like they say in Poker, it takes 5 minutes to learn and a lifetime to master.

You can totally immerse yourself in learning web development and spend 12 hours a day on it. You just don't spend those 12 hours watching videos. You break it up between watching videos, taking notes, reading blog articles, practice exercises, working on a project. There's also learning about design and business which you can intersperse between the videos where you are learning about syntax.

Thanks for the tips.

WordPress might as well be a language in its own right with all the actions, hooks and filters you need to work on to get it to do what you want it to do.

After about 3 months of 10 hours a day, first 6 weeks on here, second 6 weeks spent more building things...I'm now very confident that if someone wants me to do something, I can do it. And, everytime I do something, I learn more. You can't put a limit on it.

I've "worked" building things in conjunction with learning since day one and since now working on client project, probably spend an average of 15 hours a day coding and learning with every hour.

I started learning April 1 and the maths works out at about 2100 hours of learning and working.

That number fits well with James' above estimate. I rebuilt a web app a couple of weeks ago in two days that took me 3 weeks to originally write. Probably the difference of about 800 hours between writes. I started a site 4 or 5 months ago for my Mum and progress was tough and slow. Now, I'm going back to it next week to finish, and I'm pretty sure I'll have what would have taken a month to do a few months ago, done in 2 days or less.

You need to be patient and committed. If you want to do WordPress, ignore anyone who says it's "easy". It's as hard to master as any other language, only you need all of the other languages as a pre-cursor.

Thanks Matthew,

Thats what I figured, get a solid foundation in each language and combine them together to make a solid web app. I guess it can be said that WordPress is a Dialect of PHP.

You could. You need to know your PHP before being able to properly use WordPress as it is, after all, written in PHP.

Get comfortable with arrays as well.

Matt,I know it's a little late but ı just want to ask you a couple of questions.But first,let me tell you my situation.I am 19 years old and ı took a year off before college to start a business.I wanted to learn code also and I have been making progress but ı just can't stick with a plan ı mean ı work everyday for 2-3 hours but ı start reading a book,let us assume(Php for beginners) then ı start to worry like 'İs this the right one?' and ı start another book and ı feel like ı will never get to a place when ı can start to make something.I worry about my

1)How did you start to work 10 hours a day?Yes seriously this is a question ı can work 4 hours at my best and was it because of some experiences or did you try to get some work habits etc. can you explain me the process of it?

2)How should I learn the best way ı already know what a loop and variable or array is I understood php's syntax but never built something. 3)İf you learned from books (php etc) could you tell me their name or if you did not what was your work progress you just started to build something or watched treehouse videos only?

4)What do you think your first mistakes was for learning to program?