Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Website Design/Showcase (http://www.chiefdelphi.com/forums/forumdisplay.php?f=64)
-   -   I Want To Learn PHP (http://www.chiefdelphi.com/forums/showthread.php?t=95990)

Talks Too Much 03-07-2011 18:41

I Want To Learn PHP
 
I already know HTML and intermediate CSS, but there's a lot you can't do with those and I want to learn something more powerful, php. Does anyone know a good tutorial? I'm having one trouble finding a comprehensive one that starts from the beginning.

lemiant 03-07-2011 18:47

Re: I Want To Learn PHP
 
I like http://www.w3schools.com/php/default.asp . If you don't already, get a free web-host like awardspace, then you can try it out yourself. I just learned by working on a project and learning as I found I needed something.

If you need any advice you can PM me.

Jogo 03-07-2011 22:29

Re: I Want To Learn PHP
 
You don't even actually need webspace to try it out. Go ahead and download XAMPP. It'll give you all the tools you need to run PHP locally--including PHP, MySQL, phpMyAdmin, and of course apache.

I *highly* recommend tizag.com for learning PHP (and MySQL). I learned just about everything I know from that website--it's nice and easy to follow.

plnyyanks 03-07-2011 23:40

Re: I Want To Learn PHP
 
And http://php.net/ is also a great resource with great documentation about PHP functions and their usage.

perlgerl 04-07-2011 07:13

Re: I Want To Learn PHP
 
Many years ago I worked my way through Larry Ullman's "PHP for the World Wide Web". The book slowly builds a complex website, and trouble-shoots it during the process. Sections like "Top Ten Problems" will save you time by quickly solving the typical beginner mistakes. When things go wrong, you can also get help from his active website with up-to-date errata, downloads and a discussion forum.

This book has been superceded by later variations. You can find a copy in a used book store for only a few dollars. Or try the latest edition, "PHP and MySQL for Dynamic Web Sites". If you want to learn PHP, you're going to want to learn mySQL before too long.

Working in PHP is great fun. Enjoy!

lemiant 04-07-2011 10:23

Re: I Want To Learn PHP
 
Quote:

Originally Posted by plnyyanks (Post 1067711)
And http://php.net/ is also a great resource with great documentation about PHP functions and their usage.

I love this resource, use it all the time. I just want to point out for those reading, that php.net is not a tutorial, it is a manual, you use it when amfunction is acting weird.

JesseK 04-07-2011 21:45

Re: I Want To Learn PHP
 
Coming from a C++/Java background, going from the ground up in a new langauge can be a pain. This is espeically apparent when there are 1,000 opinions on the "proper" way to do something more complicated than the generic "hello world".

Personally, I found An Introduction to PHP for Scientists and Engineers to be very helpful. It's a good way to make a website that takes input and displays data in an organized way. The book doesn't do database implementations at all. However, I also don't do databases (MySQL, Oracle, etc) for various reasons (either cost $ or take alot of time to make them less vulnerable), so I use proprietary hashed encryption for my important web data files with all of the associated performance and usability tradeoffs. I also don't do large-scale websites at all, so it works well for me. It's a short book, and Amazon/Google Books give a good enough preview that shows the general flow of the whole book. It's for beginners in PHP.

It's also good for scientific work because scientific data rarely comes in database form.

Good luck!

Kimmeh 05-07-2011 08:51

Re: I Want To Learn PHP
 
Quote:

Originally Posted by perlgerl (Post 1067771)
Many years ago I worked my way through Larry Ullman's "PHP for the World Wide Web". The book slowly builds a complex website, and trouble-shoots it during the process. Sections like "Top Ten Problems" will save you time by quickly solving the typical beginner mistakes. When things go wrong, you can also get help from his active website with up-to-date errata, downloads and a discussion forum.

This book has been superceded by later variations. You can find a copy in a used book store for only a few dollars. Or try the latest edition, "PHP and MySQL for Dynamic Web Sites". If you want to learn PHP, you're going to want to learn mySQL before too long.

Working in PHP is great fun. Enjoy!


I second the use of Larry Ullman's books. They're easy to understand and unlike most technical books, they aren't completely dry.

JohnBoucher 05-07-2011 12:01

Re: I Want To Learn PHP
 
Quote:

Originally Posted by Talks Too Much (Post 1067662)
I already know HTML and intermediate CSS, but there's a lot you can't do with those and I want to learn something more powerful, php. Does anyone know a good tutorial? I'm having one trouble finding a comprehensive one that starts from the beginning.

What are you trying to do? What benefits do you expect php to give you?

Dustin Shadbolt 05-07-2011 12:50

Re: I Want To Learn PHP
 
devzone.zend.com is another resource I have used in the past.

Ether 05-07-2011 12:52

Re: I Want To Learn PHP
 
Quote:

Originally Posted by JohnBoucher (Post 1067954)
What are you trying to do? What benefits do you expect php to give you?

Good question. I think we were all assuming he wants to do some server-side processing, but it's always wise to ask, like you did.



Talks Too Much 06-07-2011 06:46

Re: I Want To Learn PHP
 
Thanks for all of your suggestions everyone! I've began going through the tizag.com tutorial, and I think I'm going to order the Ullman book, too.

Quote:

Originally Posted by JohnBoucher (Post 1067954)
What are you trying to do? What benefits do you expect php to give you?

I want to include dynamic content, such as a sidebar that displays recent tweets.

JohnBoucher 06-07-2011 07:51

Re: I Want To Learn PHP
 
Great. here are some other resources...

https://twitter.com/about/resources/widgets

http://www.smashingmagazine.com/2009...and-tutorials/


All times are GMT -5. The time now is 15:51.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi