Need some more detailed description...
This is my little php framework.
If you are interested, you can grab the latest version from git repository @ github.
Version 1.1 beta / xxxx-xx-xx
- Automatically search for user access controllers and actions
- Auth library
- Need to do something about admin part
- Rewrite db configuration and way the connections is made active
- Add
db_link$scheme to other db method parameter list, so you can use these methods with another connection - Extend router's redirect function with javascript redirect
- Removed error handler class. It was only because of nice to have. If you want to configure how errors are displayed, use php config - error_prepend_string and error_append_string directives
- More detailed error messages on controller load
Html caching - make html files in appropriate directories- this can be achieved by webserver for example nginx fastcgi cacheFunctions for clearing and replacing cache- Place where to define what kind of js, css, libraries, helpers, etc load for controller/action (Is done by html helper)
Version 1.0 beta / 2009-07-21
Cache for languages (write to memcache? Files? Memory?)Languages now are stored in php constants- Seperate admin auth library/controller from language tool
Should languages class extend db class?Already done. Now languages are maintained in one databaseLet user configure in what order will libraries, helpers, etc will load (I guess I can do it now, but I will leave it here for reminder)- Admin tool needs some design attention
- load() should include and eval file on return too (instead of replacing file contents). ob_start? In case of returning php files.
Language class : get language from browserLanguage class : spend more attention to this one :)-
Completely removed languages class. To load language use load_lang($scope) function and constants. To replace something in string use php strtr function. Example:
load_lang('default');
echo strtr(YOUR_TEXT, array('%var1' => 'Variable #1')); - New admin directory in extend with newest core + admin tool
- Fixed bug : When base_url set to static not auto, router did some wrong things
- Create "config" directory and put all config files there
- Form validation library
- Moved js.php controller outside of core
- Autoload db class, when called db::
- load() - when returning file content, it should replace with $prefix not just $vars keys - it is not worth the performance lost
- router::e404(); calls exit function
- should load() from load() leave all parent variables? - no, you can do this - load('file', $vars); in second load
- Possible wrong $script_path and g('config')->base_url = '', when not "AUTO" relationship
- Debug ip
- l() should replace %test => 'test replacement', not %s
- Routing config file should be probably outside of config.php because of some changes in routing file, you have to upload all config file to production server, which may break some things like database settings and error debugging
- Admin language tool - Wrong char escaping
- Admin language tool - Delete language items
Version 1.0 alpha / 2009-02-19
- Alpha because nobody else has ever tried this framework :)
