473,473 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Windows Forms & Web Forms

I have a database application and i need to manipulate the database from a
Desktop UI and from a Web Browser ( located anywhere ). What's the best
aproach to do this ?

Thanks,
José Carlos
Aug 30 '05 #1
3 1225
Hello Coder-X,
Following to the type of the question the general idea to excract common
entities to isolated business&data tier/layer that will have access to database
and give access of your application directly to this layer/tier, not the
database.

To get more comprehensive answer try to detalize your ambient: where is database
location,
who and where will work localy and remote, intranet only or not?

C> I have a database application and i need to manipulate the database
C> from a Desktop UI and from a Web Browser ( located anywhere ). What's
C> the best aproach to do this ?

---
WBR,
Michael Nemtsev
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid. (c) Friedrich Nietzsche"
Aug 30 '05 #2
Hi,

the database will be located locally and should be accesible not only in the
Intranet but also in the Internet.
The Windows Forms UI will be located anhywhere in the Intranet .

thanks,
José Carlos

"Michael Nemtsev" <ne*****@msn.com> escreveu na mensagem
news:43***************************@msnews.microsof t.com...
Hello Coder-X,
Following to the type of the question the general idea to excract common
entities to isolated business&data tier/layer that will have access to
database and give access of your application directly to this layer/tier,
not the database.

To get more comprehensive answer try to detalize your ambient: where is
database location,
who and where will work localy and remote, intranet only or not?

C> I have a database application and i need to manipulate the database
C> from a Desktop UI and from a Web Browser ( located anywhere ). What's
C> the best aproach to do this ?

---
WBR,
Michael Nemtsev
"At times one remains faithful to a cause only because its opponents do
not cease to be insipid. (c) Friedrich Nietzsche"

Aug 30 '05 #3
Hello Coder-X,
I recomend you to try this: as I described in previous email to gather main
logic in business layer and move DB related code to the data access layer.
This gives u a lightweight client.

Local user will work with data layer directly.

For internet users u should create facade classes for your business layer
personified as WebServices. All internet users should work only with them.

Take into account that it's only a guide where u have to move.
There is a lot of thing to take into account: reliability, security, transactions.

Try to read Martin Fowler books, he is an expert in this.

C> the database will be located locally and should be accesible not only
C> in the
C> Intranet but also in the Internet.
C> The Windows Forms UI will be located anhywhere in the Intranet .
C> thanks,
C> José Carlos
C> "Michael Nemtsev" <ne*****@msn.com> escreveu na mensagem
C> news:43***************************@msnews.microsof t.com...
C>
WBR,
Michael Nemtsev
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid. (c) Friedrich Nietzsche"
Aug 30 '05 #4

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

Similar topics

1
by: ddh | last post by:
I'm new to Windows forms and UIP. Have a couple of questions: 1. Can you have the new form displayed in the same location as the previous form instead of at a new location when navigating? ...
0
by: Chris Mohan | last post by:
Hi, I've configured a web app to use windows authentication and also set up two separate subdirectories to use forms authentication. It appears to work fine but I have never seen a sample that...
0
by: Z D | last post by:
Hello, I'm trying to find some info on how exactly to achieve using Forms based authentication against an old Windows NT domain (ie NOT active directory). The catch is that the web-server is a...
3
by: Coder-X | last post by:
I have a database application and i need to manipulate the database from a Desktop UI and from a Web Browser ( located anywhere ). What's the best aproach to do this ? Thanks, José Carlos
2
by: Rob R. Ainscough | last post by:
I'm using forms authentication along with Master pages -- my authenticated forms reside is a sub-dir (Secure) below the web site root dir. The problem is that any graphics placed on the Master...
2
by: adodotnet20 | last post by:
Hi, I need to create an application in C# that will be fairly simple from a UI prospective and that will be able to retrieve some information from a db. The overall look and feel should be nice...
1
by: mfunkmann | last post by:
Hi, I recently got an error and I don't know how to fix it: Error 1 'System.Data.DataColumn' does not contain a definition for 'Windows' C:\c#\CsharpPRO\Form1.Designer.cs 304 77 CsharpPRO I...
0
by: BillE | last post by:
I'm wondering how others have addressed UI requirements for Access-style continuous forms and sub-forms in a windows forms application (besides third-party products). Thanks Bill
5
by: programmerboy | last post by:
I never had this kind of issue before and it is completely surprising. I have a usercontrol where I need 2 forms to make 1 form. When I have only 1 form it submits the page to itself. I have spent...
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
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...
1
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...
1
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.