What do you think...single page vs multi page?

Hey everyone!

Is a single page structure better than a multi page structure?

We get lots of questions about which is better…

The easiest answer is, it depends.

In some situations, you have to use a single page app. In some, a multi-page is the better alternative.

To add some context, we put together a quick video covering single page apps…it shares our view on when to use this structure, why you should use it (or switch to it), and the beginnings of how to set it up.

You can watch that here (are you using the right structure??).

I know there’s already discussion around this topic scattered around the forum in some shape or form, but for those of you who specifically chose one structure over the other…

  1. What were your specific reasons for choosing the structure you did?
  2. Are you happy with that decision?

Cheers,
Gaby

Coaching No Code Apps
Join our Facebook group for insider access to no-code development
Get professional development services
Enroll in expert-led courses and products

16 Likes

Hi @romanmg

Just a little accuracy. it is not necessary to have its application in one page to be authorized Apple or Google store. If you have as in my case hundreds of ‘Repeating Group’, you have no choice but to have several pages otherwise experience on some phones will not be acceptable. In addition, your Bubble experience in the editor will be greatly affected. The good news you will see over time whether you need to switch to multipage mode. Great video @romanmg.

3 Likes

Hi,

Single page will be better but you need to set a lot of state as well as planning.
The good part is the loading time is alot faster compare to multi page type.
Just sharing our experience :slight_smile:

2 Likes

Great advice, @JohnMark! The specific goals for the app definitely come into play during the decision, but you’re right – there are a lot of important factors to consider (user and dev experience).

1 Like

@loh.cher.e, good points…are there other reasons besides load time that you think make SPAs better, and do you think this structure is better across the board, no matter what? Or have you found exceptions (in your experience)?

Just sparking conversation and looking for some other opinions :slight_smile:

I mainly opt for single pages when designing web applications with an all-in-one dashboard. Why? For the simple fact that many dashboard sections (which can pass as standalone pages) are complex and affect page speed significantly; continuously loading/reloading a section (in this case a ‘page’) is not ideal. I’d rather a longer load time upfront and a seamless and quick user experience than the opposite. You can optimise the user’s experience by using an engaging loading icon of some sort.

It will be interesting to hear what others have to say.

4 Likes

Just to add, aside from page speed, professionalism is another factor. When looking at great dashboard UI/UX designs from top organisations, they also adopt SPAs. So when designing dashboards, I aim to recreate top-level ones comparable to the best SaaS applications.

Having said that, there is a plausible argument that functionality > design.

2 Likes

Good discussion! Thanks for the input @romanmg

@jamesbond do you have a few examples of great dashboard UI/UX design I could draw inspiration from ( can include yours :wink: )? I do not want to sidetrack the subject so if you are willing to share the examples a PM could also be an option.

2 Likes

@jamesbond these are good points regarding speed and ease of use in these situations. I think the debate for functionality > design might have to be a case by case basis depending on specific goals.

Great input…thanks for sharing your experience!

1 Like

@jamesbond, if you sent along an example to @SenorPelota and want to share here, too, it could be a great showcase of the points you were making about using SPA structure for dashboards. If you have a multi-page example to compare, even better :slight_smile:

2 Likes

Thanks for asking @romanmg. There is a plethora of lovely designs on UI/UX sites like www.dribbble.com to gain inspiration. The Bubble template section is also a great source, however, here are some great Bubble made dashboard designs:

  1. This is a contemporary and minimalist design that does the job. Please check it out!
    https://moderndashboard1.bubbleapps.io/?p=home

  2. Estimly - this form builder is almost guaranteed to tickle your fancy. A sleek and professional design that inspires great colour combos to think about. Plus it’s also mobile optimised!
    https://estimly.bubbleapps.io/

  3. Airdev CRM - this is for the dashboards that place great emphasis on analytics. Straight away you see the data jump right at you. Another dashboard that has been mobile optimised.
    https://airdevcrm.bubbleapps.io/portal?tab=dashboard

I’ve enlisted some of my favourites but there’s more that templates you can gain inspo from! These dashboards are lightning quick as the creators of each dashboard respectively - @Thimo, @ZeroqodeSupport and AirDev (@vlad) have done well to factor in Bubble best practices.

