Facing Probs In Learning PHP.. WTF iam missing?

Discussion in 'PHP' started by sami1255, Oct 2, 2008.

  1. #1
    Awright heres another guy want to learn Php.. infact i've gone through various php video tutorials which helped me nothing but to learn only
    I do have the basic concepts of arrays.. functions.. loops.. variables.. as far as the text lecture is concerned.. watching video lecture.. i understand the hell happening.. but when it comes to programming myself and facing real world probs.. i go dumb.. i dont remember the f*ckin syntax.. cant develop the logic.. and things like that.

    What i want is a book or video lectures.. where i learn how to develop and create logic for building web applications.. how to understand the problem and use php to resolve them. books like php with mysql.. understand php in fuckin 2 hours.. will tell you what php is.. and how to print hello world on the screen.. but when it comes to "how to prepare yourself for building a scrolling news bar" "the logic to create simple cms.." all these books and video tutorials fail to respond..

    i love Deitel when it comes to learning programming.. its really easy to understand.. it also helps in application development.. but unfortunately there is no book on php published from deitel..

    WHAT DO I DO?
     
    sami1255, Oct 2, 2008 IP
  2. ChrisTaylor

    ChrisTaylor Guest

    Messages:
    60
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Ahhh tell me about it, i'm in exactly the same situation as you, I can read the code quite well, but writing it i really struggle with it and I have no idea where to start.

    I'd appreciate some help too.
     
    ChrisTaylor, Oct 2, 2008 IP
  3. sami1255

    sami1255 Well-Known Member

    Messages:
    835
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    125
    #3
    i think most of the guys are facing this.. hope this thread would help.. give your feedback pros !!
     
    sami1255, Oct 2, 2008 IP
  4. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Start simple and build your way up..

    For example, build a simple login application. Username and password box with a "log in" button. Think to yourself "what needs to happen in the background for this to work?". Then you'd think of the following steps.. first the form data must be passed to a php script, the script must then sanitize the information first, then, once this is done, the form data is compared against another set of data and the result of this determines the page that the user is sent to.

    You need to think logically, step-by-step, such as that. I suggest you build that login module I just mentioned and post in here once you've done it and I could suggest something harder :)
     
    garrettheel, Oct 2, 2008 IP
  5. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #5
    Yeah, start from writing extremely simple scripts (to learn the syntax and so on) and proceed to more complicated ones (login system, html form, writing to file, mysql query, simple functions, etc) once you done the simple scripts.
    do them slowly, dont rush =D
     
    ads2help, Oct 2, 2008 IP
  6. ChrisTaylor

    ChrisTaylor Guest

    Messages:
    60
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Cheers folks, how long did it take you to learn PHP, if you don't mind me asking. My problem is i'm so inpatient and want to learn it all at once, it doesn't sink in and get frustrated.

    Thanks for your help so far.
     
    ChrisTaylor, Oct 2, 2008 IP
  7. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #7
    i can write a HTML link + BBcode generator where user fill in the form, url, image, etc... ( <- what a stupid application ) few days after learning php. And i update the script with sticky form features few days later. It is sooo stupid i admit, but thats how i start.

    ChrisTaylor, dont rush =D
     
    ads2help, Oct 2, 2008 IP
    sami1255 likes this.
  8. sami1255

    sami1255 Well-Known Member

    Messages:
    835
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    125
    #8
    garrettheel and other guys are absolutely right about start with simple applications.. This will definitely resolve the issue of creating logic for big web applications..

    BUT;

    To learn the programming / syntax.. would you guys recommend any book ? remember the author's intention must be to build web applications and NOT creating foreach loops only.. i mean.. when the book covers foreach loop or while loop.. the thing it should show.. how its used in a web application to show pictures in a directory..

    I hope i'am getting myself cleared.. thanks for the responses.. +reps to each ;)
     
    sami1255, Oct 2, 2008 IP
  9. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #9
    Hmm..maybe I will make a tutorial with a test page soon. kinda fun =D
     
    ads2help, Oct 2, 2008 IP
  10. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Not so much a book, but a website.

    http://www.tutorialized.com/tutorials/PHP/1

    That has a bunch of tutorials about how to build actual functionality, not just explaining functions and things.

    Some ones that I would recommend:

    How to create a contact form
    http://www.tutorialized.com/view/tutorial/How-to-create-a-Contact-Form-using-PHP/37635

    Simple user system (a little bit harder, involves mysql)
    http://www.tutorialized.com/view/tutorial/-Creating-a-user-login-and-registration-system./33563
     
    garrettheel, Oct 2, 2008 IP
  11. sami1255

    sami1255 Well-Known Member

    Messages:
    835
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    125
    #11
    garrettheel gave a task.. i want some book which plays php with me just like that.. teach me something like arrays.. then give a task involving any small application that is to be done with arrays..

    edit: you posted before me.. lol

    Again.. the links are helpful.. i've seen the site.. learning from a web page with 50% content as the banner would be the last thing i'll want.. isnt there any book like tutorialized.com? lol, i've seen almost every book on php at amazon.. someone might know about any..
     
    sami1255, Oct 2, 2008 IP