473,804 Members | 2,931 Online
Bytes | Software Development & Data Engineering Community
+ 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 1257
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.co m> escreveu na mensagem
news:43******** *************** ****@msnews.mic rosoft.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.co m> escreveu na mensagem
C> news:43******** *************** ****@msnews.mic rosoft.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
1540
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? 2. I would like my main form to have a list of LinkLabels down the left hand side (may be changed to a tree later). Then based on the link selected. Show the selected form on the right side of the screen. When changing selection, want to use the...
0
1535
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 demonstrates both in the same web.config and I don't like assuming i've done this correctly and securely. Please take a look at the following from my web.config and let me know what you think(its not the full config-- just stripped down to its...
0
972
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 windows 2000/2003 server in stand-alone mode (not part of a domain). So, somehow I'd have to write some code that can contact an NT domain controller and send an authentication request.
3
241
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
3755
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 page do NOT appear in any of the web forms located in my Secure dir, however, any forms off the root of my web app will display the master page with the graphics. Is there some trick to get master pages to work with forms authentication of forms...
2
1727
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 but not too sophisticated. There are two areas that will need to shine though: first a datagrid which needs to be very nice looking and flexible (editable almost like an excel spreadsheet), and second a report that will need to be cool looking as...
1
7852
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 am note sure what to do because all propertiers work, except the System.Data.DataColumn.. I didn't write any code by hand and used the visual studio to set the properties..
0
1171
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
2997
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 hours on this and couldn't find the solutions, thats why I have to come with a hack. I have two forms, I made the first form invisible and let the second form visible.This form is for google custom search engine. I also tried with other test forms, but...
0
9577
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10569
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
10325
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10315
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10075
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
9140
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
7615
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
6847
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
5519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

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.