Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Where to find "PHP excercises"?
I have a very helpful book on PHP/MySQL but I often wish it had exercises to go with the chapters…
I haven’t come across a website with a series of exercises that gradually introduces new coding/php concepts and problems and provides the solution(s) somewhere as well. I guess I can take apart various tutorials, but I thought it would be nice if there were something more structured.
Anybody know of anything good out there?
I’m also interested in something similar for JavaScript and JQuery…
edit: PHP cheat sheet recommendations also welcomed…
Last edited by JanDW (2009-10-04 23:48:25)
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Re: Where to find "PHP excercises"?
Or any books out there that have this approach?
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Re: Where to find "PHP excercises"?
Is this approach too simplistic for your needs?
EDIT: it is a bit old, but claims to have been updated for PHP 5
Last edited by Bloke (2009-10-05 13:42:00)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Where to find "PHP excercises"?
Thanks, Stef. Seems like a nice quick reference for basic concepts. Though it’s really exercises I’m after.
I find theory and explanations of concepts everywhere, but no exercises that require you to tie it together, with accompanying solutions that show good ways of doing things and covers all aspects of the language.
Last edited by JanDW (2009-10-05 14:03:46)
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Re: Where to find "PHP excercises"?
Hmmm, there isn’t much is there.
Lots of people recommend PHP and MySQL Web Development, Second Edition. Not seen it myself.
Some other random resources that might hold nuggets of useful info, though nothing that quite fits the bill exactly:
http://www.w3schools.com/PHP/DEfaULT.asP
http://lab.bcb.iastate.edu/training/webdev/nmsu/
http://www.addedbytes.com/cheat-sheets/php-cheat-sheet/
http://encycode.com/wiki/index.php/PHP_Cheat_Sheet
http://www.goodphptutorials.com/
And when you’ve mastered it all, there’s always Project Euler to give the ol’ grey matter a thorough workout ;-)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Where to find "PHP excercises"?
Thanks for the recommendations, there are a few I hadn’t come across. Strange that there isn’t more homework/math problem approach type stuff out there…
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Re: Where to find "PHP excercises"?
BTW there is a fourth edition of PHP and MySQL Web Development in case anybody is planning on buying it.
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Re: Where to find "PHP excercises"?
You can think of small tasks for yourself. You can study a simple website and assign tasks to yourself. The first and common task is to create a login/password validation page, user registration page along with email sending for activation.
When I was born I was so surprised I didn’t talk for a year and a half – Gracie Allen
Offline
Re: Where to find "PHP excercises"?
Thanks… I will. But I’m also looking for criticism or comparison (to other people’s solutions) and I want to gain insight in how to arrive at good code (elegance, security, performance). I guess project Euler comes closest. Even though all the problems are math related and there aren’t too many PHP solutions in the forum it seems.
Last edited by JanDW (2009-10-10 16:24:42)
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
#10 2009-10-11 12:45:30
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
Re: Where to find "PHP excercises"?
I found this book PHP Solutions to be pretty good.
Offline
Re: Where to find "PHP excercises"?
Web Database Application with PHP and MySQL – by David Lane and Hugh E.Williams (Oreilly Media).
This book does not contain exercises but discusses good techniques to design a website.
When I was born I was so surprised I didn’t talk for a year and a half – Gracie Allen
Offline