I’m certainly not questioning your experience Bob, in fact I had the same with RealStudio over the past few years. What I am just saying is that it appears things have changed with Xojo recently on this specific point (even with anything controlled by a WebStyle), and my recent tests show this, that’s all.
[quote=83376:@Bob Keeney]…/… My recent experience with several large WE apps is that embedding dynamic complex WebContainers at runtime is slow. For simple WebContainers you never notice it but for anything complex it can be quite slow. Don’t forget to test on a real web server as you’ll never see this latency while debugging when there is practically no latency.
In this case, my client couldn’t live with the delay when embedding them dynamically so we ended up putting them on the WebPage at design time. This delays the initial page show but then there is no delay as the user switches tabs (in this case).[/quote]
I understand your point, yes.
When you say embedding dynamic complex WebContainers at runtime is slow, you present it as if WebContainers were flawed. In fact, if you put everything in a WebPage, the initial loading time wont be faster. Of course, if you put everything into a WebPage there will be (almost) no delay when the user switch tabs. This does not mean WebContainers are intrinsically ‘slow’.
I’m not sure how to put it in english without appearing stubborn or something.
What I’m trying to say is that if the client don’t want delay between switching tabs, obviously, putting everything into the WebPage will be faster at tabs switch time and this would be the right choice, but the loading time of the WebPage itself will suffer accordingly, inevitably.
It does not mean WebContainer ‘are slow’ per say, it means loading section by section is slower when the user switch tab rather than loading the all site at once.
This is an AJAX strategy issue, not a WebContainer issue, it doesn’t mean WebContainers are flawed/bugged and slow by nature, they have the same loading speed as WebPages.
It all depends on the quantity of data you put in there and the adopted strategy.
My point here is for the reader, especially for new Xojo users, who may read “WebContainers are slow” so they would completely avoid those thinking it is a bad idea to use them and definitively forget WebContainers. It would be sad, as WebContainers are great, they just have to be used the right way with the right strategy. And thanks Bob for pointing out those cases where they may not be the right choice.