PHP Exercises!!
Moderator: General Moderators
-
klevis miho
- Forum Contributor
- Posts: 413
- Joined: Wed Oct 29, 2008 2:59 pm
- Location: Albania
- Contact:
PHP Exercises!!
I need beginner php exercises. I think that is the best way to learn it
Re: PHP Exercises!!
go to w3schools.com or tizag.com
Re: PHP Exercises!!
i think you can find them anywhere,but not here... 
Re: PHP Exercises!!
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...
Maybe that's something some people here could write...
-
klevis miho
- Forum Contributor
- Posts: 413
- Joined: Wed Oct 29, 2008 2:59 pm
- Location: Albania
- Contact:
Re: PHP Exercises!!
Yeah thats what i mean onion2k. It's very difficulting findind exercises.
Re: PHP Exercises!!
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
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
-
klevis miho
- Forum Contributor
- Posts: 413
- Joined: Wed Oct 29, 2008 2:59 pm
- Location: Albania
- Contact:
Re: PHP Exercises!!
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
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
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
Re: PHP Exercises!!
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.
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!!
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.