Hey Buddy, 
   
  Ever happened to visit Google Maps or Google Suggest ? Its a web application 
mixed with rich presentation features of Desktop Application. Google Maps is an 
application 
  one of its kind. Most User friendly, Informative and Exhaustive. This web 
application 
  is developed using Ajax. Ajax is not a Technology. Ajax is an approach of 
using existing applications (XML, Javascript, Flash, C#, Java etc) in a best 
suited way to present to the richness of desktop architecture over the Web. 
    Defining Ajax  Ajax isn’t a technology. It’s really several technologies, 
each flourishing in its own right, coming together in powerful new ways. Ajax 
incorporates:
    
  
   standards-based presentation using XHTML and CSS;   
   dynamic display and interaction using the DOM   
   data interchange and manipulation using XML and XSLT    
   asynchronous data retrieval using XMLHttpRequest   
   and Javascript binding everything together. 

  Legacy web applications submit forms by trigerring HTTP request back to the 
Web Server. The web server does the required processing with the data, and 
responds by sending a new HTML page back. Because the server must send a whole 
new page each time, applications run more slowly and awkwardly than their 
native counterparts.
   
  on the other hand, Instead of loading a webpage, at the start of the session, 
the browser loads an Ajax engine — written in JavaScript and usually tucked 
away in a hidden frame. This engine is responsible for both rendering the 
interface the user sees and communicating with the server on the user’s behalf. 
The Ajax engine allows the user’s interaction with the application to happen 
asynchronously — independent of communication with the server. So the user is 
never staring at a blank browser window and an hourglass icon, waiting around 
for the server to do something
   
  Ajax Hype
   
  Ajax is also a dangerous technology for web developers, its power introduces 
a huge amount of UI problems as well as server side state problems and server 
load problems
  Its not an approach meant to be implemented with every web Application. The 
requirements of your application should match the approach of Ajax. 
   
  Using Ajax for the sake of Ajax
Sure Ajax is cool, and developers love to play with cool technology, but Ajax 
is a tool not a toy. A lot of the new Ajax applications are really just little 
toys, not developed for any real purpose, just experiments in what Ajax can do 
or trying to fit Ajax somewhere where it isn’t needed. Toys might be fun for a 
little while, but toys are not useful applications.
   
  Sending sensitive information in the clear
The security of AJAX applications is subject to the same rules as any web 
application, except that once you can talk asynchronously to the server, you 
may tend to write code that is a very chatty in a potentially insecure way. All 
traffic must be vetted to make sure security is not compromised
   
  Assuming AJAX development is single platform development
Ajax development is multi-platform development. Ajax code
will run on IE’s javascript engine, Rhino (Mozilla’s js engine), or
other minor engines that may grow into major engines. So it’s not
enough just to code to JavaScript standards, there needs to be
real-world thorough testing as well. A major obstacle in any serious
Javascript development is IE’s buggy JS implementation
   
  Too much code makes the browser slow
Ajax introduces a way to make much more interesting javascript applications, 
unfortunately interesting often means more code running. More code running 
means more work for the browser, which means that for some javascript intensive 
websites, especially poorly coded ones, you need to have a powerful CPU to keep 
the functionality zippy. The CPU problem has actually been a limit on 
javascript functionality in the past, and just because computers have gotten 
faster doesn’t mean the problem has disappeared.
  
Blinking and changing parts of the page unexpectedly
The first A in Ajax stands for asynchronous. The problem with asynchronous 
messages is that they can be quite confusing when they are pop in unexpectedly. 
Asynchronous page changes should only ever occur in narrowly defined places and 
should be used judiciously, flashing and blinking in messages in areas I don’t 
want to concentrate on harkens back to days of the html blink tag.
   
  Not using links I can pass to friends or bookmark
Another great feature of websites is that I can pass URLs to other people and 
they can see the same thing that I’m seeing. I can also bookmark an index into 
my site navigation and come back to it later. Javascript, and thus Ajax 
applications, can cause huge problems for this model of use. Since the 
Javascript is dynamically generating the page instead of the server, the URL is 
cut out of the loop and can no longer be used as an index into navigation. This 
is a very unfortunate feature to lose, many Ajax webapps thoughtfully include 
specially constructed permalinks for this exact reason.
   
  Scrolling the page and making me lose my place
Another problem with popping text into a running page is that it can effect the 
page scroll. I may be happily reading an article or paging through a long list, 
and an asynchronous javascript request will decide to cut out a paragraph way 
above where I’m reading, cutting my reading flow off. This is obviously 
annoying and it wastes my time trying to figure out my place
   
  Blocking Spidering
Ajax applications that load large amounts of text without a reload can cause a 
big problem for search engines. This goes back to the URL problem. If users can 
come in through search engines, the text of the application needs to be 
somewhat static so that the spiders can read it.
   
  Asynchronously performing batch operations
Sure with Ajax you can make edits to a lot of form fields happen immediately, 
but that can cause a lot of problems. For example if I check off a lot of check 
boxes that are each sent asynchronously to the server, I lose my ability to 
keep track of the overall state of checkbox changes and the flood of checkbox 
change indications will be annoying and disconcerting

   
  Finally my intention is not to say that Ajax is not useful. Surely Ajax 
approach is making miracles in Web World. But, the implementation of Ajax is to 
made quite consciously.
   
  Where Ajax Fits in
   
  Ajax fits into application where the website is
   
  Form driven interaction- Subset:Linked Select Menus.
  Deep hierarchical tree navigation
  Rapid user-to-user communication
  Voting, Yes/No boxes, Ratings submissions. 
  Filtering and involved data manipulation
  Commonly entered text hints/autocompletion
  Long Running Queries/Remote Calls 
   
  Hope this information is usefull to you along with one and all. 
   
  Regards, 
   
  Avinash
   
   
  
Prashanth Ganesh Rayakar <[EMAIL PROTECTED]> wrote:
  
Hi
Could anybody give me a brief info about what is ajax all about?
I have never heard of it before.


thanks & regards,

Prashanth

-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED]
Sent: Friday, December 16, 2005 2:28 AM
To: [email protected]
Subject: [AspNetAnyQuestionIsOk] Digest Number 1439


