Page 1 of 1

PHP Exercises!!

Posted: Thu Oct 30, 2008 1:34 pm
by klevis miho
I need beginner php exercises. I think that is the best way to learn it

Re: PHP Exercises!!

Posted: Fri Oct 31, 2008 5:14 am
by jarnail
go to w3schools.com or tizag.com

Re: PHP Exercises!!

Posted: Fri Oct 31, 2008 7:52 am
by winner
i think you can find them anywhere,but not here... :banghead:

Re: PHP Exercises!!

Posted: Fri Oct 31, 2008 11:02 am
by onion2k
I have to admit I've never seen any formal exercises for people to use to learn PHP. There's loads of articles and blog posts and tutorials around, but if you want some 'test questions' I don't think you'll have much luck.

Maybe that's something some people here could write...

Re: PHP Exercises!!

Posted: Sun Aug 23, 2009 6:51 am
by klevis miho
Yeah thats what i mean onion2k. It's very difficulting findind exercises.

Re: PHP Exercises!!

Posted: Sun Aug 23, 2009 7:32 am
by jackpf
Make a basic forum! :)

That'd be pretty easy...but you'd learn a lot as well. It should teach you the basics of SQL, code logic, design...

It should also teach you about security as well. Forums can be extremely vulnerable, since their purpose is to allow users to submit data.

Anyway, just a suggestion :)

Re: PHP Exercises!!

Posted: Sun Aug 23, 2009 7:39 am
by klevis miho
Thanks

But a forum for me would be difficult. I would like to start from the beginner things and build my way up, you know what i mean :)

Re: PHP Exercises!!

Posted: Sun Aug 23, 2009 7:56 am
by jayshields
A few ideas:
Make a contact form which sends emails.
Make a basic CMS (doesn't have to have a DB back-end).
Make a guestbook (again DB back-end optional).
Make a login system/class.

Extending these ideas is easy, and you could go as far as benchmarking them and then re-implementing them for maximum performance. Or trying out difference development practices on the same task, such as test-first.

Re: PHP Exercises!!

Posted: Sun Aug 23, 2009 10:09 am
by Cirdan
Yea...best way to learn is just to start doing. Write some simple stuff like like mentioned before, maybe try to make a blog or forum. It doesn't have to be fully featured like Wordpress or PHPBB. Once you write an application like that, you will gain a lot of knowledge and experience that will help you a lot your next time around.