Fork me on GitHub
Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

Learning PHP and Vanilla customization

RajioRajio
edited February 2011 in Vanilla 2.0 Help
so Vanilla has inspired me to learn PHP a while back but I'm only now getting around to it. I have a rudamentry understanding of coding in general and so I understand basic concepts but I'm a it intimidated.

Have any of you got suggestions or resources I can make use of? For instance I'm looking at a vanilla addon now that I'm extracting bits otu of to make a new plugin that does what I want. There are a few problems, anywhere I can post to get help?

Any help to get me rolling on learning PHP for vanilla addons would be fantastic.

Comments

  • @Rajio

    It will depend a bit on what you want to do as to whether Vanilla is a reasonable place to start your first PHP coding experience. Personally I have been coding in PHP for over a decade and while Vanilla is fairly clean internally, it is not always well commented and a lot of what is going on is highly abstracted due to the MVC methodology.

    The obvious thing to do is to constantly refer to the PHP manual, especially the sections to do with classes. From there, make sure you are using a reasonable code editor (which supports line numbers!) and that you are comfortable with command line searching (find, grep and maybe Awk).

    Cheers
  • Well maybe ill start with something from scratch to get myself familiar at first. Thanks for that tip.

    I know I could buy a 'learn php in 16 days' book or something bu i figured theres probably better web-based resources out there now.
  • LincLinc Community Instigator Detroit Vanilla Staff
    My favorite PHP books (Amazon).

    I've purchased/received thousands of dollars of tech/web books over the years. Those are the ones that were most helpful along the way. Also, php.net is invaluable. If there's a great PHP intro online, I've yet to find it. One day I'll make it myself.

    Sr Developer at Vanilla Forums, humble servant of Lord Brackos, & pro smatcher. [GitHub, Twitter]

Sign In or Register to comment.