473,396 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to beat 3rd party controls backward incompatiblities

Encapsulating 3rd party controls to avoid backword incompatiblities

Hi all,

Environment : VB6\ VS2003\ VS2005, VB.NEt in Winforms, 3rd party component
is a GRID from Sheridan & Devexpress and is used extensively for data display
and manupyulation on all the 100 each forms in the applications.

We have developed two inhouse enterprise level application each taking
around 2-3 years of development time and we used 3rd party controls like
Grids and Dropdowns for enhanced UI funationality. but the problem is that
after every 6 months or so these 3rd party control vendors come out with new
version which might most of the time be breaknig the compatiblity with the
order version. On the first application that we have developed back in 1999
to 2002, i was using this version from sheridan ( which is now infragistics)
and we never upgraded to version till this date becuase the new version was
not backward compatible, and now those due to these controls the application
does not work on some operating systems and upgrading the application to the
vesion would be an almost total overwrite of the UI because the control's
menthods and properties are so tighly integrated with the code.

And same in the case with the new application that we started developing in
2002 till 2004 end, upgrading to the new vesion of these 3rd party components
is like total overwrite.

so now for furthur development i am thinknig that i might want to
encapsulate\ inherit\ create another layer over these controls and use that
object's methods & properties so that if the 3rd party component version
changes i will just have to modify the code in my object which would reflect
all the places it is being used and this way i can very easily upgrade my
version of the 3rd party component. but i think that this might require quite
smoe work since these component have a lot of methods and properties and not
even talking about events since i dont know how i can encapsulate them.

Also another reason might be even if i am not using this controls for lets
say an internet version of the same desktop application then i might jsut
have to change the internal working of this object to encapsulate this new
controls and no other code might change.

i am pretty sure this problem has been encountred by a lot of guys out
their, please suggest, point me to resources, code samples, ideas and what
ever you think.

thanks
sAMEER
Mar 17 '06 #1
2 1735
I think putting another layer of abstraction around the object is the way to
go. Any developer code is always going to communicate through the
abstraction layer, and never directly deal with the infragistics grid. In
fact, the developer code doesn't know if under the hood there is an
infragistics grid, or a regular .net grid, or another type of grid - nor
does it care.

This approach in general has many advantages:

1. Common control behavior that you need can all be in one spot. So you
don't need developers rewriting the same code over and over.
2. You standardize behavior and look and feel. So all your grids look and
act the same, regardless the app
3. If you need to change code due to upgrades, or due to switching vendors,
you only do it in one spot. No application code needs to change. Not to
mention, if you need to switch vendors, your developers would have to delete
all grid designer code, and drag on a new grid, and redo all that work. Then
retrofit all their code to work against the new grid. Encapsulating the grid
in your own control means everything still works as long as you update your
encapsulating control - because all developers are coding against this
'virtual grid'.

"sameer" <sa****@discussions.microsoft.com> wrote in message
news:F6**********************************@microsof t.com...
Encapsulating 3rd party controls to avoid backword incompatiblities

Hi all,

Environment : VB6\ VS2003\ VS2005, VB.NEt in Winforms, 3rd party component
is a GRID from Sheridan & Devexpress and is used extensively for data
display
and manupyulation on all the 100 each forms in the applications.

We have developed two inhouse enterprise level application each taking
around 2-3 years of development time and we used 3rd party controls like
Grids and Dropdowns for enhanced UI funationality. but the problem is that
after every 6 months or so these 3rd party control vendors come out with
new
version which might most of the time be breaknig the compatiblity with the
order version. On the first application that we have developed back in
1999
to 2002, i was using this version from sheridan ( which is now
infragistics)
and we never upgraded to version till this date becuase the new version
was
not backward compatible, and now those due to these controls the
application
does not work on some operating systems and upgrading the application to
the
vesion would be an almost total overwrite of the UI because the control's
menthods and properties are so tighly integrated with the code.

And same in the case with the new application that we started developing
in
2002 till 2004 end, upgrading to the new vesion of these 3rd party
components
is like total overwrite.

so now for furthur development i am thinknig that i might want to
encapsulate\ inherit\ create another layer over these controls and use
that
object's methods & properties so that if the 3rd party component version
changes i will just have to modify the code in my object which would
reflect
all the places it is being used and this way i can very easily upgrade my
version of the 3rd party component. but i think that this might require
quite
smoe work since these component have a lot of methods and properties and
not
even talking about events since i dont know how i can encapsulate them.

Also another reason might be even if i am not using this controls for lets
say an internet version of the same desktop application then i might jsut
have to change the internal working of this object to encapsulate this new
controls and no other code might change.

i am pretty sure this problem has been encountred by a lot of guys out
their, please suggest, point me to resources, code samples, ideas and what
ever you think.

thanks
sAMEER

Mar 17 '06 #2
Thaks Marina,

