Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 16th, 2003, 06:35 AM
zabrucewayne zabrucewayne is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 2 zabrucewayne User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Design help!

Hi All

I am a familiar with desktop development (VB6/ .net), and would appreciate some help getting into web development.

Basically I am designing a web application in ASP.NET that shows the status of some components in our system.

Simple HTML output is fine to display the status, but as http is essentially connectionless, I am having a problem getting the client to update when the web app is notified of a state change.

I have tried a few things, namely
1. Automatically refreshing the page every now and then.
2. Using a frames and having a hidden page to request the data, check if it has changed, then trigger a page refresh etc.

These are bad solutions at best.

I am thinking that I need to explore the ActiveX / Java applet route.

What are my options? Is ActiveX on its way out? Is a java applet compatible with asp.net?

Is there some way of having a 'connected' page in asp.net, or way of having an object on the client that is connected to the web app?

Any help is appreciated,
Thanks!

Reply With Quote
  #2  
Old December 29th, 2003, 11:04 AM
estekguy estekguy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 32 estekguy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Hi,

Just some suggestions for ya that may help you out learning how to design web applications.

1. Learn HTML. Understand HTML by itself, without the added functionality that ASP/JSP/PHP/ColdFusion/etc adds to it. Remember that the end result of all of these scripting languages is that they create HTML for a browser on the client side (don't believe me? do a View Source on any ASP page... all you see is HTML) Browsers don't understand ASP or JSP or PHP - they understand HTML. The scripting languages just make it easy to create dynamic HTML, do server-side processing, and talk to databases.

Most long-time programmers make the mistake of thinking that there's "nothing to" HTML. They're wrong - there's alot to know and understand...

Here is a great reference an tutorial for you:

http://www.estek.net/estek/idocs/


2. Web applications are not desktop applications. Use HTML to do what it was designed for, don't try to make HTML become a desktop application. HTML is not meant to be connected to a database, HTML is not meant to display real-time information. You need to change the way you look at the world when you design real web applications.

To (hopefully) answer some of your questions directly, people expect web sites to act like web sites. Look at Yahoo - when I get stock quotes, I expect to hit "refresh" to see the latest quote. I don't need them flashing across my screen in real time - when I want an updated quote, I click "refresh" or the appropriate link and I get the info. Look at how existing "good" websites (like Yahoo) implement similar functionality to yours - this is the route you should take if you want to create a web app.

As for ActiveX and applets - yes, you can use them, but then you're really just developing a desktop app that lives in a browser. That's not really a web app, and it starts to limit your audience. Many people don't want ActiveX apps installed in their browser (for security reasons) and while applets can give you neat functionality, they're fat, complex, and take a long time to load. Bad mojo.

If the goal is to create a flexible web application freely accessable by any browser, focus on designing a web app, not an applet or ActiveX component. Focus on designing your app to work like a website and not a desktop app. It's a big change in thinking!

If you absolutely need real-time data connection and refresh, then you're not really creating a web app. Swing (applets) are probably your best bet in this case if deployment over the Internet is a requirement.

Hope I was helpful!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Design help!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway