Welcome to Virtual Pet List

Wanting to the biggest Virtual Pet forum on then net? Feel free to sign up today.

Sign Up to VPL
  1. online virtual  pet site with mmorpg elements join a spooky virtual pet game! VigLink badge

    Find virtual pet sites, sim games or role playing games to play.
    Other websites that we own: virtual pets blog - Admin Forum
    New xenforo 1.5 version is coming soon

Help a newbie learn how to code

Discussion in 'Programming General' started by Haseshi, Apr 19, 2011.

  1. Haseshi

    Haseshi Ilah
    Approved VPL Artist VPL Member

    Joined:
    Apr 16, 2011
    Messages:
    460
    Likes Received:
    36
    Trophy Points:
    403
    Gender:
    Male
    Hello~ I am interested in learning how to code, of course that 'coding' is a very generic term so more specifically, I want to learn how to make a a pet site with a dress-up avatar too, just for the fun since I could never maintain one on my own.

    How usually are those made? php? frameworks? I am not asking for a tutorial just '' usually avatars sites are programed with ____ ''. Since I am a newbie and I would like to start my way =)

    Also book recommendations are welcome!
     
    support our sponsor and join today
  2. kami

    kami Moderator
    Moderator VPL Member

    Joined:
    Jan 21, 2011
    Messages:
    4,264
    Likes Received:
    997
    Trophy Points:
    883
    Location:
    Mars
    Re: Help a newbie

    First step, learn HTML and CSS. Then I suggest Javascript as it can help in the transition. Petsites, the ones I know of, are coded in PHP. (I've never really heard them being coded in anything else.)
     
  3. nobackseat

    nobackseat Senior Programmer
    Senior Programmer VPL Member

    Joined:
    Jan 22, 2011
    Messages:
    508
    Likes Received:
    46
    Trophy Points:
    453
    Location:
    Florida
    Re: Help a newbie

    Luraverse is programmed in ASP.

    Though, PHP is by far the most common approach. I recommend it because of the support you'll get from this community. It it also pretty easy to learn.

    Avatars are a bit complex -- not something you should be doing while learning how to code, in my opinion.

    NBS
     
  4. Haseshi

    Haseshi Ilah
    Approved VPL Artist VPL Member

    Joined:
    Apr 16, 2011
    Messages:
    460
    Likes Received:
    36
    Trophy Points:
    403
    Gender:
    Male
    Re: Help a newbie

    Oh, now I am curious, how are they made? hahah

    And thanks guys, I guess I will be borrowing my first php book this week
     
  5. cpvr

    cpvr Owner and Founder
    Administrator VPL Member

    Joined:
    Jan 20, 2011
    Messages:
    32,109
    Likes Received:
    1,711
    Trophy Points:
    1,077
    Gender:
    Male
    Location:
    Texas
    Showcase Items:
    104
    Re: Help a newbie

    Which one are you doing to buy?
     
  6. Haseshi

    Haseshi Ilah
    Approved VPL Artist VPL Member

    Joined:
    Apr 16, 2011
    Messages:
    460
    Likes Received:
    36
    Trophy Points:
    403
    Gender:
    Male
    Re: Help a newbie

    I am not going to buy, I am going to borrow one from my college's library. I was thinking PHP 5/MySQL programming for the absolute beginner by Andy Harris.
     
  7. indysolo621

    indysolo621 Elite Member
    VPL Member

    Joined:
    Feb 27, 2011
    Messages:
    1,397
    Likes Received:
    59
    Trophy Points:
    0
    Actually a basic avatar system isn't THAT difficult to code.
     
  8. Haseshi

    Haseshi Ilah
    Approved VPL Artist VPL Member

    Joined:
    Apr 16, 2011
    Messages:
    460
    Likes Received:
    36
    Trophy Points:
    403
    Gender:
    Male
    Which language do people usually use?
     
  9. judda

    judda Bringer of Awesome
    Pet Game Owner VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,562
    Likes Received:
    439
    Trophy Points:
    557
    I would buy any of the Sams Teach Yourself books as they seem to work the best for me. As NBS said, most sites use PHP mostly but there are few out there using some of the other dominant web languages.

    ~judda
     
  10. Innit

    Innit Newish Member
    VPL Member

    Joined:
    Apr 14, 2011
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    Ooh I would recommend you check out Head First PHP and MySQL.
    http://www.amazon.com/Head-First-MySQL-Lynn-Beighley/dp/0596006306/

    I used the Head First book to learn Java and it was great! Really fun to read, great examples. Often the problem with programming books is that they're dreadfully dull! These ones don't seem to have that issue.
     
  11. kristie91

    kristie91 Member
    VPL Member

    Joined:
    Apr 8, 2011
    Messages:
    182
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Ilinois, USA
    Well shouldn't you learn html and css before you jump on the php wagon?
     
  12. judda

    judda Bringer of Awesome
    Pet Game Owner VPL Member

    Joined:
    Jan 23, 2011
    Messages:
    1,562
    Likes Received:
    439
    Trophy Points:
    557
    That is true what kristie said ... you should get a good handle on HTML before jumping into PHP.

    I just wanted to add that there are lots of great places for support out there ... PHPFreaks and Flingbits both have IRC channels where me and other developers hang out just waiting to help any people who are stuck with PHP.

    ~judda
     
  13. Haseshi

    Haseshi Ilah
    Approved VPL Artist VPL Member

    Joined:
    Apr 16, 2011
    Messages:
    460
    Likes Received:
    36
    Trophy Points:
    403
    Gender:
    Male
    Ops, sorry, I forgot to mention I already know html and css.

    Can one make an avatar community with php? Anyway, I began reading a book about it, Hoping for the best~
     
  14. nobackseat

    nobackseat Senior Programmer
    Senior Programmer VPL Member

    Joined:
    Jan 22, 2011
    Messages:
    508
    Likes Received:
    46
    Trophy Points:
    453
    Location:
    Florida
    I want to make sure that you know we are talking about human avatars, not the usual animated square image ones...

    Though, difficulty is an opinion .

    @haseshihaseshi,

    Human avatars are usually done using PHP's image library, GD. You'll have to set-up a layer for each accessory, and then save the image data and output it as an image.

    NBS
     
    #14 nobackseat, Apr 20, 2011
    Last edited by a moderator: Oct 16, 2013
  15. Haseshi

    Haseshi Ilah
    Approved VPL Artist VPL Member

    Joined:
    Apr 16, 2011
    Messages:
    460
    Likes Received:
    36
    Trophy Points:
    403
    Gender:
    Male
    Yes, human avatars, that's what I meant. Thank you~
     
    #15 Haseshi, Apr 20, 2011
    Last edited by a moderator: Oct 16, 2013
  16. cpvr

    cpvr Owner and Founder
    Administrator VPL Member

    Joined:
    Jan 20, 2011
    Messages:
    32,109
    Likes Received:
    1,711
    Trophy Points:
    1,077
    Gender:
    Male
    Location:
    Texas
    Showcase Items:
    104
    Let us know about your progress with coding - we'd love to hear it. The more people that code, the stronger the community becomes - in terms of sites/developing. I wish you nothin but the best. Coding is hard, but if your focus is learning, you can do it!!! :D
     
  17. Fi3ndish

    Fi3ndish Supporter
    Approved VPL Artist VPL Member

    Joined:
    Apr 23, 2011
    Messages:
    96
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    South Australia
    wrox php and mysql is a good beginner book! make sure you code along with the examples and keep practicing!

    *is a noob too*
     
  18. Knight

    Knight Growing Member
    VPL Member

    Joined:
    Apr 25, 2011
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    329
  19. Moonlight

    Moonlight Approved Artist
    Web Designer Approved VPL Artist VPL Member

    Joined:
    Jan 28, 2011
    Messages:
    657
    Likes Received:
    12
    Trophy Points:
    0
    Location:
    Earth
    Damn I was just about to suggest it. >:{
     
  20. Knight

    Knight Growing Member
    VPL Member

    Joined:
    Apr 25, 2011
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    329

Share This Page