Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26959

Re: Can I test ajax if I don't have any database or any server. I just run local

From Tim Streater <timstreater@greenbee.net>
Newsgroups comp.lang.javascript
Subject Re: Can I test ajax if I don't have any database or any server. I just run local
Date 2015-03-01 17:26 +0000
Message-ID <010320151726104654%timstreater@greenbee.net> (permalink)
References <mctifg$q5r$1@dont-email.me> <mcv7a9$dos$2@dont-email.me>

Show all headers | View raw


In article <mcv7a9$dos$2@dont-email.me>, Denis McMahon
<denismfmcmahon@gmail.com> wrote:

>On Sun, 01 Mar 2015 00:20:00 +0100, Tony Johansson wrote:
>
>> I just wat to text how it works from javascript or jQuery.
>> Is this possible or impossible?
>
>You can create json or xml documents and request them with ajax requests. 

No you don't. What you are requesting is *data*, which can be in any
format as long as the two sides agree on what the format is.

>But you'll need a server, because ajax talks to a server.
>
>What you don't need for ajax is a database.

Both correct. The server can be local.

-- 
"Please stop telling us what you feel. Please stop telling us what your 
intuition is. Your intuitive feelings are of no interest whatsoever, 
and nor are mine. I don't give a bugger what you feel, or what I feel. 
I want to know what the evidence shows."             -- Richard Dawkins

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can I test ajax if I don't have any database or any server. I just run local "Tony Johansson" <johansson.andersson@telia.com> - 2015-03-01 00:20 +0100
  Re: Can I test ajax if I don't have any database or any server. I just run local Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-01 02:52 +0100
  Re: Can I test ajax if I don't have any database or any server. I just run local "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-02-28 20:05 -0800
  Re: Can I test ajax if I don't have any database or any server. I just run local Tim Streater <timstreater@greenbee.net> - 2015-03-01 09:15 +0000
  Re: Can I test ajax if I don't have any database or any server. I just run local JJ <jj4public@vfemail.net> - 2015-03-01 18:36 +0700
  Re: Can I test ajax if I don't have any database or any server. I just run local Denis McMahon <denismfmcmahon@gmail.com> - 2015-03-01 14:22 +0000
    Re: Can I test ajax if I don't have any database or any server. I just run local "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-03-01 16:04 +0100
    Re: Can I test ajax if I don't have any database or any server. I just run local Tim Streater <timstreater@greenbee.net> - 2015-03-01 17:26 +0000
      Re: Can I test ajax if I don't have any database or any server. I just run local Denis McMahon <denismfmcmahon@gmail.com> - 2015-03-02 10:14 +0000

csiph-web