News for hackers. Stuff that matters.
Re:Pain Points of Web Development with WordPress by brightball on Thursday September 19, 2019 @11:55AM (#21017406)
I wonder if the author has tried TypeRocket? The WP devs I know who use it tell me that it improves things so much it should just be the default.

https://typerocket.com/

Re:Pain Points of Web Development with WordPress by kevindees on Thursday September 19, 2019 @12:27PM (#21017781)
WordPress is in a weird place right now as the PHP community has matured into MVC+ for some time now... WordPress core... not so much. Tools like TypeRocket are a must-have to seasoned WP devs.

But, if something like TypeRocket was added into WP core, I believe, the plugin ecosystem of WP would greatly improve moving forward.

These frameworks not only add MVC into WP but they also provide a common interface to create plugins. These common interfaces can be a simple as input fields with model binding but also extends to interactive HTML tables with model binding and OOP and autoloading and dependency injection and IOC and so much more.

I get that WP is trying to move toward JS and Guten-Blocks at the moment but the neglect of MVC and adding a common interface causes me to wonder what WP is really trying to do.

It seems like an easy win to add something like TypeRocket to WP core. And, the benefits: a proper layer of security built into forms, unified design athstetic in the WP admin, plugin interoperability, huge reduction in code bloat and plugin hell, and the list continues.