Whats the best way to learn PHP?

19 replies
I already know some PHP & SQL but everything I know i learned from books, forums, and online tutorials. The books ive read are all the same, very simple and pretty much just cover loops, building simple applications, etc. I would really like to learn more advanced PHP and all about PHP/SQL security. The universities around here dont offer PHP classes. Does anyone have any suggestions?
#learn #php
  • Profile picture of the author KabanaSoft
    Honestly, i've been programming since i was 11 years old...and the way i started and the way i will always learn the most is by reading examples/tutorials and trial and error...there is no book that is going to tell you exactly what you want to do, and the best way to learn is to dive right in.

    It may be daunting and discouraging at first, but once you start getting small things working here and there, it will motivate you to continue and figure the rest out.

    And nowadays pretty much everything you ever want to figure out can be found with a google search, my suggestion is to start there and see if anyone else is doing what your trying to do, and over time you will eventually get the hang of it.
    {{ DiscussionBoard.errors[4313087].message }}
  • Profile picture of the author Jake Gray
    You only learn from application. Take what you have learnt and create
    something with it. No matter how many books you read, No matter how
    many people tell you to do something, you will not retain the information
    if you don't do it!
    {{ DiscussionBoard.errors[4313324].message }}
  • Profile picture of the author oclseo
    You can find tutorials on lynda.C0m, PHP tutorials lynda.com teaches new and experienced web developers the steps for building dynamic, data-driven, interactive sites
    Signature
    {{ DiscussionBoard.errors[4313388].message }}
  • Profile picture of the author Amod Oke
    If you can do basic php and sql, why not try bidding for some projects on elance/freelancer and get some first hand experience?
    {{ DiscussionBoard.errors[4314160].message }}
  • Profile picture of the author TrueStory
    I have went through large list of programming languages in my life, starting with BASIC and all the way to Java, C++, PHP, even hardware machine code languages.

    So here is the thing:

    the programming language is really nothing more than a bunch of loops, if-else statements, arrays, variables, and other conditional execution.

    To advance your PHP experience from basic-knowledge up to something cooler, you should start looking at PHP as object oriented language. Learn about Classes and how to properly work in OOP environment.

    to push your knowledge further, use already pre-written environment like CakePHP. It's more than a set of libraries, it's a whole framework in its own.

    look into AJAX and JQuery to enhance your server-client interaction; currently less and less websites use traditional POST (page reload) approach;
    Signature

    Your business matters only to people that matter to your business[/U][/B] - Reach them?

    {{ DiscussionBoard.errors[4328554].message }}
  • Profile picture of the author Jake Gray
    There are tons of free resources on the internet. If you want to gain an
    extra edge, you should check out your local library and read some books
    on web development and PHP.
    {{ DiscussionBoard.errors[4328622].message }}
  • Profile picture of the author try_hard_samurai
    As the others mentioned, hit up the forums and check out sample scripts on php.net.
    {{ DiscussionBoard.errors[4329869].message }}
  • Profile picture of the author paigelee
    You may try checking out w3schools has helped me out to enhance and develop..but i do agree that you need to have some firsthand experience..because you can only learn a lot once you do the actual programming. and from there you will learn some tricks that will develop your programming skills
    {{ DiscussionBoard.errors[4329899].message }}
    • Profile picture of the author JohnnyS
      W3Schools is the best site for PHP tutorials it also have great examples that you can easily follow.
      {{ DiscussionBoard.errors[4332301].message }}
  • Profile picture of the author espe
    I highly recommend you learning for FREE at developphp.com the guy is awesome, cool video tutorials and he also explains other languages like action script hope that help

    bye
    {{ DiscussionBoard.errors[4334526].message }}
  • Profile picture of the author Ken Durham
    write your own wordpress type CMS. That will pretty much cover anything that you'll ever need. As mentioned, concentrate on object oriented programming, including creating your own objects, etc...
    There is nothing like experience to teach you...
    Signature

    yes, I am....

    {{ DiscussionBoard.errors[4335684].message }}
  • Profile picture of the author upendraets
    Just go to w3schools.com and learn PHP with a simple method.
    {{ DiscussionBoard.errors[4337819].message }}
  • Profile picture of the author YongC
    The first you should study php basic on w3school.com or the same website and try to code some simple website ... when you familiar with php basic you can training it more on php.net ...=> code and code .... that's my way
    {{ DiscussionBoard.errors[4377888].message }}
  • Profile picture of the author leppozdrav
    Buy one of the Sitepoint tutorials. They're easy and very insturctive
    {{ DiscussionBoard.errors[4411210].message }}
  • Profile picture of the author danadan
    You can learn them by tutorials . and you will find videos in you tube check it
    {{ DiscussionBoard.errors[4430607].message }}
  • Profile picture of the author kodugitu
    There are so many online free tutorials available on internet.Just search it on Google.
    {{ DiscussionBoard.errors[4430974].message }}
  • Profile picture of the author jalicia18
    Originally Posted by avjoseph View Post

    I already know some PHP & SQL but everything I know i learned from books, forums, and online tutorials. The books ive read are all the same, very simple and pretty much just cover loops, building simple applications, etc. I would really like to learn more advanced PHP and all about PHP/SQL security. The universities around here dont offer PHP classes. Does anyone have any suggestions?
    You can start your own project or somewhat building a site using PHP and probably you'll encounter errors, try to solve it in yourself, ask help from forums and learn. In this way, it will develop your knowledge and further.
    {{ DiscussionBoard.errors[4437246].message }}
  • Profile picture of the author punam12
    You will learn from trial and error method, That is the best method to learn most effectively.
    {{ DiscussionBoard.errors[4437313].message }}

Trending Topics