Where to next?
Posted: Tue Nov 27, 2007 1:16 pm
First: I'm not sure if this belongs in General Discussion or PHP Code so... sorry if this is in the wrong place.
I would like some suggestions for small to medium sized projects that could fairly easily be used in other places. I'm new to php, so I would like the projects I start on to be gradually building in complexity. Here are the two projects I've already started and (mostly) finished:
1. Build a login class - Finished several months ago, this was my first attempt at php security. It works, but is very crude, and I rewrote it from the ground up in my second project. Features include: using javascript to validate input before processing, php validation for those without js enabled, and sha256 encryption (using feyd's class).
2. Build a backend for a simple website - Mostly finished this last week. Applicable towards a fairly limited range of database driven websites (not as flexible as I was hoping for). Features include: remove/create a page/category, change menu order, edit page content (still needs a validator), change password, create new administrator with x, y, or z permissions, and remove administrator.
My next project will probably be one of the following build a chat room (unless you guys have better suggestions/ideas).
From these two projects, I know that I want to (in no particular order):
A. Eliminate duplicate code - I need to make my functions smaller, and more generic.
B. Understand classes better - My classes are _very_ basic. I know I could do a lot more with them.
C. Learn more complicated mysql queries - Currently my knowledge consists of SELECT, FROM, and WHERE (basically).
D. Learn when and how to use files - When _is_ using a file better than using a database?
E. Get better at form validation - I'm getting there... I just need practice.
So. I'm looking for suggestions for things that I can code that will help me with any, or all of those goals. In short:
What should I code next?
I would like some suggestions for small to medium sized projects that could fairly easily be used in other places. I'm new to php, so I would like the projects I start on to be gradually building in complexity. Here are the two projects I've already started and (mostly) finished:
1. Build a login class - Finished several months ago, this was my first attempt at php security. It works, but is very crude, and I rewrote it from the ground up in my second project. Features include: using javascript to validate input before processing, php validation for those without js enabled, and sha256 encryption (using feyd's class).
2. Build a backend for a simple website - Mostly finished this last week. Applicable towards a fairly limited range of database driven websites (not as flexible as I was hoping for). Features include: remove/create a page/category, change menu order, edit page content (still needs a validator), change password, create new administrator with x, y, or z permissions, and remove administrator.
My next project will probably be one of the following build a chat room (unless you guys have better suggestions/ideas).
From these two projects, I know that I want to (in no particular order):
A. Eliminate duplicate code - I need to make my functions smaller, and more generic.
B. Understand classes better - My classes are _very_ basic. I know I could do a lot more with them.
C. Learn more complicated mysql queries - Currently my knowledge consists of SELECT, FROM, and WHERE (basically).
D. Learn when and how to use files - When _is_ using a file better than using a database?
E. Get better at form validation - I'm getting there... I just need practice.
So. I'm looking for suggestions for things that I can code that will help me with any, or all of those goals. In short:
What should I code next?