Quote:
Originally Posted by kthdsn I have big idea for a project, but I'm sort of waiting until I've learnt php/sqlite before I start, and not really getting on with learning because it's boring. I guess I should get on with just starting and learn along the way. |
Dive in as soon as possible! If it's a personal project you know you won't be using for that long of a time, do it! It will probably be pretty bad once you're done, but you'll get better throughout it,
I promise. If it's a personal project, don't bother fixing it up. Once you are familiar with what you did wrong and have to do in the future, just start up on a new project and implement your new bright knowledge there! It's just like photoreading and speedreading. Don't try to go back and correct bad code or your mistakes. You're learning! This isn't a commercial application. It's more effort than its worth. Just code as much as you can, and you will improve as you go along.
EDIT: I stress, start with
personal projects. Doing something for someone else, or for a bigger audience, will make you stress out about things you do wrong. Don't worry! You will notice them yourself and learn to avoid those mistakes in future, or find ways to optimize things.
One HUGE thing is to read through the php.net functions and documentation. Even if you read through a few sections in a month, there is
so much about the PHP programming language. You want to be familiar with many of the things it offers so you can improve and optimize your skills. For example, if I hadn't looked at the php.net documentation, I would have never been aware I could just use
PHP Code:
foreach($array as $element)
Instead of
PHP Code:
for($i=0;$i<count($array);$i++)