Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 14 of 14
  1. #1
    New Coder
    Join Date
    May 2006
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What's the best method to learn!

    Ok, here goes once again. me asking for php help. for like the 80th time in 4 month's.

    I would just lke to say here and now. i have posted PHP help, many time's before but have allway's got dragged away for some reason. but i like to think i've improved a bit in like 6 month's, listen i know HTML tag's tok me 6 month's(lol)

    Seriousy, when doing tut's what's the best method to learn it, like before when i did tut's i just copyed the tut to notepad and see how it did, But that dosent really do anything for me as i'm just copying and pasteing.

    Also, i would like some seriousy advice about learning php, html, javascript css... etc...

    As i've said million's of time's i really want to make a mafia-text based game, but now i'm trying to be serious about it and hopefully learn php in the next few month's, if you want example's of one of the site's i can allway's get you one.

    Also if you know any good tut's i could maybe use. then please fire away.
    And any comment's at all, please say them, bad or good, i allway's find it best to see where i really am.

    Also, if i did learn php (hopefully soon) then of course i will be makeing lot's of thing's not just this "game" i'm intrested in.

    Thank's for reading, hope you can help me.
    Johay

    Note: As i find my problem i'm not a fast typer, but i allway's type fast, so i do alot of mistake's like eg.. uyo = you. ..dont know if i have done any if you do see some do let me know so i can change it. hope it's not too confuseing.

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,497
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    Learn PHP along with MySQL.
    I mention this because it's so popular, there are many tutorials
    for free, not to mention many books available.
    This book for example: ISBN No. 0672317842

    http://www.amazon.com/MySQL-Web-Deve...049403-0891265

    With members signing up, logins, and database issues, it's almost imperative that you use PHP/MySQL.

  • #3
    New Coder
    Join Date
    May 2006
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mlseim View Post
    Learn PHP along with MySQL.
    I mention this because it's so popular, there are many tutorials
    for free, not to mention many books available.
    This book for example: ISBN No. 0672317842

    http://www.amazon.com/MySQL-Web-Deve...049403-0891265

    With members signing up, logins, and database issues, it's almost imperative that you use PHP/MySQL.
    Thank's, i'll look for this "book" if i cant find it anywhere for free then i'll maybe buy it.
    I know if i need to learn this stuff then i need to put money and effert into it.

    Update:http://torrentportal.com/details/842...dition.torrent ...look's to be this book.
    The thing's you can do with a bit of searching
    Last edited by johay; 11-06-2006 at 01:19 PM.

  • #4
    Senior Coder
    Join Date
    Sep 2005
    Posts
    1,791
    Thanks
    5
    Thanked 36 Times in 35 Posts
    if you have a real paper book, then you'll probably find that you do less copy+pasting, and more actual typing, and that as you type, you learn more.

  • #5
    New Coder
    Join Date
    May 2006
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by GJay View Post
    if you have a real paper book, then you'll probably find that you do less copy+pasting, and more actual typing, and that as you type, you learn more.
    Well, yes, That is true.
    But, i will make a promise to my-self, that i will type nothing from this book try to learn it and make something my-self.

  • #6
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,497
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    Johay,
    The book also has a CD with all of the scripts to cut and paste.
    In some cases, the book assumes you have your own stand-alone PC
    with a server, and PHP installed. I do not. I use a webhost with
    PHP and MySQL. So, I used the examples in the book and applied them to
    my webhosting account. I not only learned some basic PHP/MySQL, but now
    when I use existing scripts, I can easily see what is happening. The book
    really helped me with understanding and customizing other scripts.

  • #7
    New Coder
    Join Date
    May 2006
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mlseim View Post
    Johay,
    The book also has a CD with all of the scripts to cut and paste.
    In some cases, the book assumes you have your own stand-alone PC
    with a server, and PHP installed. I do not. I use a webhost with
    PHP and MySQL. So, I used the examples in the book and applied them to
    my webhosting account. I not only learned some basic PHP/MySQL, but now
    when I use existing scripts, I can easily see what is happening. The book
    really helped me with understanding and customizing other scripts.
    Well, thank's, i'm Currenty downlooading it. if i think by my stander's i will be able to learn(dont forget i'm an idoit with php) if i do feel it will learn me then i will buy it.

    Also, i will install apache2tirad into my computer again it mashed up so i need to un-install and install again. if that dosent work then i will use a free host i have (addyour.net)<-- if it decides too work once in a while.

    Also thank's for you're help i will post want i have leared if this topic is still active

  • #8
    Senior Coder
    Join Date
    Aug 2003
    Location
    One step ahead of you.
    Posts
    2,815
    Thanks
    0
    Thanked 3 Times in 3 Posts
    It may be just me (and that bit of experience I have) but I think there are some things to cover before using databases.
    I'm not sure if this was any help, but I hope it didn't make you stupider.

    Experience is something you get just after you really need it.
    PHP Installation Guide Feedback welcome.

  • #9
    Senior Coder
    Join Date
    Jul 2005
    Location
    New York, NY
    Posts
    1,084
    Thanks
    4
    Thanked 19 Times in 19 Posts
    I think that the source of most problems people have with programming at all is that they think about learning "PHP" or "JavaScript" or "C++" instead of programming. You need to learn how to program. I know a lot of languages, and yeah, that looks good on a resume. But the truth of the matter is, it's all based on boolean logic, it all translates to assembly somehow in the end.

    So, by going through a lot of tutorials, you'll pick some stuff up. Most of it will be solutions to very specific problems, some of which you can abstract and learn from. Some of the tutorials may even try to teach you the basic foundations of what you need, but not many.

    Unfortunately, the way I learned "programming" was through personal drive and through formal education. I think both are great. But if you want to do it on your own, then you need to get comfortable with references, not tutorials. Tutorials are narrow, by their very nature. Most of them solve specific probelms, some of them try to explain one little thing in detail, like a specific function or construct.

    What you need to get comfortable with is the PHP documentation on php.net, the HTML documentation somewhere (w3.org is hard, but perfect, w3schools.com is easy and thorough), the JavaScript documentation somewhere (mozilla, MSDN, unfortunately it's different by the browser so you have to get multiple resources).

    The same is true for C, C++, etc. If you want to learn a programming language, the best resource is usually the creators. Their books or documentation are near perfect explanations of everything a language can do, and it's your job to piece it all together. It's the act of piecing it together by yourself, making mistakes, and figuring it out that will teach you the most. Obviously you can come to forums for explanations, or to ask why something doesn't work as you interpret the documentation says it should. Also, chat rooms are amazing places. irc.freenode.net is the home of ##php which is where the developers of PHP hang out. You will get your butt handed to you at first (irc people are not newb friendly) but it's ok. It's a learning process, a birth by fire.

    I think books are useful, tutorials are useful, even school classes are useful. But they won't put the necessary components for success into your brain. They'll put a bunch of knowledge, but you need experience. The best way to get it is to fail, constantly, and make progress as you go. By failing, you learn a lot more about programming than succeeding because you read a working solution. It's about problem solving and thinking for yourself.

    It's completely within your reach, but it's a mind set, not a method.

    </preach>

  • #10
    New Coder
    Join Date
    May 2006
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Beagle View Post
    I think that the source of most problems people have with programming at all is that they think about learning "PHP" or "JavaScript" or "C++" instead of programming. You need to learn how to program. I know a lot of languages, and yeah, that looks good on a resume. But the truth of the matter is, it's all based on boolean logic, it all translates to assembly somehow in the end.

    So, by going through a lot of tutorials, you'll pick some stuff up. Most of it will be solutions to very specific problems, some of which you can abstract and learn from. Some of the tutorials may even try to teach you the basic foundations of what you need, but not many.

    Unfortunately, the way I learned "programming" was through personal drive and through formal education. I think both are great. But if you want to do it on your own, then you need to get comfortable with references, not tutorials. Tutorials are narrow, by their very nature. Most of them solve specific probelms, some of them try to explain one little thing in detail, like a specific function or construct.

    What you need to get comfortable with is the PHP documentation on php.net, the HTML documentation somewhere (w3.org is hard, but perfect, w3schools.com is easy and thorough), the JavaScript documentation somewhere (mozilla, MSDN, unfortunately it's different by the browser so you have to get multiple resources).

    The same is true for C, C++, etc. If you want to learn a programming language, the best resource is usually the creators. Their books or documentation are near perfect explanations of everything a language can do, and it's your job to piece it all together. It's the act of piecing it together by yourself, making mistakes, and figuring it out that will teach you the most. Obviously you can come to forums for explanations, or to ask why something doesn't work as you interpret the documentation says it should. Also, chat rooms are amazing places. irc.freenode.net is the home of ##php which is where the developers of PHP hang out. You will get your butt handed to you at first (irc people are not newb friendly) but it's ok. It's a learning process, a birth by fire.

    I think books are useful, tutorials are useful, even school classes are useful. But they won't put the necessary components for success into your brain. They'll put a bunch of knowledge, but you need experience. The best way to get it is to fail, constantly, and make progress as you go. By failing, you learn a lot more about programming than succeeding because you read a working solution. It's about problem solving and thinking for yourself.

    It's completely within your reach, but it's a mind set, not a method.

    </preach>
    Thank you, ever soo much for this,
    I willo be sure to take it all in.
    But, just a one thing to say, i know i need to know it if i'm going to suceed learning PHP.
    BUT, the "php.net" one seem's to be all too complicated for me,

    Also, i will be sure to visit That irc channel later on today when i open ludioscript :P

    And thank's again.

  • #11
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,497
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    Beagle,

    You are right in that there is a "mind-set" on programing. Any and all
    programming languages involve the same "brain thinking", organization,
    similar skills between all languages. Back in 1978, for me it was BASIC,
    then C++, etc. Javascripting, PHP, Perl ... all came naturally from the
    base knowledge I had from formal training.

    But there is an advantage available now that I didn't have back then,
    the availability of many scripts and snippets to learn by example, and
    forums like these. I think a person can more easily learn any of the
    programming languages by using online help ... at least if they have the
    will to learn them.

    He sounds enthusiastic ... enough to pull it off.

  • #12
    New Coder
    Join Date
    May 2006
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Just, giveing you people a nice little feedback, so you know all what you explaned dident all go to waste.
    I got to admit the last week, i havent been doing much (learning programmeing)
    But i have a few book's
    One, what i will be current viewing "php programming" edition 2
    Also "php game programming" this isent all it seem's it does actual help with sessions explanes them well, i cant say i get it all.
    But it got thing's like
    session_unregister
    Correct me if i'm wrong but on a dynamic webpage (login) woudent that log you out.
    Cant say i've learn much bt i've been busy with other stuff the next 2 week's i will hopefully learning some more, obviousy i will make sure in the next hour i open the book again and start studying.

  • #13
    Senior Coder
    Join Date
    Aug 2003
    Location
    One step ahead of you.
    Posts
    2,815
    Thanks
    0
    Thanked 3 Times in 3 Posts
    session_unregister() (and session_register()) are no longer used.
    You set/unset session variables on the $_SESSION array directly.
    I'm not sure if this was any help, but I hope it didn't make you stupider.

    Experience is something you get just after you really need it.
    PHP Installation Guide Feedback welcome.

  • #14
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I ask this same question about 2 years ago and I got the same exact answeres.. But I will make my answere quick and short.. The best way to learn is to do your on projects. Site down and create sites like you want them to work. Soon you will need question ask and then you will get the hang of things


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •