rdeeb / zerobase-platform Goto Github PK
View Code? Open in Web Editor NEWZeroBase Platform Plugin, this serves as base for ZeroBase based themes and plugins
ZeroBase Platform Plugin, this serves as base for ZeroBase based themes and plugins
Create a class that will allow a developer to create an option page for a theme or a plugin and allow them to:
The class should handle the save logic for the options, and consume the forms sub framework.
Allow the end user to create a Yaml file where he can create settings pages, and add options to them.
Also allow them to create a Yaml file for the customiser options allowing easily adding of the theme customiser configurations.
Certain validators sends a warning when they are instantiated, research and resolve.
Create a base widget class that will allow:
Create an autoloader that will load the files automatically from the file system using the PSR-4 loading standard.
Create a module loader that will create the post types, taxonomies and meta boxes from YML files. So it is easier for the developer to implement these elements, and also it will be easier to implement a UI module to create these elements.
Create a cache storage that will help speed up performance on module loading tasks.
The main Idea behind this task is to store in local files the actual tasks run by the YML importer. Re-running this tasks on every request will hurt performance, while importing the cache files will speed up the framework bootstrap time.
The cache file is also required by the widget loader
Create proper docs for the plugin functionalities
Create a class that will simplify the process of adding new fields to a taxonomy in Wordpress
Create a validation subframework that will:
in library/modules/ZB_ModuleLoader.php, line 73
eval()
is very dangerous because it allows execution of arbitrary PHP code. Avoid using it, especially when including user input.
{
$cache_bag = ZB_FileCache::getInstance()->createCache( 'config' );
$cache_eval = $cache_bag->retreive( 'cached_' . $cache );
if ( $cache_eval == false )
{
$loaded_post_types = eval( $cache_eval );
if ( !empty( $loaded_post_types ) )
{
foreach( $loaded_post_types as $post_type_name )
{
$cache_bag = ZB_FileCache::getInstance()->createCache( $cache );
Posted from SensioLabsInsight
Create a class that will allow the user to extend the default wp user information, by adding new fields on the user edit page.
Leverage the form sub framework like in the meta box class.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.