Really sound the way i want to go , are their any kind of MS application
Blocks or code samples or examples or guidelines or whitepapers that i can
use to get this done, i want a starting point? Please suggest.

thanks again.

"Marina Levit [MVP]" wrote:
I think putting another layer of abstraction around the object is the way to
go. Any developer code is always going to communicate through the
abstraction layer, and never directly deal with the infragistics grid. In
fact, the developer code doesn't know if under the hood there is an
infragistics grid, or a regular .net grid, or another type of grid - nor
does it care.

This approach in general has many advantages:

1. Common control behavior that you need can all be in one spot. So you
don't need developers rewriting the same code over and over.
2. You standardize behavior and look and feel. So all your grids look and
act the same, regardless the app
3. If you need to change code due to upgrades, or due to switching vendors,
you only do it in one spot. No application code needs to change. Not to
mention, if you need to switch vendors, your developers would have to delete
all grid designer code, and drag on a new grid, and redo all that work. Then
retrofit all their code to work against the new grid. Encapsulating the grid
in your own control means everything still works as long as you update your
encapsulating control - because all developers are coding against this
'virtual grid'.

"sameer" <sa****@discussions.microsoft.com> wrote in message
news:F6**********************************@microsof t.com...
Encapsulating 3rd party controls to avoid backword incompatiblities

Hi all,

Environment : VB6\ VS2003\ VS2005, VB.NEt in Winforms, 3rd party component
is a GRID from Sheridan & Devexpress and is used extensively for data
display
and manupyulation on all the 100 each forms in the applications.

We have developed two inhouse enterprise level application each taking
around 2-3 years of development time and we used 3rd party controls like
Grids and Dropdowns for enhanced UI funationality. but the problem is that
after every 6 months or so these 3rd party control vendors come out with
new
version which might most of the time be breaknig the compatiblity with the
order version. On the first application that we have developed back in
1999
to 2002, i was using this version from sheridan ( which is now
infragistics)
and we never upgraded to version till this date becuase the new version
was
not backward compatible, and now those due to these controls the
application
does not work on some operating systems and upgrading the application to
the
vesion would be an almost total overwrite of the UI because the control's
menthods and properties are so tighly integrated with the code.

And same in the case with the new application that we started developing
in
2002 till 2004 end, upgrading to the new vesion of these 3rd party
components
is like total overwrite.

so now for furthur development i am thinknig that i might want to
encapsulate\ inherit\ create another layer over these controls and use
that
object's methods & properties so that if the 3rd party component version
changes i will just have to modify the code in my object which would
reflect
all the places it is being used and this way i can very easily upgrade my
version of the 3rd party component. but i think that this might require
quite
smoe work since these component have a lot of methods and properties and
not
even talking about events since i dont know how i can encapsulate them.

Also another reason might be even if i am not using this controls for lets
say an internet version of the same desktop application then i might jsut
have to change the internal working of this object to encapsulate this new
controls and no other code might change.

i am pretty sure this problem has been encountred by a lot of guys out
their, please suggest, point me to resources, code samples, ideas and what
ever you think.

thanks
sAMEER


Mar 17 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Kris G Yeleswarapu | last post by:
Hi, I downloaded the infragistics tree view control from the msdn site. I am unable to find that in my toolbox. I haven't used third part controls, so please help me on how I can go about using...
0
by: Pat | last post by:
I have a third party .net control that I need to use in unmanaged MFC. This control is a Forms control, and I need to find a way to drop it onto an unmanaged MFC Forms. I have read the article...
16
by: TD | last post by:
This is the code under a command button - Dim ctl As Control For Each ctl In Me.Controls If ctl.BackColor <> RGB(255, 255, 255) Then ctl.BackColor = RGB(255, 255, 255) End If Next ctl
1
by: CLR | last post by:
Folks, Who is the "king of the hill" when it comes to third party .NET controls for both Win and/or Web ? I have started to look at Infragistics. While the controls look "sexy" enough, their...
1
by: Claire | last post by:
In our application we've used several 3rd party windows form controls that were installed into their own individual directories. We have to avoid using the GAC, all our dlls should be found...
0
by: jm | last post by:
I am behind. I am coming from the world of ASP and still debating if I really want to convert all those ASP ADO pages to ASP .NET when they work perfectly fine on my Windows 2003 server as .asp...
0
by: David | last post by:
First, a question. Is there a way to keep VS.NET from red lining elements from third party controls with an error message that says 'the active schema does not support the element ****'? ...
9
by: jax1148 | last post by:
In vb6 a group of controls ie command buttons could be refered to by an index number ie cmdWord(4). This was accomplished by using the index property of the control. Vb.net does not seem to have...
6
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... Tried posting this on Build Controls but then saw that's a pretty slow group... Kind of a typical request from product management - they want to be able to swap in different 3rd party...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.