473,387 Members | 1,398 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,387 software developers and data experts.

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 2061
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
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,...
4
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...
12
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...
3
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...
22
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...
10
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...
1
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...
12
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....
8
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.