folbert / fewbricks

Write code to create ACF field groups, fields and re-usable modules.
https://fewbricks2.folbert.com
GNU General Public License v3.0
124 stars 12 forks source link

Fewbricks2 will come with major breaking changes #37

Open folbert opened 6 years ago

folbert commented 6 years ago

In short, an update from Fewbricks 1.X to v2 will not be possible without rewriting some/most/all code that is using Fewbricks.

The plan is to rewrite core to adhere to PSR-2 when it comes to class names etc. I will probably also do a complete overhaul on how field groups, fields etc. are registered "under the hood" and the API to communicate with Fewbricks. All existing functionality will be kept and some new functionality will be added. During the years since i created the first, unpublished, version of Fewbricks and up to now, I have learnt a lot about ACF, WP and PHP in general so I will try to apply that to v2.

Please note that there is absolutely no ETA for a release of any kind. But do feel welcome to make feature requests.

regenrek commented 6 years ago

The old fewbricks was lacking Child Theme Support. I did implement in a fork. If you need it: https://github.com/macherjek1/mj-fewbricks

folbert commented 6 years ago

Nice. I will remember to implement it when reaching to that part of the code.

I also stole your idea to have sub folders for Bricks but went a bit further to allow an unlimited levels of folders and also allow loading of Fewbricks classes anywhere in the project files folder. So thanks for that inspiration.

https://github.com/folbert/fewbricks/blob/fewbricks2/fewbricks/init.php#L17-L48