Here’s a bit of a twist on the old which do I learn first question you’ve read a million times before…
I began learning PHP last fall and feel I have become fairly competent in procedural PHP programming.
As my site – the driving reason for these studies – has developed I’ve reached a point where learning OOP PHP would make for cleaner code and tighter organization on the admin side, but would not allow me to add significant functionality to the user side. (This has more to do with the site design and goals than with any particulars of OOP PHP.)
BUT, beginning to learn Javascript would open up a whole slew of optional improvements I could make (in time) to the site from the user’s perspective.
Before recommending that I learn both together, please understand that I’m an expat struggling through a lower management position and at best can spare 4 hours a week to this endeavor. Programming is a passionate hobby, but good blocks of time are hard to find.
So:
Proc PHP -> OOP PHP -> JavaScript ?
or
Proc PHP -> JavaScript -> (maybe later) OOP PHP ?
i prefer you to do Proc PHP -> OOP PHP -> JavaScript first.
you cannot concentrate on multiple technologies at a time, only one at a time. so learn one by and build a strong base in it. with this skill go to next and go on. you can learn php and javascript faster, because they are interesting and easy.
what i prefer first you learn php, which will give you the big manuplation skill.
then you learn javascript, which help to present the data you have, in a appealing way. also learn to use libraries like jquery,dojo, ext js etc. i prefer jquery.
in developing an app the priority should given to data manpulation. and to gui. if you have a big collection of information, but poor gui the succes rate will be low.
so learn php first then go for javascript or libraries like jquery.