How did you learn php?

yhelothar

Lifer
Dec 11, 2002
18,409
39
91
So I want to make a website that let's you search for key terms or location info off of websites like ebay or craigslist.

I'm a n00b to web programming. I've only done some light HTML work, mostly editing code of templates. But I heard it's not really difficult to learn php.

I found this site from some simple googling. It looks like a decent primer, but only brings me to making polls.
http://devzone.zend.com/node/view/id/627

So any experienced web coders here that could lead me to how to obtain the knowledge/skills I need to take on this project?

THANKS!

Moved from Off Topic.
Moderator allisolm


 

Clair de Lune

Banned
Sep 24, 2008
762
1
0
God fucking A I must be starving.. I read that as "How did you learn to eat pho?"

mmmmmmmmmmmmmmmm (it makes sense since cilantro smells really strong at first and is an acquired taste)
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,604
4,522
75
Do you know any other programming languages? It helps if you do. By part 8 of the devzone tutorial, I'd have the syntax (common commands) down pretty well, and I'd be off looking at the reference manual whenever I needed uncommon commands.
 

presidentender

Golden Member
Jan 23, 2008
1,166
0
76
Learned it at work, by modifying code others had written, and looking at the reference manual (per Ken) when I didn't know how to do what I wanted.
 

erwos

Diamond Member
Apr 7, 2005
4,778
0
76
Originally posted by: blahblah99
Once you learn C, you learn php.
Best advice you'll ever get. You can do more interesting things faster by "learning" PHP, but you'll wind up giving yourself bad programming habits that will haunt you for a long time to come.
 

NiKeFiDO

Diamond Member
May 21, 2004
3,901
1
76
Lynda.com (Sit through the videos, code along with them, it's very useful for starting to program PHP)

Many books: (These three below are the three main ones in my collection)
http://www.amazon.com/Sams-Tea...&qid=1240715756&sr=8-7
http://www.amazon.com/PHP-Adva...&qid=1240715776&sr=1-2
http://www.amazon.com/PHP-Obje...&qid=1240715794&sr=1-1

I had a database class back in college, but some database knowledge (aka SQL ) will be very helpful.

Coding for Open Source apps (Wordpress, Joomla, Drupal, Magento) is also good experience to see how applications have been set up. (Experience is a good teacher! - Start small and always keep learning!)

Blogs (nettuts.com, forthelose.com, millions of others)
 

Hyperblaze

Lifer
May 31, 2001
10,027
1
81
Syntax is easy to learn. Code flow comes with experience and practice.

PHP is as easy to use as any other language, as soon as you understand the concepts.

I'd recommend getting familiar with Object Oriented PHP. Wouldn't like to create an application without it anymore. Too efficient.

Just like any other language out there though, there are pros and cons to using it.
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
I learned php in a weird way. I had some high school c experience, and was laid off from my tech support job and had insomnia. So I bought a php book to try to bore the hell out of me. I read it cover to cover about 3 times over 3 nights (It was a thick book too).

Then while I was looking for a job I installed apache and php on my desktop and just started writing example websites. That helped get me my first job in programing (creating a online support tracking and billing suite). That of course helped foster my career from tech support to software development/systems administration where I've been stuck to this day (just kidding, I love it).

Of course I had to keep continuing my education. I'm currently in the process of getting java certified from sun. I've taken classes on c++ as well and I'm getting my feet wet with objective-c (now that I"m a mac owner). My current job has all of our work done in java or php. I learned java on the fly as well. I had a client that needed something written and wanted me to use java. After that project was done, I could write fairly ugly code in java. Fast forward a few years later and I write what I like to think is good clean java.

I also picked up javascript in the last two years (I mean I could write some but never really used it) because of the ajax explosion. Everything I do at my work now seems to be php back-end with a javascript front end (heavy jquery). In fact, we are working on a common data system in java that will replace the php. It will just allow us to get the data we want from our system using nice calls and return json data. This means all my php objects will become a thing of the past and I'll be writing exclusively in javascript for any future web work. (The java system on the back-end should not need updating for a good long time, bugs not withstanding)
 

LightningRider

Senior member
Feb 16, 2007
558
0
0
Learned the basics in school, the rest on my own. What's more important than learning the language itself is learning good programming habits and how to organize and structure your code, as well as design patterns. A framework really helps development and forces you to use the best practices (if you use a good framework). You might try writing your own basic one at first but after you understand the ideas and concepts well, it's probably best to use one that exists already as the advanced ones are hard to outdo yourself, and it's pointless to redo things that have already been done...
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |