spaze Posted June 17, 2009 Share Posted June 17, 2009 Hello, I would like to know what people here think about a framework I wrote. http://www.majgaj.com/codeframe This project was born some time ago and now I got inspiration to continue on this. Please have a look at the project and tell me your thoughts on it. Thanks! Link to comment https://forums.phpfreaks.com/topic/162523-check-out-a-php-framework-i-wrote/ Share on other sites More sharing options...
spaze Posted June 17, 2009 Author Share Posted June 17, 2009 I created a Subversion repository in Google Codes, so that people can look at the source code before downloading. http://code.google.com/p/codeframe/source/browse/#svn/trunk Link to comment https://forums.phpfreaks.com/topic/162523-check-out-a-php-framework-i-wrote/#findComment-857832 Share on other sites More sharing options...
trq Posted June 17, 2009 Share Posted June 17, 2009 The first thing that stands out is the fact that your index.php and .htaccess are in the root of the framework and not contained within public/. Your framework itself (lib/CodeFrame) should be installed outside of the web servers document root and included on php's include_path. I understand this isn't always possible but still. I'm also not sure I see the point in the tex file parse your calling a 'flatfile database'. There's a perfectly good flatfile database built into php5 (sqlite) that implements a modest sql dialect. Other than that, its nice demonstration of how simply the mvc pattern can be implemented I guess. Link to comment https://forums.phpfreaks.com/topic/162523-check-out-a-php-framework-i-wrote/#findComment-857876 Share on other sites More sharing options...
spaze Posted June 17, 2009 Author Share Posted June 17, 2009 The first thing that stands out is the fact that your index.php and .htaccess are in the root of the framework and not contained within public/. That is how things work on my web-hotel. if user's document_root in Apache is set to something else, these would go there ofcourse. Your framework itself (lib/CodeFrame) should be installed outside of the web servers document root and included on php's include_path. I understand this isn't always possible but still. In the installation package the Library in within the application directory, but on my web-hotel for example, the lib -directory is in a different location where multiple applications are accessing it. This also is modifiable through LIBRARY_PATH constant in main_config.php script. I'm also not sure I see the point in the tex file parse your calling a 'flatfile database'. There's a perfectly good flatfile database built into php5 (sqlite) that implements a modest sql dialect. The reason is because on some commercial web-hotels there are no SQL databases available free-of-charge. Even though SQLite itself is usually installed in most Linux distros, the PHP might not be compiled with SQLite support for these web-hotel providers because they want to charge you for whatever database usage. This is the sole reason why I thought of adding the txtsql-db-api package to CodeFrame, to let those who don't have access to SQL database to still have the option to do SQL queries within their applications. Other than that, its nice demonstration of how simply the mvc pattern can be implemented I guess. Thanks. If nothing else, I will keep on working on this for the fun of it. I do actually use CodeFrame for many of my applications so its not at all "just for fun" project. I would love to get some people to work on this project to perhaps make yafw, yet another framework Link to comment https://forums.phpfreaks.com/topic/162523-check-out-a-php-framework-i-wrote/#findComment-857882 Share on other sites More sharing options...
Recommended Posts