There are 11 messages in this issue.

Topics in this digest:

      1. RE: im fresher to AsP.NET
           From: "Gilbert Sauceda" <[EMAIL PROTECTED]>
      2. How to handle Mails inside my website
           From: ramesh kumar <[EMAIL PROTECTED]>
      3. RE: im fresher to AsP.NET
           From: "Kumar, Karthick" <[EMAIL PROTECTED]>
      4. Please help
           From: ramesh kumar <[EMAIL PROTECTED]>
      5. how to implement ajax to refresh a web page
           From: faisal dar <[EMAIL PROTECTED]>
      6. hi
           From: anu radha <[EMAIL PROTECTED]>
      7. [HELP] ASP.NET with C#
           From: "Sunand" <[EMAIL PROTECTED]>
      8. RE: [HELP] ASP.NET with C#
           From: "Falls, Travis D (HTSC, CASD)"
<[EMAIL PROTECTED]>
      9. Re: how to implement ajax to refresh a web page
           From: Peter Brunone <[EMAIL PROTECTED]>
     10. Re: how to implement ajax to refresh a web page
           From: Peter Brunone <[EMAIL PROTECTED]>
     11. Auto Date advancing
           From: "sicsemper99" <[EMAIL PROTECTED]>


________________________________________________________________________
________________________________________________________________________

Message: 1        
   Date: Wed, 14 Dec 2005 19:27:25 -0800
   From: "Gilbert Sauceda" <[EMAIL PROTECTED]>
Subject: RE: im fresher to AsP.NET

You need to learn basics first, then worry about ASP.Net.

There are many sites online.
You can google tutorials for each technology, or just do a general
search
for "web development". Here are some technologies that you want to learn
as
basics:
HTML
DHTML
Javascript
CSS
ASP.Net

This is a good site that has tutorials on different techs:
http://www.w3schools.com/


/Gil

-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] Behalf Of csvinayak
Sent: Tuesday, December 13, 2005 9:57 PM
To: [email protected]
Subject: [AspNetAnyQuestionIsOk] im fresher to AsP.NET


how do i start learning ASP.NET

coz i m new into this field

i want to start from Scratch

can anyone help me please ,

so where do i start from










Yahoo! Groups Links









________________________________________________________________________
________________________________________________________________________

Message: 2        
   Date: Wed, 14 Dec 2005 21:39:21 -0800 (PST)
   From: ramesh kumar <[EMAIL PROTECTED]>
Subject: How to handle Mails inside my website

Hi all,
  
  I m developing a website where users can register and post his
