I’m in the process of developing a web application for our company.
Currently, I have a home webpage that contains a vertical navigation sidebar (from Building a Vertical Navigation for your Web Application – Xojo Programming Blog)
which makes the corresponding web container visible based on the navbar item selected. Each web container has a listbox grouped with buttons to add records as well as view/edit/delete selected records in the listbox. I have relied very heavily on web dialogs to add/edit/delete or view data and have even nested web dialogs in other web dialogs in some cases. I have noticed some latency when the home page loads and I’m wondering if this could be due to all of the containers and their corresponding web dialogs being loaded at once. Currently I have been dragging the web dialogs into the control pane to add them to the other containers & dialogs.
My questions are:
Is it better to load the dialogs individually at runtime in code say, for instance, when an event is triggered?
Instead of over-relying on web dialogs, is it considered a better practice to break an application up into web pages and/or web containers instead?
Are there any good Xojo web resources or open source projects (other than Eddie’s Electronics) out there I can look at to help me get an idea on how to develop a nice, responsive UI?
I’m still learning how to implement things efficiently and optimize performance in a web app. Since this is an Intranet for a smaller company, I don’t anticipate more than 20-50 concurrent users. However, the application will inevitably increase in size and scope, so I would like to get the basic functionality ironed out.