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

PHP Coders Everywhere, I have a question.

Discussion in 'PHP & Perl' started by satyawrat, Sep 24, 2012.

  1. satyawrat

    satyawrat Jr. VIP Jr. VIP

    Joined:
    Jul 8, 2009
    Messages:
    931
    Likes Received:
    1,183
    Occupation:
    Hustler
    Location:
    Gurgaon
    Home Page:
    I am about crack open a o'reilly and start learning php.
    I have no HTML/CSS experience at all.
    The most I have done in html/css is changing some content area div tags and changing background, fonts and stuff.
    Mostly modifications, in the rare even that I have to write my own CSS I always have to refer to online guides.

    So should I go back to HTML/CSS and then go on to Python? Or is it okay and I can learn along the way if i need to?
     
  2. synfig

    synfig Regular Member

    Joined:
    Mar 24, 2011
    Messages:
    230
    Likes Received:
    186
    HTML 5 and CSS then PHP or Python. It just takes 1-2 hours to learn HTML5 and CSS. it's not hard and you will quickly move to python or php once the typical HTML is learned. I don't know why you think python is good choice because I don't see python usable in IM. Ofcourse any project of CMS and the bots can be done in python or ruby but why sweat if PHP is already making things easy. Just my 2 cents on that.
     
  3. roamer

    roamer Power Member

    Joined:
    Dec 2, 2008
    Messages:
    500
    Likes Received:
    479
    Occupation:
    Gfx designer, vfx and mgfx
    Location:
    plɹoʍ ǝɥʇ punoɹɐ ƃuıɯɐoɹ
    That statement reminded me of The Matrix (just load whatever you need to know), so I fixed it for you:

    I'd say you can take a few hours learning the foundations, and then spend a couple days practicing as much as you can, to get better acquainted with the whole thing. But yeah, you should always start with the basics and then move upwards from there.
     
    • Thanks Thanks x 1
  4. NIXMY

    NIXMY Regular Member Premium Member

    Joined:
    Sep 26, 2010
    Messages:
    481
    Likes Received:
    321
    Location:
    myproxylists.com
    Home Page:
    If you're looking to code web applications, no matter do you use PHP/Perl/Python, you will also need HTML/CSS knowledge. Without this knowledge, it's going to be pain in the ass.

    Someone said you'll learn HTML/CSS in 1-2 hours. If it really would be as easy, none would purchase web site design ...
     
    Last edited: Sep 24, 2012
  5. Zapdos

    Zapdos Power Member

    Joined:
    Oct 22, 2011
    Messages:
    597
    Likes Received:
    708
    Location:
    Eastern North Carolina
    Learn HTML and CSS first. Then move onto PHP while learning Python on the side.
     
  6. cgimaster

    cgimaster Power Member

    Joined:
    Jun 30, 2012
    Messages:
    525
    Likes Received:
    311
    Gender:
    Male
    It takes a few hours to read the book or tutorials but a lifetime to master :p hehhehehe

    Now seriously, HTML 5 and CSS is not very hard however they both have LOTS of tricks and things to learn that you can and won't master with a simple book or in a few hours, same goes for the programming or scripting language you will choose.

    So prior to jumping into something big, start trying small things.
     
  7. HatIsBlack

    HatIsBlack Regular Member

    Joined:
    Sep 17, 2010
    Messages:
    265
    Likes Received:
    187
    Location:
    Where i belong
    IF you want complete knowledge to make webpages you should start with html and css. IF you have other goals with your knowledge you can start with the programing directly
     
  8. SonicSam

    SonicSam Registered Member

    Joined:
    Aug 21, 2012
    Messages:
    57
    Likes Received:
    5
    Location:
    X
    Agreed. You will find when working with PHP that when you're ready to output information it'll be necessary to have a basic knowledge of HTML and CSS.

    Additionally, looking into to learning a MVC styled approach you could work with CakePHP for example, a Model-View-Controller where you'll code mostly in the Model and the Controller, and HTML/CSS in the view.
     
  9. DocturBluehill

    DocturBluehill Newbie

    Joined:
    Sep 28, 2012
    Messages:
    15
    Likes Received:
    6
    When I started out with webdevelopment. I came up with small mini projects. Then I did my research and looked up the solutions. I would rather get my hands dirty, than read books about it. I can help you get started, if you are interested, just PM me. I also had a mentor when I started out. So I would like to give that back, to someone else :) :cool:
     
  10. kilaz

    kilaz Jr. VIP Jr. VIP

    Joined:
    Aug 15, 2009
    Messages:
    876
    Likes Received:
    382
    Home Page:
    The best thing would be to start with some small coding projects and looking at PHP classes and PHP code examples. Check out http://www.phpclasses.org/ and you might find a sniplet of code that will do something close to what you need that you can edit and implement. That's how I started..
     
  11. upl8t

    upl8t Regular Member

    Joined:
    Apr 9, 2008
    Messages:
    475
    Likes Received:
    84
    Location:
    New Scotland
    If your objective is to build dynamic sites using php there is no way you can do that without properly understanding html and css. You can learn some basics in a couple of hours but it's impossible to master in that time frame. Build a basic website with html and using css for both the layout and styling. Once you've done that learn how to output that site using php. That will keep you busy for more than a few hours and start to open up your eyes to the possibilities.
     
  12. maple_toast

    maple_toast Newbie

    Joined:
    Jul 23, 2008
    Messages:
    30
    Likes Received:
    50
    It's probably best to follow the advice already given. Learn HTML/CSS first. As you build sites, you can start inserting some PHP or Python scripts. But if you don't have a decent grasp of HTML, it'll be hard to understand any of your outputs.
     
  13. builder

    builder Junior Member

    Joined:
    Jul 31, 2009
    Messages:
    100
    Likes Received:
    17
    Firs; html.
    If you understand it go to php, and mysql.

    I think tizag dot com is a good place to start.
     
  14. sam0016

    sam0016 Registered Member

    Joined:
    Feb 7, 2012
    Messages:
    78
    Likes Received:
    15
    You really should learn basic html and css before you learn php I think in most books to learn php from will use html without telling you what it is and it could make it a bit confusing it really dose not take long to learn the html and css basics you can probably get them basics down in a day or 2.