comments about the produts. In this i ve a functionality where a user
can contact the other user by sending a message. this is like a mail
functionality where each individual user has the options to send a
message,inbox, deleted items. Please give me some suggestions on how to
do it and please recommend some articles where i can get the information
on this .
  
  
  Thanks

            
---------------------------------
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping

[Non-text portions of this message have been removed]



________________________________________________________________________
________________________________________________________________________

Message: 3        
   Date: Thu, 15 Dec 2005 09:02:13 -0000
   From: "Kumar, Karthick" <[EMAIL PROTECTED]>
Subject: RE: im fresher to AsP.NET

Go to "Getting Started" in www.asp.net

-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] Behalf Of csvinayak
Sent: Wednesday, December 14, 2005 5:57 AM
To: [email protected]
Subject: [AspNetAnyQuestionIsOk] im fresher to AsP.NET


how do i start learning ASP.NET

coz i m new into this field

i want to start from Scratch

can anyone help me please ,

so where do i start from










Yahoo! Groups Links








________________________________________________________________________
________________________________________________________________________

Message: 4        
   Date: Thu, 15 Dec 2005 02:26:06 -0800 (PST)
   From: ramesh kumar <[EMAIL PROTECTED]>
Subject: Please help

Hi all,
  
  I' m building a mail functionality where a registered user can post a
message to another registered user.I m storing all the values in a
database and when the user enters into his inbox, the mails which are in
his name will be displayed. i ve done this using datagrid. Now i need to
add a checkbox to each and every message that is displayed and that
checkbox shoul ve the messageid value also.
  
  inbox.aspx
  
    <%@ Page Language="C#" AutoEventWireup="true"
CodeFile="inbox.aspx.cs" Inherits="inbox" %>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  <html xmlns="http://www.w3.org/1999/xhtml"; >
  <head runat="server">
  <title>Untitled Page</title>
  </head>
  <body>
  <form id="form1" runat="server">
  <div>
  <asp:GridView ID="DataList1" runat="server">
  </asp:GridView>
  </div>
  </form>
  </body>
  </html>
  
  using System;
  using System.Data;
  using System.Configuration;
  using System.Collections;
  using System.Web;
  using System.Web.Security;
  using System.Web.UI;
  using System.Web.UI.WebControls;
  using System.Web.UI.WebControls.WebParts;
  using System.Web.UI.HtmlControls;
  using System.Data.SqlClient;
  public partial class inbox : System.Web.UI.Page
  {
  protected void Page_Load(object sender, EventArgs e)
  {
  string user;
  user = Session["User"].ToString();
  SqlConnection con = new
SqlConnection("server=localhost;database=Northwind;uid=sa;pwd=server;");
  string query = "select messageid,messagefrom,mailsubject,receivedtime
from mailsreceived where mailto='" + user + "'";
  SqlCommand cmd = new SqlCommand(query, con);
  SqlDataAdapter adap = new SqlDataAdapter(cmd);
  DataSet ds = new DataSet();
  adap.Fill(ds, "Mails");
  DataList1.DataSource = ds.Tables["Mails"];
  DataList1.DataBind();
  }
  }


            
---------------------------------
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping

[Non-text portions of this message have been removed]



________________________________________________________________________
________________________________________________________________________

Message: 5        
   Date: Thu, 15 Dec 2005 03:58:29 -0800 (PST)
   From: faisal dar <[EMAIL PROTECTED]>
Subject: how to implement ajax to refresh a web page

I want to refresh my web page without Postback event.

I mean via using ajax but how?

Actually, I Have a page with menu, when first time my
page will load it will load from the server, but for
the next time if i click on the menu, it will load
from the cache of client.

This is possible via ajax, but I need some sample code
to implement it.

Thanks,

DAR

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


________________________________________________________________________
________________________________________________________________________

Message: 6        
   Date: Thu, 15 Dec 2005 09:45:29 +0000 (GMT)
   From: anu radha <[EMAIL PROTECTED]>
Subject: hi

  hi fridzzz
   i have one small issue
              how can we place linklabel in datagrid in windows
application (c#.net)
  plzz anyone knows reply me
  bye


      
---------------------------------
Yahoo! India Matrimony: Find your partner now.

[Non-text portions of this message have been removed]





________________________________________________________________________
________________________________________________________________________

Message: 7        
   Date: Thu, 15 Dec 2005 15:14:20 -0000
   From: "Sunand" <[EMAIL PROTECTED]>
Subject: [HELP] ASP.NET with C#

Hello,

I am Sunand, working as programmer in a software company. Can some one
please suggest me a good book for ASP.NET with C# (using Visual Studio
or notepad/webmatrix). Actually I am well versed with ASP.NET with
VB.NET, but now I want to shift to C#.

