PDA

View Full Version : Learning PHP and Javascript



Jessweeee♪
08-01-2010, 03:24 AM
I badly want to learn as much as I can about web development, not just HTML and CSS. Unfortunately, I need to teach myself and I'm a slow learner. Does anyone know of a handy website or something with some simple beginner tutorials that I can get started with?

rubah
08-01-2010, 05:31 AM
php is kinda hellish to learn on your own if you don't know any C++ or similar languages (if you do, then php.net should suffice). There should be a lot of JS tutorials everywhere, though! W3C seems to have some, JavaScript Tutorial (http://www.w3schools.com/js/default.asp) so maybe that'll be a good starting place

Rantz
08-01-2010, 09:48 AM
I learnt PHP without any prior knowledge of application programming languages, but with a fair understanding of OOP, which will help a lot if you want to get good at it.

W3Schools has some beginner pages (http://www.w3schools.com/php/default.asp) for PHP too, actually. They don't really cover much, but there should be enough basics to let you create simple form scripts and the like.

Don't use the download links that the tutorial lists, though; you're much better off with a "simple" package like XAMPP (http://www.apachefriends.org/en/xampp.html) to begin with. This lets your computer act like a server and process PHP - without it you'd have to upload your PHP files to your server every time you want to test them. There might be some trouble getting it to work, but it's worth it.

Another beginner article that seems decent: PHP 101 (part 1): Down the Rabbit Hole (http://devzone.zend.com/node/view/id/625)

o_O
08-01-2010, 11:34 AM
I really like W3Schools and php.net, but my first port of call for any web-programming languages is htmlgoodies.com. As Pontus said, object oriented programming knowledge is very handy to use PHP effectively, but you can plug certain bits and pieces into your code without worrying about the OOP side of things. Lots of experimentation will be your best friend while you're learning. Also, you should pay close attention to the error messages you get - they're the most useful tool in debugging your code.

<a href="http://www.htmlgoodies.com/beyond/php/">PHP info</a>; <a href="http://www.htmlgoodies.com/primers/jsp/">Javascript info</a>.

Jessweeee♪
08-01-2010, 09:29 PM
Thanks, everyone! :</>D!