If I am building a website (web app) with Xojo, what is the paradigm to have multiple pages? For example, if I were building a blog site, I might have:
A main page with blog entries
A login page
An admin page for managing posts (once logged in)
Is the method with Xojo to add multiple “WebPage” objects?
I looked at the “quick start” tutorial but it was a little too simple. Is there a more elaborate example with multiple pages?
Xojo WebApps can have multiple Webpages. So in your case you would have for example 3 different pages and you can navigate between them using Buttons or Toolbars.
Its like
Yeah, no… don’t go that route and don’t confuse web apps with web sites. For a blog, stick with Wordpress. No need to reinvent the wheel in a tool that was not made for this (websites).
Thanks. Yes, I don’t actually mean to create a blog. I’m just trying to understand the basic structure of a web app in Xojo and didn’t see anything obvious in the documentation / tutorial.
Did you have a look at the new videos (tutorials) ? That may help you get how that works.
What is specific to Xojo is that you create Web Apps as you create Desktop Apps.
In a Desktop App, you have Windows, in a Web App you have pages. You drag controls to your page much like you to with a Desktop App. It’S very similar, except that Web Apps pages are seen in a Web Browser, and you see only one page at a time. This is a short description, but it should help you get an understanding of Web Apps.
Would the whole page load longer with all these containers compared to having webPages instead? I’m not familiar with WebApps, just trying to understand.
@Greg_O that is good to know. I just wish some one had told me that a long time ago.
I always like to learn new stuff, makes me want to make a new webapp just to try it.
Thanks