If possible kindly mail information regarding publisher and cost also,
as it would be of great help to me in procuring the book at the
earliest.

Waiting for an early reply.

Regards,
Sunand








________________________________________________________________________
________________________________________________________________________

Message: 8        
   Date: Thu, 15 Dec 2005 10:49:37 -0500
   From: "Falls, Travis D (HTSC, CASD)" <[EMAIL PROTECTED]>
Subject: RE: [HELP] ASP.NET with C#

Sunard,
If you are well versed in ASP.Net and VB.Net I would simply use the
tuturials online at www.asp.net to learn the syntax.  I didn't know the
frame work, or even VB before learning C# and that is all I used.  It
saved some money in the beginning for me.  Just a thought.  If you have
a Java background (which I did) C# is not really that different.

Travis D. Falls | Consultant   RAFT.Net   IT | 860.547.4070 |
[EMAIL PROTECTED]


-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] Behalf Of Sunand
Sent: Thursday, December 15, 2005 10:14 AM
To: [email protected]
Subject: [AspNetAnyQuestionIsOk] [HELP] ASP.NET with C#


Hello,

I am Sunand, working as programmer in a software company. Can some one
please suggest me a good book for ASP.NET with C# (using Visual Studio
or notepad/webmatrix). Actually I am well versed with ASP.NET with
VB.NET, but now I want to shift to C#.

If possible kindly mail information regarding publisher and cost also,
as it would be of great help to me in procuring the book at the
earliest.

Waiting for an early reply.

Regards,
Sunand










Yahoo! Groups Links








************************************************************************
*
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution
is
strictly prohibited.  If you are not the intended recipient, please
notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
************************************************************************
*



________________________________________________________________________
________________________________________________________________________

Message: 9        
   Date: Thu, 15 Dec 2005 10:07:08 -0600
   From: Peter Brunone <[EMAIL PROTECTED]>
Subject: Re: how to implement ajax to refresh a web page

