473,763 Members | 2,714 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 2085
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
3779
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 on it. Machine Y(workstation) has got Visual Studio .NET installed on it. Y is connected via
4
3737
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
2210
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 ASP.NET-Project inside of the solution and create some projects containing Custom Web Controls. Did...
3
1624
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 here we are. My question regards the proper way to build the plugin projects. My host
22
6285
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 points of view on the topic.
10
1738
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 button. I checked several Win 98 and Me - clean install to - always the same! At the beginning...
1
1865
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 console application with
12
1853
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
16949
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 them from server when new window is opened over TCP connection This makes application slow.
0
10145
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9822
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8822
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7366
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6642
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
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
3
3523
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.