StrataFrame Forum

StrataFrame when a Microsoft solution contains many subprojects that are dll's

http://forum.strataframe.net/Topic118.aspx

By John Frankewicz - 11/24/2005

We are looking into the use of the ,Strataframe Application Framework, for an application that will contain many forms that must be contained in a class library project(dll).

The solution will contain many sub-projects, each one being a class library(dll) that will house the windows form and business and data access layers.

When a project is created there is only a template for a Windows Application(exe), but can you change this to another type without any issues with the framework?

Also we have use the UIAP block from Microsoft for navagation and management. Can we use this with the Stratframe framwork?

By Trent L. Taylor - 11/24/2005

There is actually a template for a StrataFrame Business Object Library which is the same thing as a class library or DLL.  You can also change any .NET project into a class library by opening up the project properties and changing the Application Type to "Class Library."

But an easier way to get started is to just create a new StrataFrame Business Object Library and delete the business object that gets created.  You can house anything you would like from Windows Forms to custom controls in this library.  In fact that is what we do when we create our applications.  Each module has a separate DLL or class library that houses all of the forms and custom controls. 

As for the UIAP, I am not entirely certain of everything that it allows you to do.  But the StrataFrame business objects are very flexible and we have made it extremely easy to manage and navigate.  So it would be very easy to add any type of custom implementations to wrap this functionality.  There is a Navigate method on all business objects that allows you (the developer) to manipulate the row position while updating any bound controls very easiliy.  There are also other navigation method that are similar to ADO that will move the record position without updating bound controls (MoveNext, MovePrior, etc.).  I hope this answers your question.