/    Sign up×
Community /Pin to ProfileBookmark

How did YOU learn PHP?

Hello everyone. I’ve decided I want to learn PHP. In school, the only thing we learn is simple html and Dreamweaver so I’ll have to learn it in my spare time.
I now wonder how [B]you[/B] learned PHP? School? or by yourself.
If you learned by yourself, was it from books, websites, videos, friends? or anything else. Perhaps you can give me some advice (I’ve began to read a php tutorial from one of the links in the stickied post but I like things being explained from different authors – giving you another perspective of it sometimes).
Well that’s pretty much it. ?

to post a comment
PHP

11 Comments(s)

Copy linkTweet thisAlerts:
@YelgnidrocApr 20.2008 — Larry Ullman's book are very good.
Copy linkTweet thisAlerts:
@aj_nscApr 20.2008 — Online tutorials are great. They focus on specific examples of what you are trying to get php to do for you RIGHT AT THAT MOMENT, in a short time you'll have amassed enough coding experience to start writing scripts yourself and, at that time, www.php.net will become your best friend. My advice, figure out what you want to use php for right now, and then google that plus the world "tutorial".

P.S. this is exactly what I've done - no books, no school, just self-motivation.
Copy linkTweet thisAlerts:
@NogDogApr 21.2008 — Most of my learning came from [url=http://www.php.net/manual/en/index.php]the official on-line manual[/url]. Most of the rest came from forums like this one.

Books can be very useful, but make sure you get a very recent one, hopefully ensuring that you are then learning the current best practices, and not those from several years ago that are now deprecated. Similarly, while on-line tutorials can be very good sources, you need to take them with a grain of salt: there is generally no peer review process for such tutorials, you don't always know how old and possibly out-of-date they are, and you don't necessarily know whether the author really knows the current best practices. Therefore, when using such tutorials, always go to the official manual and read over the descriptions of the functions being used in order to look for notes, warnings, and applicable users' comments about that function.
Copy linkTweet thisAlerts:
@skywalker2208Apr 21.2008 — I read the information on w3schools.com and also picked up Sams Teach yourself PHP

I found that book to be helpful and able to get a grasp of PHP and then went on from there.
Copy linkTweet thisAlerts:
@fpmarinApr 21.2008 — Hello everyone. I've decided I want to learn PHP. In school, the only thing we learn is simple html and Dreamweaver so I'll have to learn it in my spare time.

I now wonder how [B]you[/B] learned PHP? School? or by yourself.

If you learned by yourself, was it from books, websites, videos, friends? or anything else. Perhaps you can give me some advice (I've began to read a php tutorial from one of the links in the stickied post but I like things being explained from different authors - giving you another perspective of it sometimes).

Well that's pretty much it. ?[/QUOTE]

http://www.devguru.com/technologies/php/home.asp

This is a very nice starting point: It is quite simple.

Next, you better switch to http://www.php.net/manual/en/index.php
Copy linkTweet thisAlerts:
@WebEmperessauthorApr 21.2008 — Thank you for the replies. Thanks to you I now have a little library with links and books to use through my PHP adventure ?

Let the journey begin! ?

P.s you can still continue to post links if you have any useful ones. I will appreciate it.
Copy linkTweet thisAlerts:
@NogDogApr 21.2008 — If you're pretty new to PHP and programming in general, [url=http://devzone.zend.com/node/view/id/627]PHP 101 for the Absolute Beginner[/url] is a pretty good starting point, as far as on-line tutorials go.
Copy linkTweet thisAlerts:
@blue-eye-labsApr 21.2008 — I picked up the basics from w3schools and the rest I learnt by using it, looking up a function, applying it...

I suppose I learnt what I needed to learn.
Copy linkTweet thisAlerts:
@WebEmperessauthorApr 21.2008 — If you're pretty new to PHP and programming in general, [url=http://devzone.zend.com/node/view/id/627]PHP 101 for the Absolute Beginner[/url] is a pretty good starting point, as far as on-line tutorials go.[/QUOTE]

I had a quick look at it. I will definetly start with it since I'm a beginner when it comes to PHP (I know some visual basic though). After I'm done and understand it. It's time for the other ones linked here (so keep 'em comming)
Copy linkTweet thisAlerts:
@esmApr 21.2008 — I had taken a couple of programming classes in college. Also had to do a few SQL statements where I worked. Nothing complicated.

I had an small links directory using PERL (which I absolutely hate). In 2003 I was looking for a replacement progam and came across one written in PHP. It used templates and classes. while I'm not too good at creating classes, I don't mix php and html. I found a little template parser (only does loops and IFs) and use it extensively.

Anyway, I got involved with the forum for that php program and started helping others with the basics of the script. then I created some small mods. That script was just what I needed. the php was simple but powerful. To this day, I still can't read a complex page of php mixed with html.

If i didn't know something, I googled it. I bought a book but I used it primarily for reference and some examples. I asked questions on forums like this one (if you go back and look, I was just about the last one in a group of folk who requested that the webdeveloper.com site create a PHP forum, which you are now reading ? )

I'm just a hacker at best. But I find creating something from scratch a good way to improve your skills. I look at someone else's code for good technique but use my own style.



.
Copy linkTweet thisAlerts:
@DoppleApr 21.2008 — I started with this site

http://www.hudzilla.org/phpbook/

although it didn't really teach best practice.

I agree with NogDog and would suggest PHP 101 for the Absolute Beginner as you start of with the absolute basics and it takes you right up to things like object oriented programming with PHP which is invaluable. www.php.net will be your best resource once you are up to speed on the basics. Have fun> The problem I had was not know how to improve my understanding of the language.

I would recommend making the following.
[LIST]
  • [*]A guestbook

  • [*]A Forum

  • [*]A file uploader/gallery

  • [*]an online store (just for playing around)

  • [/LIST]

    These are the kind of things which will push your knowledge of the code by forcing you to learn more about it.

    Have fun!
    ×

    Success!

    Help @WebEmperess spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.20,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...