I cannot make up my mind which I should look into first, I am wanting to learn PHP and Javascript. Is there an easier order to do these in? I am fairly good at hand coding HTML and more or less got my head around CSS if that makes any difference. Also are there any good tutorial sites for beginners for either of these topics? Thanks
Hmm, I started off with PHP, moved quickly onto JAVA, and then found javaScript relatively easy to deal with. If you can get your head around Object orientated programming from the start then start with JAVA. if not, start with PHP. But once you've learnt one language, you'll find the next easier to pick up rather than the awful trials and tribulations of your first programming language
i started with html templates, then after i saw how easy is to modify some codes and the template will look so cool and diffrent i started to learn html, after that php...and the rest come by it self. http://www.w3schools.com/html/ http://www.php.net/tut.php
I found PHP is easier after I learned .NET, Java and C++. I have no idea why but they look familiar to me.
argothiusz: Agreed! Java and C# have a similiar syntax to PHP. The only thing I do not like about php is to call an objects function you have to use -> instead of the .net . (period). PHP was very easy to learn.
[rant]Learn SQL [/rant] The "problem" is that with a complete "language"/ framework like .Net and to a poorer degree PHP it becomes very easy to fall into bad habits and use web server code that is very inefficient use of resources rather than doing elements either client side that are low priority or DAL elements. The "problem" is that if you have a site with 1000 unique hits per day there is going to be no difference in the site at all but as traffic increases to 1,000,000 a day one then requires a complete rewrite and the other minor tweaks and extra hardware at most. The thing is that in most cases it doesnt actually take any more time to write more efficient code, simply knowledge that .Net/ PHP isnt actually the best solution to all issues even if it is a possible fix.
PHP and javascript are similar in ways of variables except for PHP uses $ PHP is capable of doing more - but some things you will see that javascript is more suited. Whcih one should you learn first? .. learn them both at same time. you'll be surprised how similar they are to eachother, as far as understanding and reading their syntax / language. If you had the choice to learn one first .. in my opinion, it would be PHP It can do a lot more, it'll open the door to using databases, and creating/ writing, reading and updating files. It gives you automation capability that can be anything you could think up. and PHP is very comprehensive. math functions look like math functions and make sense. and the logic makes sense with = if , elseif, and else if ($youlikethisanswer == "yes") { echo "thats great"; } elseif { $youlikethisanswer == "no"){ echo "sorry but thats the difference in opinion for ya" ; } else { echo "you havent selected an answer"; } aint that fancy? .. I like how it works