Dev4Press No Script
Blog Post

Long term plugin’s redesign and rewrite goals

With WordPress finally moving away from old PHP versions, and with very low usage statistics related to older PHP versions, it is time to also make significant changes to the basic design of all Dev4Press plugins.

The process of modernizing the plugins code base will take a lot of time, and it will be done gradually, starting with the main shared code library: Dev4Press Library. This library is the core of all Dev4Press plugins and it contains base components for everything plugins use, including the admin side interface.

The long term plans include modernizing the codebase to use very powerful PHP namespacing and class autoloaders to further optimize the way each plugin is loaded. Also, a lot of work will be done to further abstract the plugin admin side UI, to make some visual improvements and refinements, improve responsiveness and more.

Dev4Press Library

Before the plugins can be improved, the main thing is to update the shared code library. The changes are already in the works, and there will be few minor updates before the plugin reaches version 3.0 that will have all the planned changes. Here is the list of planned changes:

  • Reorganize all classes to use namespaces
  • Use PHP autoloader for all the classes
  • Remove built-in Fontawesome 4.7 icons font
  • Expand Dev4Press font icons set with icons for UI
  • Build new UI classes and include default page elements
  • Convert all the UI CSS into SCSS
  • Remove old and unused functions

The plan is to finish all these in the next two months. A lot has been done already, but I expect that UI changes will take most of the time.

Plugins And Addons

Similar to the Library, all plugins will need massive updates to be able to use the Library and to update the existing code base and existing UI. While all plugins already use the same basic UI, there are some inconsistencies that will need to be fixed and updated. Changes needed for all plugins and addons include:

  • Reorganize all classes to use namespaces
  • Use PHP autoloader for all the classes
  • Use updated UI from the Dev4Press Library

So far, the first plugin that will be released with a lot of the work done toward the goal is GD Quantum Theme Pro for bbPress. It will be released next week, with full namespace based organization, improved loading and a lot more new features on top.

Other plugins and addons will follow, with the goal of finishing conversion processes for all plugins in the next 9 to 12 months.

Please wait...

About the author

Milan Petrovic
Milan Petrovic

CEO and Lead developer of Dev4Press Web Development company, working with WordPress since 2008, first as a freelancer, later founding own development company. Author of more than 250 plugins and more than 20 themes.

Subscribe to Dev4Press Newsletter

Get the latest announcements, release digests, promotions and exclusive discounts, and general Dev4Press-related news straight into your mailbox.

This form collects your email (optionally your name) for the purpose of sending you newsletters. Check out our Privacy Policy for more information on how we store and manage your data. We will not send you any spam. Newsletters are sent 2 to 4 times every month.

Latest From The Blog

plugins relase corsecurity 2.1

coreSecurity Pro 2.1

coreSecurity Pro version 2.1 brings one big new feature for enhancing user management and adding a powerful control to disable (and later enable) user accounts with a wide range of settings. There are many more important updates, improvements, and tweaks.
reviews important update bbpress 2 6 11

Important update: bbPress 2.6.11

After a long wait, new minor update for bbPress 2.6 is now available, and it is highly recommended to update your website to this latest version of bbPress as soon as possible.
plugins relase gd power search pro 2 7 lite 2 1 upd

GD Power Search Pro 2.7 & Lite 2.1 for bbPress

Both Lite and Pro version of GD Power Search for bbPress have been updated to fix several issues, discovered after testing with bbPress 2.6.11, including a fix for a bug that is present in bbPress plugin itself.

Leave a Comment

WP Rocket - Make WordPress Load Fast in a Few Clicks
GeneratePress - The perfect lightweight theme for your next project