All forms on one tabpanel?

Hi Everyone. This is my first post, hopefully first of many. I am new to Servoy, just a few months. Our company does mostly PHP/MySQL and we have been longtime developers in Helix (a Mac client-server database).

As such we are familiar with many of the tools in Servoy and have taken a substantial liking to it. My question is about ‘best practices.’ We are building a web site that will be a subscription based system that backs up a new iPhone app we’ve developed.

We looked at the CRM example that is supplied with Servoy. There are some similarities in what we want to produce. We have a navigation bar at left and based on what choice they make on the bar, different forms will show up on the right.

When I looked at the CRM example all the forms that are possible on the right side are loaded on to one tabpanel. If that’s the way to do it, fine. However, from 25 years experience building database solutions, a couple of little flags went up. Then I get the message that maybe the CRM example isn’t the best model to follow.

I understand the tools well enough, what’s next is the strategy of how to put something together.

Can any of you make a suggestion or two as to how to go about building a site that will have a nav panel and a form area on the right? Should it be one master form with all the forms on it? Should it be one master form for each different area?

I hope I am being clear. Any ideas? Thanks, Lenny

Hi Lenny,

A tabpanel in Servoy is just a widget to display any other form either related or unrelated. Benefit of this approach is that you can develop in a very modular way and reuse forms across your entire application(s). At design-time you can pre-place the tabs on the panel (like often done in the crm sample) but that’s not even necessary you can programmatically load any form into a tab-panel.