Form or page.

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

Form or page.

#1

Postby xren » Tue Feb 05, 2013 4:23 pm

Hi,

I know that form contains page(s). if you go between pages, the info on previous page can be kept.

When to use multiple pages and when to use multiple forms?

Xiaoli
0 x

User avatar
Wai
Moderator
Moderator
Posts: 165
Joined: Wed Sep 12, 2007 9:04 am
Location: Sandy, UK
Contact:

#2

Postby Wai » Wed Feb 06, 2013 9:06 am

This really comes down to what kind of application you are building.
If it's very simple and small, then a form with multiple pages will suffice. It saves you some development effort as you are not maintaining data across forms.

For larger applications, it is a good idea to break up the project into modules, each form representing a separate module. This helps prevent a single form becoming overly large and complicated.

For example in a project you may have the following areas:

- LOGIN
- REGISTER
- HOME
- ADMIN
- REPORTS

Each one of these, can be a separate form.

From a development standpoint it also means that different designers can work on separate modules. Also, each module can have it's own Business View and it's own set of resources.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#3

Postby Jon » Wed Feb 06, 2013 11:16 am

Another consideration is the use of the back button. If you have one form with lots of pages, the user will be able to use the back button without any restrictions. But if there are lots of forms, the situation is not quite so simple. If "call form" is used, the back button will work, but if "goto form" is used, the back button won't work.
0 x

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

#4

Postby xren » Wed Feb 06, 2013 2:56 pm

Thank you all for the reply!

Xiaoli
0 x


Who is online

Users browsing this forum: No registered users and 42 guests