Hey guys, I've been spending a little while now learning PHP on my leisure time, and what my ultimate goal of learning this language is to be able to push it much farther and create web 2.0 web applications. That being said, I was thinking the easiest way to learn PHP would be to have a sort of DIY method, where you create your own mini-web-application, but as you create it you learn as you go. I'm pretty sure you guys here get what I mean, but I can't find anything like this! Whatever you find online will either be scripts that are shoved together, or well... that's about it! Have any of you guys heard of something like this? If I'm shooting for the moon here, maybe one of you can give me a resource where I can learn PHP faster than via a book (current method)?
Yeah best way of learning to write efficient code is by DIY (do it yourself), don´t get me wrong books can be good but you still have to code something to really learn anything.. else it´s just wasted time reading. Start with something small and then just add to it until you feel it´s done. Or plan what you´re going to write and just code it. As my old mentor said: "learn coding, by coding"
Complete bullshit you are saying. This depends on how many times you want to do-redo-redo... the same thing. Go read docs. Anyway you will have to read them. If after reading docs you still need to learn PHP then go play something more appropriate for you. DIY is good if you already have learned what you are doing.
Ok so you mean that none of the developers in the world learned anything from doing it themselves? Reality check..... Reading a book will only get a so far...... Some stuff you can´t learn from books... I didn´t say just code.. i said start a project while learning.. he´s after the learning not starting a F-ing development company.. Ah so a book can tell you how to think when you solve development problems? Aha you must be one of those C&P coders: "That borrow this class and use that class and write 4 lines tells people to buy their software" Books can only get you as far as the developer that wrote it have been. But if that´s the case whats happens if the person who wrote the book actually just is a god writer and a shitty coder? -- Then you become a shitty coder since you never tried your own ways, or learned how to solve problems yourself
take a look at www.phpvideotutorials.com The subscription is dirt cheap and you get all the courses that show you how to build different websites from scratch to completion. It's really easy to follow along and I'd recommend them to anyone. Be sure to do the beginner courses before moving on to the more advanced ones (the cake php ones)
I didnt mean that. I don't know how you derived it from my post. Good coder solves problem right way not necessary his own way. There are much more chances to become shitty coder by ignoring well-known proven methods. Starter asked about learning PHP language not coding. I said read docs not books. To be more precise go to www.php.net. I doubt you can get better source for PHP language learning (there is other "own way" to learn PHP. It is just to redevelop it from scratch). Reading books may lead you somewhere but Not reading docs will lead you nowhere. The most stupid quote was "learn coding by coding". Go read docs. I bet you'll be surprised how many good "own ways" already developed. You will learn the same but save time.