WPExtension plugin framework
WPExtension System cloud application development wp plugin framework [ Support only PHP v8++ ]
Backend Dependencies : PHPVanilla RESTful-API | Guzzle | AltoRouter | CMB2 | TCPDF | GULP | PHPMailer | PHPWine v2.0 | PHPVanilla v1.5 | PHPWine Enhancer | Smart WebPCompression |
- D|T|M : PHP WineElement
- D|T|M : PHP Dyanmic Tab
- D|T|M : PHP Dyanmic Accordion
- D|T|M : PHP Dynamic Table
- D|T|M : PHP Dynamic Banner Slider
- D|T|M : PHP Dynamic Product Slider
- D|T|M : PHP Dynamic Logo Slider
- D|T|M : PHP Dynamic Gallery
- D|T|M : PHP Static SearchFilter
- D|T|M : PHP Pagination
FrontEnd Components:
- Bootstrap 4
- Google fonts [ Poppin, Roboto Condence | 400, 500, 600 ]
// Structure and Dependencies
| - root folder [ WPExtension ]
| - Apps
| - Admin
| - Public
| - Api
| - Shorcodes [ class not allowed inside ]
| - Vendor
| - PHPWine v2.0
| - PHPVanilla v1.5
| - PHP WineElement
| - PHPWine Enhancers
| - Guzzle
| - AltoRouter
| - CMB2
| - TCPDF
| - PHPMailer
-
| - Includes
| - Loader
...
// Installing WinElement Dependency
use PHPWineVanillaFlavour\Apps\PHPWineElement\Wine\WineElement;
$elem = new WineElement();
$elem->Element([
'attr' => ['data-r'=>'drive', 'data-t'=>'wheel', 'data-n'=>'y']
,'elem' => 'h1'
,'id' => 'id'
,'class' => 'class'
,'value' => 'First Above!']);
$elem->Element([
'id' => 'new_id'
,'class' => 'new_class'
,'value' => function() { return('This is New Above!'); }
]);
$elem->renderElements();
// Array Child element with [ try ]
// from 1.4 ['elem_sort' = function() { ... }] in PHPWine v2.0 replace as ['try'=> fn () => ]
$elem = new WineElement();
$elem->Element([
'elem' => 'section'
,'value' => [ CHILD => [
['div', INNER => [ ['try' => fn () => (true) ? [
['h1', VALUE=>["This is the moment!"]]
] : false
],
['div', VALUE=>["Awesome great helper as Enhancer try!"]]
]] // end of second elem and inner
]] # end of child
]);
$elem->renderElements();
<!-- Array Child element rendered -->
<section>
<div>
<h1>This is the moment!</h1>
<div>Awesome great helper as Enhancer try!</div>
</div>
</section>
Debugging:
// Incase you have no idea what are you doing.
define('PHPWINE_DEBUG_ERRORS', true ); // @since v1.4
define('PHPCRUD_DEBUG_ERRORS', true );
// rename WPExtension file as
WPExtension-debugging or just [ -debug ] Disregard error message header_sent that happen when framework having content already.
// Incase you almost dead enable PHP Default error report [ debugging! ]
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
Resources:
WP Generator Source: Link
Google Fonts: Link
Thanks To:
LICENSE BY GNU v3
NO WARRANTY
BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Would you like me to treat a cake and coffee ?
Become a donor, Because with you! We can build more...
Donate:
GCash : +639650332900
Paypal account: [email protected]
Thanks and good luck!