-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Pooran-Prasad
Message 7 in Discussion
Hi
Suraj,
Yes.. there is lot more than
webservices as Sitaram has rightly pointed out.
If the
application has to be built from scratch, then yes, we need all those stuff
which Sitaram told. However, to make the
application scalable and easily migratable from current intranet to internet
realm, we have to take some precautions. So, webservices and MSMQ with windows
application can be the
best bet for the application. BTW, Thin client is your browser. Thick client is
what we are about to build.
1. As already a web application is built, why
not reuse it a bit. Say for login,
use a strip-down version of the login page that you have in
the web app, in a browser control embedded in the windows
app. Alternatively you can have a windows form with login and password
textboxes and connect to the server using webservice to authenticate.
2. Taskbar notifier
that you want to build [similar to MSN], can be built using one in
codeproject[http://www.codeproject.com/dialog/TaskbarNotifier.asp]
3. Now comes the real
core of the app. Getting the data from the database to client side.. I agree
with Sitaram that remoting will be the best solution. I have one more method to
implement this. Whenever there is a change in database which is critical to the
application, as you said, send a MSMQ message to the queue.
The client app has to ping
the server for messages. Whenever there is one, use taskbar notifier to pop the
message. Alternatively, we can write a timed component that pings
a server through
webservice to check if there are any messages to notify. You can find n number
of articles on MSMQ.
4. Another important
thing is, how to know what has changed. In the db triggers, you can populate a
table [for this application use] with necessary data like, what has
changed etc. Your component/MSMQ will check this table not the table where the
data has changed.
I found this approach quite easy to implement and have
successfully implemented :)
Hope that helps
Have a great day
:)
R Pooran
Prasad
R. Pooran Prasad
Itreya Technologies Pvt Ltd.,
Mail:
[EMAIL PROTECTED]
Phone(Off) :
5200179/80/81/82/83 Extn: 50
Mobile: +91 98860 29578
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]