Best regards,
James

6 Likes

Thanks for sharing, @jamesbond!

With the Airdev dashboard, you can see there’s a slight initial load time, but once loaded, transitioning between views is immediate.

Their template looks/functions great! I think it also provides a great transition into a common topic…

We often get questions from people who are considering building SPAs about how to reduce that initial load time or at least give the user a better experience.

As @JohnMark mentioned, if you have hundreds of repeating groups, for example, having multiple pages could end up being necessary. @loh.cher.e also brought up loading time, and @jamesbond made great comments on this, too.

If you guys are willing to share some more insight (or if anyone else wants to chime in)…when building a single page app and considering initial load time, what are your own best practices that might be helpful for anyone considering this?

2 Likes

Great points, and like I’ve already mentioned, there’s somewhat of a tradeoff. Are you willing to sacrifice a longer initial load time for seamless and quick transitions between sections? Top-level SPAs like Google’s Gmail leverage loading icons/motions to optimise the user’s experience and mitigate bounce/report rates, while others engage the user with a story/game of some sort; it’s an opportunity to really get creative!

1 Like

It was more than a longer initial load time, it was an unacceptable download time and freezes on old phones. That’s a point to consider. Lighter better. It is difficult to predict this kind of situation in advance. Once downloaded, the change between pages is quick.

1 Like

Do you know how to implement such a loading animation? When just using the workflow ‘launch loader when page loaded is No’ the animations comes way to late…

Hi @klaas.vanhoeck1

I’m using the BDK loader, the fastest loader of any plugins I’ve tried. The rest will depend on Bubble to display a ‘loader’ in the first place.

2 Likes

Maybe Bubble should take a look at that as it is proven it raises response rates… @eve

Thanks @romanmg for yet again simplifying and explaining things. I wish I had access to this thread when I was first working out what and how to do SPA. I hate to think of how many hours I have spent reading threads with endless opinions and mixed replies that have left me more confused and wasting more time than necessary. I have two questions:

1. Screen size of mobile apps.
It is one thing starting wide (e.g. 1200px) and using responsiveness to scale down to mobile (easier) and another to start small (e.g. 320px) and use responsiveness to scale up (more demanding). What are the implications in terms of build time, Google SEO, etc. Is Google SEO impacted by whether you use a width of 320px (as I’ve seen you suggest) or 600px (as some on other threads suggest) or are both seen as mobile by the Google algorithm?

2. Popups in an SPA
I see a number of threads where people had difficulties making them responsive from small to large. I eventually discovered that I need to set the popup width to the widest size I want (e.g. 1200) and use ‘collapse margins’ to get my 320px content to stretch. But I’m wondering if using a 1200px popup in an otherwise 312px app negates all the hard work and potential Google gains made elsewhere. Is there any reason I ought to avoid popups, or any other element when aiming to produce a wrapped mobile app for the app stores? UPDATE - While I think of it, is there a way to stop all the scrolling on the page below a popup - can we somehow force the app to just scroll between top and bottom of the popup?

And for those reading this thread to learn how to approach SPAs, I recommend the following two threads from @petter (another expert bubbler).

8 Likes

@patricia, great questions! For screen size, I’m not sure how Google’s algorithm would treat those screen sizes differently. I’ve mentioned designing mobile apps at a width of 320px before because it makes it easier to cover most smart phone sizes since 320px is on the smaller end (and there’s less risk of cutting things off, which Google doesn’t like).

I think in terms of SEO, you’d be best using Google’s mobile friendliness testing tool (https://search.google.com/test/mobile-friendly) to confirm whether it has the “green light” in their eyes. An SEO expert may be able to weigh in here regarding the Google-related questions, though.

I’m not aware of reasons to avoid pop ups for wrapped apps. Regarding stopping the page from scrolling, check out this thread here: Temporarily stop scrolling/"freeze" the page when Popup is open?.

Also, thanks for those great thread recommendations!

-Gaby

4 Likes

Hi

Yap we have some multi page project and a single page ordering app project.
Conclusion is the single page load alot faster.
Even now cloud already have cloud fair help to increase the loading speed. Single page design still the best in our opinion.

1 Like