Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Forms application size

391495Jul 22 2003 — edited Jul 23 2003
Hi all!!

I am using forms9, and I want to know, which is the normal size for a form.
this is: how many canvases (maximum) is recommended to have in a form. How many data-blocks, how many windows?, before thinking in building a multiform application

for example: at the moment I have 27 canvases, 4 windows
49 datablocks, 16 program units, 10 LOVs, 1 property class,1 report and I expect to continue growing...

thanks in advance
Alejandro

Comments

Grant Ronald-Oracle
There is no hard and fast rule but think if someone else was asked to maintain your form. Do you think it would be easy with all of these objects?
Check out http://otn.oracle.com/products/forms/pdf/bestpractices9i.pdf

Regards
Grant Ronald
Forms Product Management
391495
thank you very much for your replay

In fact I didn't expect the form to grow so quickly
I come from C an C++ and here in a couple of weeks
I have many datablocks, canvases,program units,...
I think I am going to split the form in 4 forms just to make them easier to maintain.

best regards
alejandro
275888
if it is on web deployment, the download time will be much longer if the form size is large. therefore, from support, from performance standpoints, the smaller the better, of course, to small you have too many files to manage too. so, the political conclusion is to make form just small enough to accommodate your business functionality while retaining the acceptable performance and maintainance level.
Shay Shmeltzer-Oracle
Actually the size of the FMB/FMX doesn't affect the download size when Web deployed, since the FMX is not downloaded to the client machine while Web deployed - it stays on the application server.
The FMX size will influence the memory consumption on the application server though. Bigger FMXs will require more memory.

What effects the download is the number of visible items that needs to be displayed.
However - I agree that you shouldn't be developing huge Forms, but rather break them according to functionality and how tight is the relationships between the activities are.
275888
Shay,

I understand the GUI components downloading, the trigger codes will stay in middle tier, right?

When you said form not downloaded to client, you means the trigger code not downloaded to client, right?

Therefore I admit my wording not inaccurate enough, but a 'downloading' here is a common jargon though.
Shay Shmeltzer-Oracle
Actually, the graphic components are not downloaded to the client. All that the client gets is a set of meta-data instructions on which item to draw where.

This is the great thing about Form's Web architecture - you only download one applet and this applet can draw any Forms user interface just by following the instructions it gets from the application server.

More on the Forms Web Architecture is on the Forms Upgrade Center - http://otn.oracle.com/formsupgrade
275888
Shay,

Thanks. But it seems to me this is right after forms 9i, am I right? Before 9i, it is different.

Thanks again.

John G. Feng
Shay Shmeltzer-Oracle
It is the same for 6i as well.
6970
I think visible items isn't quite right. As far as i know it's items on visible canvases. So if you have a tab-canvas, all items on the canvas are sent to the applet. No matter if they are visible or on a hidden tabpage.
Shay Shmeltzer-Oracle
Correct. This is something that you need to watch for - there is a workaround for this if you place the items on stacked canvases that map to tabs. More on this in the tuning guide for Oracle Forms on the Web.
391495
> understand the GUI components downloading, the trigger > codes will stay in middle tier, right?

what I am trying to do is to put all the code of the triggers in program units, or if I can, directly to the database as store procedures or functions. In this way the form is smaller and require less memory in the application server.
Also I am trying to avoid post-query triggers, using views instead (just ready to be displayed). So my forms require fewer triggers and I am not querying many times (post-queries).
Another thing that I do, is to use the where clause on the block to filter the view,
and the orderby clause I use in the block (because is a reduced set) and not on the database view

Alejandro


1 - 11
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 20 2003
Added on Jul 22 2003
11 comments
441 views