mwpd / basic-scaffold Goto Github PK
View Code? Open in Web Editor NEW[WIP] Plugin Boilerplate Code
License: MIT License
[WIP] Plugin Boilerplate Code
License: MIT License
First, let me just say this is a cool project. I always enjoy your perspective on OOP, in particular in relation to WordPress.
In regards to this issue specifically, in basic-scaffold.php we attempt to use the Composer auto-loader and fall back to a bundled auto-loader if Composer is not present.
Having two autoloaders seems like extra complexity.
If we're going to have the Infrastructure\Autoloader
anyway, perhaps we could use that (and remove Composer autoloading support).
Alternatively, Composer usage could be required and the Infrastructure\Autoloader
could be removed.
The particular scenario I'm most concerned about is if a bug is introduced into one of the auto-loaders it could be very difficult to detect if someone's particular setup is using the other auto-loader.
Thanks as always for sharing your work with the community. Cheers.
When passing an array of objects to SimpleView::render()
the magic getter tries to escape an object and breaks. That's why SampleLoopService doesn't work, it should render the strings instead of the post object.
e.g. from https://github.com/php-stubs
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.