CRUD
CRUD copied to clipboard
[POC][WIP] backpack smart components
WIP
The inspection completed: 24 new issues, 106 updated code elements
this looks interesting, I'm curious, what does it do?
this looks interesting, I'm curious, what does it do?
Sorry @ziming totally missed your comment.
An overview of what we want to achieve here is:
- Make all backpack attributes (entity, type, label etc) have their own classes and implement specific methods, like
getDefaults,getValidationetc that could easily be overwritten by developer without messing withCrudPanelobject. (our makeSureFieldHasEntity, makeSureFieldHasLabel etc methods). - Create the concept of Component (Field, Button, Column etc), anything that has
attributes, and make them uniform across the whole app.
I hope that we come up with a good solution here, I have high hopes for this, will remove ALOT of code from CrudPanel object, separate it correctly where it's used and make overriding core stuff easier.
Cheers
I don't think we will go this direction in crud.
Closing 🫨