![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |||
| [SOLVED] What really distinguishes AJAX programming from traditional web programming. ...(html/javascript)? Thanks for answering my doubt. I tried some samples, but ran into the XmllHttpRequest cross domain request issue. What's the right way to solve the cross domain request issue? I saw couple of solutions, from a desing stand point both of them seemed to be hacks. |
| |
| |||
| Traditional HTML/Javascript is just, well, HTML + Javascript. Whereas AJAX is HTML (preferably XHTML+CSS) + Javascript + some server-side script (such as PHP). Technologically there's no difference. It's just a new (well, not so new now) way to use them. In which case, it requires a little bit of new thinking. |
| |||
| AJAX uses a bit of javascript that uses the XmlHTTP object. This object, opens up a connection to a Web server, transmits and receives data, then calls back the javascript on the page which was used to invoke it. What this means is that changes on the client side can communicate with the server, then dynamically update the client user interface without having to request a new Web page from the server. While this slightly complicates developing Web applications that use AJAX technologies (which, by the way, is just a name given to the various technologies employed to use this methodology), it makes for a very smooth user experience since they are not constantly refreshing Web pages. AJAX applications give an appearance of a 'thick client' application while still being a 'thin client' (i.e. application that runs in a Web browser.) However, it is important to note that network communication is still going on in the background while the application is being used. |
![]() |
| Thread Tools | |
| Display Modes | |
| |