Oops... I should add that after this line:

    if (myRequest.readyState==4) {

you grab the myRequest.ResponseText property, which will have the data
from
the server.


On 12/15/05, Peter Brunone <[EMAIL PROTECTED]> wrote:
>
> Ah, the question everyone is asking these days!
>
> Here is some basic code that will let you make an ajax call from IE
and
> Mozilla.  I'm sure if you google on "ajax request" you'll get a lot
more
> information.
>
> Cheers,
>
> Peter
>
> var myRequest;
> var sRequestPath = "
> http://whereverthisis.com/myinfopage.aspx?somevar=this&othervar=that";;
>
> if (window.XMLHttpRequest) {
>     //alert("Firefox: Sending request to \n" + sRequestPath); //
Debugging
>     myRequest = new XMLHttpRequest();
>     myRequest.overrideMimeType('text/xml');
>     }
> else if (window.ActiveXObject) {
>     //alert("IE: Sending request to \n" + sRequestPath); // Debugging
>     myRequest = new ActiveXObject("Microsoft.XMLHTTP");
>     }
> myRequest.onreadystatechange = function() {
>     if (myRequest.readyState==4) {
>         }
>     }
>
> myRequest.open('GET', sRequestPath, true);
> myRequest.send(null);
>
>
> On 12/15/05, faisal dar <[EMAIL PROTECTED]> wrote:
> >
> > I want to refresh my web page without Postback event.
> >
> > I mean via using ajax but how?
> >
> > Actually, I Have a page with menu, when first time my
> > page will load it will load from the server, but for
> > the next time if i click on the menu, it will load
> > from the cache of client.
> >
> > This is possible via ajax, but I need some sample code
> > to implement it.
> >
> > Thanks,
> >
> > DAR
>
>


[Non-text portions of this message have been removed]



________________________________________________________________________
________________________________________________________________________

Message: 10       
   Date: Thu, 15 Dec 2005 10:06:17 -0600
   From: Peter Brunone <[EMAIL PROTECTED]>
Subject: Re: how to implement ajax to refresh a web page

Ah, the question everyone is asking these days!

Here is some basic code that will let you make an ajax call from IE and
Mozilla.  I'm sure if you google on "ajax request" you'll get a lot more
information.

Cheers,

Peter

var myRequest;
var sRequestPath = "
http://whereverthisis.com/myinfopage.aspx?somevar=this&othervar=that";;

if (window.XMLHttpRequest) {
    //alert("Firefox: Sending request to \n" + sRequestPath); //
Debugging
    myRequest = new XMLHttpRequest();
    myRequest.overrideMimeType('text/xml');
    }
else if (window.ActiveXObject) {
    //alert("IE: Sending request to \n" + sRequestPath); // Debugging
    myRequest = new ActiveXObject("Microsoft.XMLHTTP");
    }
myRequest.onreadystatechange = function() {
    if (myRequest.readyState==4) {
        }
    }

myRequest.open('GET', sRequestPath, true);
myRequest.send(null);


On 12/15/05, faisal dar <[EMAIL PROTECTED]> wrote:
>
> I want to refresh my web page without Postback event.
>
> I mean via using ajax but how?
>
> Actually, I Have a page with menu, when first time my
> page will load it will load from the server, but for
> the next time if i click on the menu, it will load
> from the cache of client.
>
> This is possible via ajax, but I need some sample code
> to implement it.
>
> Thanks,
>
> DAR


[Non-text portions of this message have been removed]



________________________________________________________________________
________________________________________________________________________

Message: 11       
   Date: Thu, 15 Dec 2005 20:35:05 -0000
   From: "sicsemper99" <[EMAIL PROTECTED]>
Subject: Auto Date advancing

I have this page for tracking accidents and would like to have the
"Number of days since last accident" and Number of days since last
recordable" to add a new day to the count each day that references
"Date of last accident" and "Date of last recordable" using the
computers clock. This was as each day passes the information is always
up to date. How could I do this. Here's the Page:

<[EMAIL PROTECTED]"JAVASCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<title>PWT Accident Stats</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<style type="text/css">
<!--
body,td,th {
color: #000000;
}
body {
background-color: #CCCCCC;
}
a:link {
color: #0000FF;
}
a:visited {
color: #FF00FF;
}
a:hover {
color: #FF0000;
}
-->
</style></head>

<body>
<FORM>
<br/>

<table width="406" height="66" border="3" cellpadding="3"
cellspacing="3">
<tr>
<td width="199"><strong>Date of last accident:</strong> </td>
<td width="186"><input name="DOLA" onchange="doCalc(this);"/> </td>
</tr>
<tr>
<td><strong>Date of last recordable:</strong>  </td>
<td><INPUT Name="DOLR" onChange="doCalc(this);"> </td>
</tr>
</table>

<hr />
<table width="407" height="63" border="3" cellpadding="3"
cellspacing="3">
<tr>
<td width="283"><div align="left"><strong>Number of days since last
accident </strong></div></td>
<td width="93"> <div align="center"><SPAN ID="S_DOLA">[no date
yet]</SPAN> </div></td>
</tr>
<tr>
<td width="283"><strong>Number of days since last
recordables:</strong> </td>
<td><div align="center"><SPAN ID="S_DOLR">[no date yet]</SPAN>
</div></td>
</tr>
</table>
<p><br/>

</FORM>

<SCRIPT Language="JavaScript">
function doCalc(fld)
{
var sp = document.getElementById("S_"+fld.name);

var when = new Date( fld.value );
if ( isNaN(when) )
{
sp.innerHTML = "<font color=red><b>INVALID DATE ENTERED</b></font>";
fld.value = "";
fld.focus( );
return;
}
var now = new Date( );
var today = new Date( now.getFullYear(), now.getMonth(), now.getDate()
);
var then = new Date( when.getFullYear(), when.getMonth(),
when.getDate() );
var diff = today.getTime() - then.getTime();
var diffdays = diff / ( 24*60*60*1000 ); // div by milliseconds per day
sp.innerHTML = "<b>" + diffdays + "<b>";
}
</SCRIPT>

</body>
</html>







________________________________________________________________________
________________________________________________________________________



------------------------------------------------------------------------
Yahoo! Groups Links




------------------------------------------------------------------------





**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***


  SPONSORED LINKS 
        Basic programming language   Computer programming languages   
Programming languages     Java programming language 
    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "AspNetAnyQuestionIsOk" on the web.
    
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
    
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

    
---------------------------------
  

  


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to