LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ajax on linux? (https://www.linuxquestions.org/questions/linux-software-2/ajax-on-linux-649783/)

finest 06-16-2008 10:47 PM

ajax on linux?
 
is there anyway to run a web page programmed in ajax on linux?

with firefox, etc.

dkm999 06-16-2008 11:48 PM

AJAX is a technique; it is supported by Javascript on the browser (Firefox) and by any number of server-side scripts. I use PHP to good effect; I have heard of other using Perl, and I am sure that several other languages are suitable on the server side. The essence of this scheme is that, in response to an event in the browser (perhaps a user click, or a mouse rollover event), some browser-side script runs; it makes some request of the server, who responds, and some additional browser-side script handles the reply. Usually, the reply contains some information that is then displayed to the user. The possibilities are numerous.

There are libraries of AJAX tools for both the browser-side and the server-side. A google search will undoubtedly turn up several of these.

sundialsvcs 06-17-2008 06:02 AM

Web-development tools are basically "platform agnostic." In other words, they really don't care if it's Linux or Windoze.

IsaacKuo 06-17-2008 07:45 AM

Not all web development tools are platform agnostic. VBscript, Active X, and Asp.net are essentially Microsoft only.

However, AJAX is implemented in a completely platform agnostic way using Javascript, XML, and PHP.

IsaacKuo 06-17-2008 07:48 AM

Not all web development tools are platform agnostic. VBscript, Active X, and Asp.net are essentially Microsoft only.

However, AJAX is implemented in a completely platform agnostic way using Javascript, XML, and PHP.

finest 06-19-2008 11:15 PM

the website is programmed using ajax with php on windows, when i open it in firefox(linux) doesnt look proper, missing names, rows, etc..

my best option is ie7+wine?

dkm999 06-20-2008 12:23 AM

Welcome to the world of incompatible browsers. My guess (without seeing the website in question) is that it has been written for IE only, with no thought to cross-browser compatibility. AJAX has very little to do with this, except for the fact that the routines are written in Javascript, which has to deal with the differences between what Microsoft and EOMB (every-other-modern-browser) have implemented as the underlying data model for what you see on the screen.

If this site is one that you only visit, you are stuck with IE; if it one that you have control over, I recommend cruising the web; a couple of good sites are www.anybrowser.org and www.quirksmode.org

rlee923 06-20-2008 12:35 AM

mind you that ie has extra 2-3 pixel gaps between tables, you might have to dig in more to figure out when you write css.

I know, it's a pain.


All times are GMT -5. The time now is 08:15 PM.