Hi everyone,
As in other programming language, aim for simplicity in Bubble!
Here are some tips that have allowed me to develop much, much faster for internal tools in Bubble. These are principles that can be applied to a number of applications, I believe.
And with the new Bubble pricing, these repeating groups are not consuming much WU.
CRUD operations in one place
Managing reusable elements can quickly become a nightmare.
So, I put data display and modification in the same place using fields invisible borders and auto-binding.
No need to complicate things with separate forms for adding and modifying data and a page for displaying data: it’s best to put everything directly in the repeating groups with auto-binding.
Goodbye custom states, hello URL parameters
I usually put a lot of information in URLs. Some advantages:
- You can share a URL and get the same display from one computer to another.
- Custom states can become a nightmare when managing them between multiple reusable elements (you then have to update one reusable element, then pass the information to the other, etc.). When the information is in the URL, it is directly accessible.
- The “go to…” workflow doesn’t consume WU since it doesn’t completely refresh the page.
Thus, the conditions in the repeating group are URL parameters, which can be modified when filters are adjusted.
Display the detail of a cell without creating another reusable element
Again, to simplify, I usually put the details of an element directly in the repeating group. To do this, just:
- add an icon to view the details
- go to… workflow by putting the unique id as URL parameter
- filter the repeating group based on a URL parameter
All in all
Link to editor: Automationzillatemplate | Bubble Editor
Link to page online: Companies - AutomationZilla.com
Also see this gif.
Don't overcomplicate things, and this will enable you to save quite a bit of time.
Please note that these advices are more useful for internal tools, because they use native Bubble functionalities without specific design widgets.
Please tell me if you have other advices to simplify repeating groups and data management for internal tools.
And let me know if you have questions!!