StrataFrame Forum

Q: App Framework without WinForms Components?

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

By Gary Allman - 2/16/2007

Hello,

I apologize if this is a stupid question but just wanted to confirm.

Can the App. Framework. (i.e. the business objects) be used without using the StrataFrame forms? I ask because we have an app that already has a look and feel and probably would not convert all of our forms to the StrataFrame forms.

Thanks in advance for your assistance!

By Greg McGuffey - 2/19/2007

When you don't get an answer after a couple of days (especially if you post late on Friday), just post again to ask if they have missed the post.



I'll answer based on my limited knowledge: yes you can use the SF framework's BOs without using there forms. You'd loose a lot of cool functionality, but you could do it. I believe the BusinessBindingSource would become a good friend of yours BigGrin Also, it might be really easy to convert forms, like just changing them to inherit from the SF form. I'll be curious what the developers have to say on this too BigGrin
By Richard Keller - 2/19/2007

Is the question can you use for Web Development or do Winform Development without it?  Greg's answer is right on the money if you are doing Winform.
By Trent L. Taylor - 2/19/2007

StrataFrame BOs can be used with any third party controls whether they are Win or Web forms.  If you are using the Web forms then there is a little bit more work (as there always is Smile, but the IBusinessBindable interface provides this ability.  You can see a sample on how to implement the IBusinessBindable interface in the samples installed with StrataFrame.  It is referred to as the 3rd party data-binding.  This will allow you to implement the native SF data binding.  However, if you are using WinForms, then yes, the BusinessBindingSource will definitely help!  There is also a BusinessBindingSource sample showing you how to do this in the 1.6 release.
By Greg McGuffey - 2/19/2007

I'm curious, how much work is to convert an existing form into a SF aware form? Is it more than just changing the inheritance?
By Trent L. Taylor - 2/19/2007

If you inherit any form from the MicroFour.StrataFrame.UI.WIndows.Forms.BaseForm, then all of this functionality will be there.  If you are going to create a form from scratch, then you have quite a bit more work to do.
By Gary Allman - 2/28/2007

Hello All,

Thanks for the replies. This will help me with my evaluation of Strataframe.