aviat4ion/OpenSQLManager — pull request #9 by toopay (2012-04-07 07:44:16+00:00)
Title: OO architecture, cleanup, add executable and bootstrap

Hey @timw4mail. So, atleast i have some free time to see your project. Its basic idea was quite interesting, but the codebase is really... :) So i basically do a preliminary contribution by :

- Implement namespace, and re-structure the file to comply with psr-0 convention and its autoloader.
- Change the naming convention, to adapt above architecture.
- Add new front socket (instead `index.php`) and separate the bootstrap.

With this new front socket, from your current directory (from CLI), try type :

php opensqlmanager

However, even with this change, i still thing the codebase itself is not ready yet for further scaling process. So for next task (if you still with me on this argument) someone (which is YOU :D ) is really need to :

- Clean up naming convention and apply a consistent coding standard.
- Replace simple test with phpunit for more convinience usage.
- Remove global statement completely, and replace it into an encapsulated classes.

But this all just my 2 cents. Anyway, nice idea on this project.