One Solution vs Multiple Solutions

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

One Solution vs Multiple Solutions

Postby tara » Wed May 05, 2004 2:37 am

We are in the planning stages of migrating to Servoy.

Currently we have 90+ FileMaker files facilitating a highly relational system that supports processes for more than one dozen departments. We will be implementing our Servoy solution one department at a time over the next year+ while maintaining the other departments' functions in FileMaker. :shock:

We see two routes:
1. design a single, integrated servoy solution
2. design a servoy solution for each department

Should we go with choice #2 and design a solution for each department, all solutions will point to one mySQL database.

Each department has completely distinct processes. While many departments might need access to data in the Student table, they need to see it in their unique way. So we would provide access within their solution via forms, methods, etc. A department would never use another department's solution. And we don't forsee that the various solutions would talk to eachother (except in the sense that they all point to the same database).

Any insight into the implications of this decision?

~ Tara
tara
 
Posts: 15
Joined: Wed Mar 24, 2004 2:01 am
Location: California, USA

Postby Jan Blok » Thu May 06, 2004 4:36 pm

Use option 2!, why:
-solution are smaller, faster download
-solution using the same tables is no problem at all when running on same Servoy Server (data notification/locks works across solutions)
-using controller.addFoundSetFilterParam makes distinct views for different departments possible
-Servoy 2.5 will have support to load another solution as module in the current solution (to prevent duplication of functionality), but since your departement have "distinct processes" this might not be relevant for you yet.
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: One Solution vs Multiple Solutions

Postby mattman » Thu May 06, 2004 7:09 pm

tara wrote: 1. design a single, integrated servoy solution
2. design a servoy solution for each department

...Any insight into the implications of this decision?

~ Tara


Although, option 1 is a great way to go if you have similar processes in the whole of the combined solutions AND if you are on a local network and there is not too much WAN connectivity. The "slowness" factor won't be much of an issue if you control the network. Plus, although I won't argue that solutions are smaller and faster to download, once they are, they are cached and will take less time to load.

As Jan mentions, using controller.addFoundSetFilterParam works in smaller solutions, but it also works in larger solutions where you combine it with the use of the security commands. Coming into the system as a specific user or part of a specific group means I can optionally control the results provided by the database.

Advantages to going with #1 are you can share code resources for common tasks. For example, you can create a generic search routine where you pass it parameters of which data providers to search and with which data. This means your search routine can be used across all your subapplications.

Unless your applications are truly DISTINCT from each other, such as the difference between a construction application for managing the building of houses and a pet grooming shop solution, then there will likely be overlap when it comes to the code and what your solution does.

If you do have a good number of various subapplications within one general area, such as an education application that provides services from managing attendance to printing student ID cards then integrating will afford you much more "code leverage".

The disadvantage you are going to find in Servoy, as with FileMaker, is that the level of attention given to organization and facilitating easy maintenence is going to be a HIGH priority. Things can get out of control if you don't apply a strong standards model for your own development - at least in larger applications.

From the sounds of it 90+ database systems (probably files) is a scary thing to manage. But my preference is to keep similar types of systems within one solution. I'll suffer the "first time" intital load of Servoy in favor of being able to "solution hop" within the one solution that addresses a common area.

Just my 2 cents.
Matt Petrowsky
mattman
 
Posts: 160
Joined: Wed Aug 06, 2003 8:23 am
Location: Murrieta, CA

Postby maarten » Thu May 06, 2004 7:29 pm

From the sounds of it 90+ database systems (probably files) is a scary thing to manage. But my preference is to keep similar types of systems within one solution. I'll suffer the "first time" intital load of Servoy in favor of being able to "solution hop" within the one solution that addresses a common area.

I fully agree here.
It's a real pain having to go through x solutions to edit code that should be managed in one place.
Maarten Berkenbosch
User avatar
maarten
 
Posts: 797
Joined: Wed Apr 23, 2003 10:52 pm
Location: Amersfoort, Netherlands

Postby tara » Thu May 06, 2004 9:01 pm

Appreciate the dialog here, these are great considerations.

Would the new feature in 2.5 that Jan Blok spoke of assist with needing to replicate code across solutions?

~ Tara
tara
 
Posts: 15
Joined: Wed Mar 24, 2004 2:01 am
Location: California, USA

Postby Jan Blok » Thu May 06, 2004 9:43 pm

tara wrote:Would the new feature in 2.5 that Jan Blok spoke of assist with needing to replicate code across solutions?

I think it does if for example a planner solution is build in can be used within other solutions as module
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 10 guests

cron