Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Learning PHP

Comments in 'Plugin Development' started by Darunia18, Oct 30, 2013.

  1. Darunia18
    Offline

    Darunia18 Staff Member Sectional Moderator

    Joined:
    Aug 23, 2013
    Posts:
    754
    Plugins:
    2
    Minecraft User:
    Darunia18
    I finally got around to begin learning PHP, and it seems very similar to Javascript. So far, for loops, if/else/elseif statements, switch statements, and arrays are the same. I wanted to make sure I'm learning this right if there is anyone else who would be able to clarify this. I want to start making plugins soon, but I want to know that I'm doing this right before I get too far. I know I sound like a total noob, but I just want to be 100% sure :)
  2. Legomite
    Offline

    Legomite Active Member Plugin Developer

    Joined:
    Sep 8, 2013
    Posts:
    470
    Plugins:
    2
    Minecraft User:
    Legomite
    NO I'M A TOTAL NOOB :p
  3. KABOOOMsnakefang
    Offline

    KABOOOMsnakefang New Member

    Joined:
    Aug 31, 2013
    Posts:
    43
    Minecraft User:
    KABOOOMY
  4. Darunia18
    Offline

    Darunia18 Staff Member Sectional Moderator

    Joined:
    Aug 23, 2013
    Posts:
    754
    Plugins:
    2
    Minecraft User:
    Darunia18
    That's a pretty cool site! I use Codecademy. I did half of the Javascript courses and I am almost done with php. It is very interactive and it seems to work well with my learning style.
  5. ZacHack
    Offline

    ZacHack Staff Member Sectional Moderator

    Joined:
    Aug 23, 2013
    Posts:
    325
    Plugins:
    6
    Minecraft User:
    _ZacHack_
    You really don't need to know PHP (it's helpful) but all you really need is to study the API documentation and the src folder in your server https://github.com/PocketMine/Documentation/wiki/API-Documentation-Portal I recommend just studying the src though learn and use code from there
  6. Darunia18
    Offline

    Darunia18 Staff Member Sectional Moderator

    Joined:
    Aug 23, 2013
    Posts:
    754
    Plugins:
    2
    Minecraft User:
    Darunia18
    That's what I planned to do after I finished the tutorials. I'm already 58% done, so why not just finish it?
  7. ZacHack
    Offline

    ZacHack Staff Member Sectional Moderator

    Joined:
    Aug 23, 2013
    Posts:
    325
    Plugins:
    6
    Minecraft User:
    _ZacHack_
    Yah true I just said that because it's mainly the API that you need to learn
  8. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    I learn from php.net
  9. 99leonchang
    Offline

    99leonchang Staff Member Sectional Moderator

    Joined:
    Aug 23, 2013
    Posts:
    165
    Plugins:
    2
    Minecraft User:
    99leonchang
    Another great way to learn is looking at others' codes
  10. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    This is how I learn syntax because English tutorials about a syntax is so complicated. Basically apart from function lists on php.net I learn completely from others' code.
  11. KABOOOMsnakefang
    Offline

    KABOOOMsnakefang New Member

    Joined:
    Aug 31, 2013
    Posts:
    43
    Minecraft User:
    KABOOOMY
    That's why I enjoy that site as well. I just hope they add more languages soon.
  12. Glitchmaster_PE
    Offline

    Glitchmaster_PE Notable Member Plugin Developer

    Joined:
    Aug 31, 2013
    Posts:
    834
    Plugins:
    8
    Minecraft User:
    Glitchmaster_PE
    I learned from a mixture of Codecademy and looking at the API and looking at other's code. I plan on making a documentation of the PocketMine functions soon, but my to-do list continually piles up :p
  13. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    That would be really great for us trying to learn the API and I think it would make the API a lot more attractive to newcomers because it is a really extensive and awesome API people just don't understand because it's not well documented.
  14. Glitchmaster_PE
    Offline

    Glitchmaster_PE Notable Member Plugin Developer

    Joined:
    Aug 31, 2013
    Posts:
    834
    Plugins:
    8
    Minecraft User:
    Glitchmaster_PE
    But like I said, my schedule is getting more and more busy we'll just have to see...
  15. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Okay, fingers crossed
  16. Glitchmaster_PE
    Offline

    Glitchmaster_PE Notable Member Plugin Developer

    Joined:
    Aug 31, 2013
    Posts:
    834
    Plugins:
    8
    Minecraft User:
    Glitchmaster_PE
    Mine too, have to do some work at my grandfather's this weekend to so not sure, I hope to have it done by Christmas at the most
  17. Glitchmaster_PE
    Offline

    Glitchmaster_PE Notable Member Plugin Developer

    Joined:
    Aug 31, 2013
    Posts:
    834
    Plugins:
    8
    Minecraft User:
    Glitchmaster_PE
    99leonchang likes this.
  18. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Oh wow, looks great!

Share This Page

Advertisement