Product changes

image description

Update - Improved platform-wide performance

Here at Betty Blocks HQ, we feel the need, the need for speed. And we felt that Betty Blocks really needed some love performance wise. This release brings some of that much needed love in threefold.

1) We managed to boost the performance of all backend activities. Using the builder or loading grids for instance are noticeably faster.

2) Using forms is now a lot faster, especially forms that use default values or have components with visibility conditions 

3) Web UI pages load a lot faster. In some cases even up to 3 times faster

Read more

image description

New feature - Count limited collections

How often do you need pagination for your Betty web pages? This will often lead to slow page loads. To help you build pages that load a lot quicker, we've introduced the count_full_collection() expression function.

Currently, if you want to paginate over a certain collection, you have to fetch the collection twice. Once with the limit and offset and once without in order to show a total count. With the count_full_collection() function, you can create a collection variable with offset and limit as you previously did (e.g. "products"). Now, however, you can create a second variable that counts all records for the given model and filter without the limit and offset, with count_full_collection(var:products). This should drastically improve the load times of pages where you paginate over large collections of data.

Read more

image description

New feature - Layouts and partials

If there's something we can all agree on, it's that repetition is inefficient and error prone. Let me repeat that, repetition is ineccifient and erorr prone... It is for this reason that we introduced layouts and partials to the UI builder.

At the top left you'll find a new tab 'Partials'. The header and footer are included in the layout.


Let's say you want to have the same menu bar and footer on each of your pages. You can now create layouts that contain said menu bar and footer and then have the contents of each page rendered inside those layouts.


Conversely, it could be that you created a great looking social media share bar and want to include it in multiple pages. Adding and maintaining that bar for each of those pages can be cumbersome. What if you wanted to change the colour of one of the buttons for each of those bars? Now, you can create a partial for that bar and simply include that partial every time you want your page to render your social media bar.

Talk about efficiency!

Read more

Experience Betty Blocks

this website uses cookies to improve your experience.