AndriusN - 2003-05-27

MySQL Manager based on PHP MVC (Model-View-Controller) framework

Basic intend is to develop PHP framework. But... single framework without any adaptation sample will be useless. Such sample is MySQL Manager. It is very similar thing to phpMyAdmin, which stands in third plase of SourceForge Most Active.

So there is two things in one: framework and  MySQL Manager. I have developed first version on both (224KB). Framework stands as separate module,  MySQL Manager also. They are linked only by one initialization class of root project (you should see directory layout and it will by all cleare). It is realy great thing because:

1.All is working on Model View Controller scheme.
2.All actions is registrating, deviding on do and view actions.(mechanizm for reqistrating is not implemented yet)
3.Each action can lead failure (error) or success. On one or other is diferent responding. You just set other action whitch must be called on error or success.
4.No nead write update, delete, create querys on one table (in future it will be like CMP on EJB, actualy I have writed some sample code to implement it)
5.Objects creation like Java lookup scheme (must be developed till it)
6.Easy error handling by class name and error code.(here is some misunderstanding with errors hierarchy)

And all this is realy great. I have many ideas how to produce real goot framework with PHP. Maby it won't be as as god as EJB but It realy will help people who developing web sites or eaven applications with PHP. Eaven if it won't where will be realy good MySQL administration tool. Now I have writed interface DB class and implementation MySQL class. In future where will be such classes as PostgreSQL or Oracle. And MySQL administration tool  will be DBMS Web administration tool.