PHP Storage Class is a very simple to use class which lets you store all your configuration and settings in simple configuration files. The class is very easy to use with any of your existing projects, just drop it in and start using.
Settings Class comes with two predefined drivers (1) File Driver (2) MySQL Driver – Using which you can easily switch between File based storage or MySQL based storage.
Usage is as simple as using two methods – You can easy select where you would like to store the settings, either in a settings file or in a database – You never have to change a single line of code
Writing
$config->set("page-settings","userbrowser","chrome");
Reading
$config->get("page-settings","userbrowser");
Optimized Disk I/O Performance
It is well known that Disk I/O is potentially blocking and becomes extremely crucial when it comes to the point of saving dozens of user settings during the page load operation. In order to reduce the interaction with the disk during each save operation (file mode) and as an optimization attempt to reduce the Disk I/O cycles, this script uses a concept of Lazy Saving which Queues all the write operations till the point where there are no more write operations and finally flushes them from Memory to Disk in one shot thus speeding up the entire process.
[eltd_button size=”huge-full-width” type=”outline” text=”Download & Demo Links” custom_class=”#” icon_pack=”font_awesome” fa_icon=”” link=”” target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Demo = PHP Class for Storing Settings in INI or DB Files
[eltd_button size=”huge” type=”” text=”Full Live Demo” custom_class=”” icon_pack=”font_awesome” fa_icon=”fa-laptop” link=”https://codecanyon.net/item/php-class-for-storing-settings-in-ini-or-db-files/3308636″ target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Kindly Note: We update new contents like WordPress Themes, Plugins, PHP Scripts everyday. But remember that you should never use this items in a commercial website. All the contents posted here for development & testing purpose only. We’re not responsible for any damage, use at your own RISK! We highly recommend to buy PHP Class for Storing Settings in INI or DB Files from the The Developer ( smart_techie ) website. Thank you.
Download = PHP Class for Storing Settings in INI or DB Files-[Updated].zip