Releases: danielgolub/Codengine
Registry for classes
Classes Registry using the Singleton Pattern
Now Codengine makes a faster and more stable experience for all of us. Documentation has updated accordingly.
Partial backward compatibility. Few things to change:
-
Each controller has a default __construct() function which contain a fixed code. Please change it to the following:
public function __construct() { $registry = Registry::getInstance(); foreach (reset($registry) as $key => $value) { $this->{$key} = $value; } }
-
If you have created a custom base class, please use the new registry (set, get) for faster experience with your application.
Major security fix + Command-Line-Interface added
Important notes
This update contains a security hole fix with our Framework. All 'GET' parameters were delivered to the controllers without any validation. This can lead to a MySQLi injection or other vulnerabilities.
THIS UPDATE IS RECOMMENDED TO EVERYBODY
CLI (Command-Line-Interface)
We're very proud to announce our CLI. It enables you to manage your controllers and views very easily. Its built with NodeJS 👍
Changelog
Security
- URL parameters are now secured for use through various filters. previously you were getting the url parameters 'as is' without any validation.**
- few security enhancements
Database
- new functions like append() and fix for range of limit().
Language Class
- minor fixes and improvements
Other
- CKEditor initialization code removed from backend.js file
- CLI added
Minor bug fixes, and new functionality
Changelog:
Security
- security base class secured post function (_) updated with mysqli_real_escape_string function
Database
- added database set_encoding function
- added limit function
- added new function append()
Navigation
- added support for older apache version
Language class
- minor fix to the data retrieval function
Upload class
- minor bug fix for file upload extension detection
Other
- CKEditor removed due to a legal issue (you may download it manually)
Official Public Release
This is the first productive Codengine release. Tested and analyzed on many website and considered as stable.
Specification
- True MVC code structure
- Two system routing navigation modes - enhanced for SEO, and normal GET request
- Pre built classes (Security, Database, Uploading, Language files, API connection)
- Easy to use config file
- Pre built view template (Bootstrap, jQuery, CKEditor)
- And much more!
Additional Comments
Visit http://codengine.net to learn more with video and written tutorials, or go ahead to our documentation library at https://github.com/danielgolub/Codengine/wiki/Documentation