Best way of learning PHP and Javascript

Start with a blog or something simple. I don't recommend using a CMS for it (:D good luck learning lol) as using a CMS will force you to learn the Framework and not the languages. Also, stay away from jQuery as you wanna learn.
It's a bit difficult to learn the basics these days as tutorials are sometimes full of frameworks ...
I learnt JavaScript by doing annoying pop-ups and those darn colour flickers, back in the day when IE 5.5 was sloooow. Then in 2008 I started learning PHP, created a cellphone store of sorts (made more advertising revenue than cellphone profits cos the site was plain dodge).

In a few weeks/months/years you'll be ready to create some cool stuff. If you get the logic, you'll see that most of these languages are quite similar. I'm learning Java for Android by creating an app, was frustrating getting started a few weeks back, but now I'm getting there.
Besides me going on a tangent, I hope this helps
 
Also, stay away from jQuery as you wanna learn.

I've been wondering about this for quite some time, whether it is better to learn JS with or without jQuery. Then it struck me, saying saying that you need to learn JS before adding jQuery is like saying that you need to learn assembler before any other language. Don't get me wrong, knowing assembler is never a bad thing, just not really necessary I think. jQuery is here to stay, and takes away A LOT of the pain and dreadful suffering of learning JS.

But that's just my view, I'm very interested in getting other people's perspective on this as I'm really not quite convinced by mine yet?
 
I've been wondering about this for quite some time, whether it is better to learn JS with or without jQuery. Then it struck me, saying saying that you need to learn JS before adding jQuery is like saying that you need to learn assembler before any other language. Don't get me wrong, knowing assembler is never a bad thing, just not really necessary I think. jQuery is here to stay, and takes away A LOT of the pain and dreadful suffering of learning JS.

But that's just my view, I'm very interested in getting other people's perspective on this as I'm really not quite convinced by mine yet?

definately.

vanilla js is dead, and jquery is the standard

another thin analogy would be learning html with inline styles before rather using CSS
 
I've been wondering about this for quite some time, whether it is better to learn JS with or without jQuery. Then it struck me, saying saying that you need to learn JS before adding jQuery is like saying that you need to learn assembler before any other language. Don't get me wrong, knowing assembler is never a bad thing, just not really necessary I think. jQuery is here to stay, and takes away A LOT of the pain and dreadful suffering of learning JS.

But that's just my view, I'm very interested in getting other people's perspective on this as I'm really not quite convinced by mine yet?

My logic is that learning JS first gets one up to scratch with what differences JS has with PHP for example, what you can do, how you declare variables. As an example, that to set a variable to global you have to use the window.*** namespace.
I use jQuery about 80-90% of the time because its a quicker way of doing things, like checking if a document is ready without worrying about how Webkit differs from Trident or whatever.

I still say that most of the jQuery based tutorials assume you already know the JS syntax and basic things. I don't want Sebastian to copy/paste jQuery or Prototype without being able to essentially explain what's happening in plain English.
 
Thanks so much for the replies. I looked at net.tutsplus.com w3fools, its helping alot. I think the fact that I have IT in school makes it easier :). Also did a bit reading on codeigniter and cakephp. Thanks guys:)
 
w3fools seems like a pro-IE organization, lols.

Not sure why you'd want to use anything BUT www.google.com and get the best info from your searches instead of depending on a handful of sites.

Whenever I start teaching a n00bie, I ask them to first think of something they want to do in code. Then once they've verbalized an idea, I make them do it. With little-to-no help from me other than teaching them how to use Google more effectively.
 
Top
Sign up to the MyBroadband newsletter
X