473,583 Members | 3,532 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

designing an application in winforms ????

I'm into designing an application in winforms but in near future my client may request the same thing in webforms. so

(1) what are all the design guidelines and ways are there to migrate easily in future (winforms -> weforms)...?

(2) how can i design my application which can be accessed in both winforms and webforms by not writing much of code for the same business logic. ?

(3) which is the cost effective method ?

Please guide me to design in such way that (1) I can migrate easily (2) I can run winforms and webforms parallely
Thanks,

Maheshkumar.R
http://spaces.msn.com/members/cyberiafreak
Dec 10 '05 #1
2 2076
The basic concept is to separate out the presentation logic from the
business
logic. The key is that the business logic knows nothing of the
presentation
implementation. eg don't pass a textbox to the business logic.

http://www.geocities.com/Jeff_Louie/OOP/oop3.htm

Regards,
Jeff

*** Sent via Developersdex http://www.developersdex.com ***
Dec 10 '05 #2

If you use an n-tier architecture, using well established design
patterns (look up Gang of Four, Patterns of Enterprise Application
Architecture - Martin Folwer). You can use an architecture which will
allow you to completly seperate business and data logic from the
presentation. If your client wants a web front end all you need to
develop is a the front-end your back end should be completly re-usable.
When you are developing the windows form application you could use web
services to allow the client to communicate with the server making the
backend code web-enabled and ready for developing the web front end at
a later date.
Hope this helps.
Mahesh Kumar.R wrote:
I'm into designing an application in winforms but in near future my client may request the same thing in webforms. so

(1) what are all the design guidelines and ways are there to migrate easily in future (winforms -> weforms)...?

(2) how can i design my application which can be accessed in both winforms and webforms by not writing much of code for the same business logic. ?

(3) which is the cost effective method ?

Please guide me to design in such way that (1) I can migrate easily (2) I can run winforms and webforms parallely
Thanks,

Maheshkumar.R
http://spaces.msn.com/members/cyberiafreak


Dec 10 '05 #3

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

Similar topics

2
3763
by: Varkey | last post by:
Dear all, Can you please provide some information on the following issue, at the earliest. I have a development server setup in the network, say machine X. Also, there is another workstation, say Y, for a programmer, to work with. The application is a Winforms Application and machine X (server) does not have Visual Studio .NET installed...
4
3725
by: Elhanan | last post by:
hi.. all a client of ours is considering to move from a dos application to windows desktop application. the application is for traveling agency, the database is rather large. their current database for other application is SQL-SERVER. they have 12 users.
12
2195
by: Don Huan | last post by:
Hi my job is to migrate our WinForms application to ASP.NET. This app was build very modular so every peace of code can be replaced by another "modul". There are 1 VS-solution with about 60 projects (dll's) in it. Now I have to design a Web-Client modul (actually the web-interface). To maintain the modularity, I thought of making one...
3
1615
by: Rune Jacobsen | last post by:
Hello all, I mailed our common hero and fellow newsgroupian Jon Skeet a question regarding his article on plugins at http://www.yoda.arachsys.com/csharp/plugin.html, and he suggested that I should post here. I was afraid to spam the group further with my silly questions, but I agree with his sentiment that this might benefit others, so...
22
6250
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one client (MS Access vs ..NET Windows Forms) would be preferred over the other. While I have some good arguments on both sides, I would appreciate your...
10
1713
by: sp | last post by:
The application is written in Visual Basic / .NET and working without problems under Windows XP, Windows 2000, Windows 2003 but it isn't working under Windows ME and Windows 98 - the computer hangs. After computers hangs you can move mouse but can not press any key. Alt - Ctrl- Del isn’t working so you have to reset the computer by pressing...
1
1857
by: Chris | last post by:
Hi Everyone, I have a backup application I'm working on that saves backups with an extension of .ABF. I have figured out how to make the association change with PInvoke/shell32, but would like some advice on how to handle the file passed as an arguement to my WinForms application. I was thinking about changing the application to a...
12
1834
by: Seth Bourne | last post by:
It is really painfull when migrating from Windows Application to Web Application. it's because web application has so many weakness which have the user to use 'more mouse' than 'keyboard' it self. it's really dont fit for Point of Sale System which is need faster data entry. is it anyway we can handle this ?? Thanks Seth
8
16911
by: Andrus | last post by:
I'm creating C# WinForms client-server database application. This application reads data from PostgreSQL server using npgsql Dataadapter and DataReader classes and stores data mostly in Datasets and sometimes in business object properties. A lot of lookup tables (payment terms, currency list etc) are static. Currently application reads...
0
7893
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8317
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8188
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6574
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5695
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5369
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3839
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2326
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1422
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.