Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

how did you learn PHP?

  • 21-11-2006 04:21PM
    #1
    Registered Users, Registered Users 2 Posts: 1,170 ✭✭✭


    college, evening training or you just got a book and did self study?

    i just started and going through php/msql book

    any tips?


Comments

  • Registered Users, Registered Users 2 Posts: 8,488 ✭✭✭Goodshape


    I never set out to master the language, and I haven't, but I'm at least a competent PHP-hacker.

    To get to that level I used Internet resources mostly. Read through some online tutorials, books if you have them, then grab some free PHP code and start reverse engenering.

    Personally I learn best by example, trial and error.


  • Closed Accounts Posts: 884 ✭✭✭NutJob


    The internet and PHP code dump books. Im no expert on PHP but i can throw together webapps easily.


    Note: If ur looking and php samples thell oftn be missing information on how to write webapps securely and safely. Google SQL-injection + XSS + PHP security as PHP apps are happy to let you hang yourself.


  • Closed Accounts Posts: 8,866 ✭✭✭Adam


    Similar to Goodshape there, I'm self-taught, had a book, I keep meaning to go through it as I'm sure it would teach me a lot, but 10 months later I still haven't but I can competently write web apps etc.

    I too learn by trial and error, I understand better if I can toy with code and see what works and what breaks it rather than reading from a book which is saying write this and that and see what happens etc.


  • Registered Users, Registered Users 2 Posts: 1,170 ✭✭✭Ratchet


    thx guys, trying to do my own project at the same time and see how far i will get


  • Registered Users, Registered Users 2 Posts: 68,173 ✭✭✭✭seamus


    Went through a book once. Forgot most of it. Spent a weekend of 4am nights hacking away writing a site (gone now), with the aid of the book - had no internet at in those days. The rest is history.

    I've done a lot of PHP for work, mainly replacing old "Stick it in the spreadsheet" arrangements, with MySQL driven applications, and some other stuff like real-time graphing and read-only reporting for MSSQL database data.

    The main resource I use is www.php.net. If I can't fully remember how to use a function, or want to know if a function exists, php.net is teh win. Dreamweaver MX (ah, gotta love business) also has code completion for PHP.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,170 ✭✭✭Ratchet


    seamus wrote:
    Dreamweaver MX (ah, gotta love business) also has code completion for PHP.


    did you use Eclipse in some stage or this would be considered heavy commercial app?


  • Registered Users, Registered Users 2 Posts: 6,652 ✭✭✭daymobrew


    I taught myself perl (Learning Perl book and perl-beginner group on groups.yahoo.com). Moving to PHP was relatively easy (though I miss use strict;) and I did it with the help of a book and the docs on php.net.


  • Registered Users, Registered Users 2 Posts: 68,173 ✭✭✭✭seamus


    I tried Eclipse for java development at one point, but it gave me a pain in my head.
    I also tried Dev-Php (and something else popular I forget the name of now), but I generally found them unstable and unhelpful when trying to work on anything *but* PHP.

    At home, I use Notepad++ for web development.


  • Closed Accounts Posts: 1,200 ✭✭✭louie


    Books, more books and internet (libraries, snippets, forums).


  • Subscribers Posts: 9,716 ✭✭✭CuLT


    I wanted to make a content management system, already knew java so swapping to php wasn't difficult.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,991 ✭✭✭Ziycon


    Learned it from the net!


  • Closed Accounts Posts: 238 ✭✭7aken


    learned from internet aswell mostly but also from a cool book by matt rutledge called php game programming. theres some great starter stuff here including other useful stuff theres a php and a mysql series of tuts.


  • Closed Accounts Posts: 2,175 ✭✭✭chamlis


    PHP and MySQL for Dummies.

    Good base, seriously. Helps if you can find a mentor dude to throw things at once in awhile. Boards is good for that ;)

    Like Mirror said though, it's alot easier if you have code to play with. See what works, what breaks etc.


  • Registered Users, Registered Users 2 Posts: 1,170 ✭✭✭Ratchet


    thx guys, will let you now how i get on :)


Advertisement