How does a solution run

Just trying to grasp the Servoy concept of running a solution.

Used to buiding apps where a Main program would start up and run a form which would then call other forms with user interaction. The old way :(

Is there a document somewhere that explains how a Servoy solution gets up and presents the user with an initial web client or smart client form ?

TIA

Hi John,

It sounds to me you have difficulty with showing the first (correct) form when you launch your client.
You can set this in the solution properties (select solution node in the Solution Explorer and set the firstForm property in the properties view).
After this you code your user interaction like you say ‘the old way’ :)

If you wanted the first form to be dynamic depending on the client type for instance then you can use the onOpen event (again, on the solution itself) and show the conditional form using code.

Hope this helps.

Hey John,

I get you… I myself come from traditional programming languages and tools, so the instinctive thing to do is try to find the servoy equivalent of known concepts. So… don’t. Servoy is an entirely different animal. Servoy uses an Ntier architecture and comes with an Application Server which is in charge of running the business rules, interacting with the database, databroadcasting and publishing application updates to all connected clients. You can read about that on the Intro to Servoy Concepts: http://wiki.servoy.com/display/public/DOCS/Intro+to+Servoy+Concepts. I would suggest reading ALL of the Guides from start to finish and, of course, doing some coding and testing to get a good grasp of this tool.

Regards,

jd2p

Sooo Good
old way :( >>>>>>>>>>>>> new way :) not long off

Hi John

You might glean some useful insights by examining in detail one of the example solutions - say CRM. Make duplicates of the solution and of its associated database so that you can restore an original copy. Modify the solution; break it and investigate why. Make extensions to get started on new code. In such a way you will be working within the Servoy ecosystem from the outset. I suggest this is likely to be a more productive way of starting out, rather than starting from a blank sheet using concepts which you have honed in a different environment.