Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Sedo

Where did you learn PHP?

Status
Not open for further replies.

cyphix

Level 9
Legacy Platinum Member
Joined
Jan 20, 2003
Messages
3,609
Reaction score
1
Hey guys..

To all the people who do PHP/MySQL coding..

How did you learn it? I'm attemtping to teach myself it, been thinking of it for awhile now but been too lazy to do so lol.. but something someone said (clemzonguy?) in another thread about learning coding yourself so you can save money AND time on your projects gave me the boot up the a** I needed! :-D

I delved into Perl coding a few years back, didn't get too far into it but got into the basics off it (have a half-done script for one of those old threaded message boards :-D) so learning the initial stages of PHP from web tutorials has been pretty easy for me.. a lot of it is the same, except I see arrays work a little differently then what they did in Perl.

Anyway, I've read a few web tutorials but I need something thats going to take it a little bit further.... something that will explain things as simple as possible & is easy to understand.

Anyone know any good books or tutorials that go a bit further into things? I really need to start learning about using databases with PHP etc..

Cheers!
 
Dynadot - Expired Domain Auctions

cyphix

Level 9
Legacy Platinum Member
Joined
Jan 20, 2003
Messages
3,609
Reaction score
1
Oh.... I must say that..

All the books I have got in the past, the best I have found have been "Teach yourself XXXXX in 21 days" by Sams Publishing .. I have gotten these for HTML, then Visual Basic & also the one for Perl.

These books have been lightyears ahead of other books I have in respect to how easy they are to understand & the way they are laid out.... anyone have the PHP one of these? How is it?

I also have one of those "dummies" books for javascript but found that *very* confusing, dunno, I must be very stupid lol

I also have tried "Learning Perl" by O'Reilly, but found that also too hard to understand, probably for more experienced coders... that's why I went & bought the one by Sams Publlishing on Perl.. a heck of a lot better for newcomers!
 

alien

Level 4
Legacy Platinum Member
Joined
Nov 20, 2002
Messages
145
Reaction score
0
The book "Build Your Own Database Driven Website Using PHP & MySQL" from sitepoint.com is good to get you started.
 

NameTower

Level 9
Legacy Platinum Member
Joined
Apr 21, 2003
Messages
2,886
Reaction score
0
I've never read a book on PHP/MySQL programming.

Yet I can do almost all that I need to myself.

I guess sorting through the vBulletin code and such was helpful, and I just applied the patterns I saw to my own code, experimented, and saw what work.

On occasion I do make sure of what I'm doing via php.net/function name but other than that, maybe I read one or two tutorials on this lycos php programming site..

Good Luck!
- Jordan
 

seeker

DNF Addict
Legacy Exclusive Member
Joined
Jun 18, 2003
Messages
4,159
Reaction score
17
I got the book from sitepoint as well.
It was excellent, and I learned quite a bit as far as programming is concerned (I started programming on an Apple 2 in the late 70s early 80s).
The problem is, I never figuref out how to actually place and run any code on a server, just locally...

go figure.
 

cyphix

Level 9
Legacy Platinum Member
Joined
Jan 20, 2003
Messages
3,609
Reaction score
1
Thanks for all the info guys!

Anyone else recommend any other good books?

Thanks!
 

seeker

DNF Addict
Legacy Exclusive Member
Joined
Jun 18, 2003
Messages
4,159
Reaction score
17
Php and mySql web development by SAMS
big book, super info
 

darrenl

Level 8
Legacy Platinum Member
Joined
Sep 22, 2003
Messages
1,856
Reaction score
4
Looking at open source scripts...
 

clemzonguy

Domain Addict
Legacy Exclusive Member
Joined
Apr 21, 2002
Messages
2,635
Reaction score
0
seeker said:
Php and mySql web development by SAMS
big book, super info

I found this book the other week. Haven't read all of it yet but looks very great in comparison to other books which I own. I would not get PHP in a nutshell b/c it will only confuse you. PHP is a lot like perl in a lot of ways. The way to figure out any program is to trace the code. You need to be familiar with the basics like what does an IF statement do, what is a WHILE loop, a FOR statement, why are GOTO statements bad, what is a function, etc. These kind of questions are ones answered in a college curriculum program. The program that I learned with originally years ago was ADA 95. Then we moved into C. Soon after that C++ or object oriented programming was the way to go. A lot of programs these days use INCLUDE statements at the top. That makes a lot of code object oriented. It helps break it down for organization purposes. Don't let this confuse you. I would NOT recommend using vbulletin code to learn from. Even I don't understand all of it. You will need to know something a lot simpler. Start with programs that will allow you to sit at a terminal and output information to a screen. With web languages you can output to the browser but in my opinion it's not the same as the non-dynamic ancient languages. This will definitely be a time investment and you may have to cut out a lot of activities. But it can be very fun especially when you find out how powerful a single program can be to saving time and makey money! And in summary....sometimes you just gotta hack the code until it works!
:evil:
 

cyphix

Level 9
Legacy Platinum Member
Joined
Jan 20, 2003
Messages
3,609
Reaction score
1
Thanks alll & thanks for the big write up Clemzon! :-D
 

Steen

Level 9
Legacy Platinum Member
Joined
Mar 24, 2003
Messages
4,853
Reaction score
1
I still don't know HTML :-(
 

encodedbrain

Level 2
Legacy Gold Member
Joined
Apr 18, 2004
Messages
34
Reaction score
0
phpfreaks.com is a place, you might want to visit. they got some nice tutorials, open source codes for you to learn easily and the best part, when you're struck somewhere, you can always ask at their forums and you get the solution almost instantly. php is fun to learn and exciting. all the best!
 

Bob

Jedi Master
Joined
Apr 8, 2002
Messages
3,102
Reaction score
29
I started by learning PERL. I taught myself everything I need to know. I am by no means a PERL guru, but I do know quite a bit. PERL is one of those languages that the more of it you learn, the more you realize you do not know anything. The next progression for me was to deal with mySQL databases. I got pretty adept at this.

After PERL, I had clients who had code in PHP, so it was a necessity for me to learn PHP. Again, I taught myself PHP. Having already known PERL, PHP was a breeze. You can see how PERL influenced PHP.

When I decide to learn a new language, I typically buy two books.

1) PHP for Dummies
2) The O'Reilly book (Programming PHP)

My philosophy is that the "PHP for Dummies" can get me up and going quickly while the O'Reilly book will give me a solid reference for things that always arise and that are not covered in the PHP for Dummies book.

Lastly, I always build a self-interest site to learn the langauge. This keeps my interest high because I am working toward something that I want completed. After that, then I feel I am usually ready for any client demands :D

Happy coding.

-Bob
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 2) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Upcoming events

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom