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


Groups > comp.lang.javascript > #8608

Re: Read url into a string?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!newsfeed.CARNet.hr!Iskon!not-for-mail
From Zlatko Đurić <zladuric@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: Read url into a string?
Date Thu, 24 Nov 2011 22:13:29 +0100
Organization Iskon Internet d.d.
Lines 26
Message-ID <jamc1s$ab7$1@sunce.iskon.hr> (permalink)
References <a0faab1d-920c-4d58-bb9f-b382b0b4ce38@w3g2000vbw.googlegroups.com> <pmuqc7t8p6ees0qo6sh484mc2o7jvv4afj@4ax.com> <jajvki$fvb$1@sunce.iskon.hr> <2567734.rclGbaif12@PointedEars.de>
NNTP-Posting-Host iskon7916.duo.carnet.hr
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace sunce.iskon.hr 1322169212 10599 31.147.126.236 (24 Nov 2011 21:13:32 GMT)
X-Complaints-To abuse@iskon.hr
NNTP-Posting-Date Thu, 24 Nov 2011 21:13:32 +0000 (UTC)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0
In-Reply-To <2567734.rclGbaif12@PointedEars.de>
Xref x330-a1.tempe.blueboxinc.net comp.lang.javascript:8608

Show key headers only | View raw


On 11/24/2011 09:27 PM, Thomas 'PointedEars' Lahn wrote:
>
> The flaws of this code are many:
>
> - Bogus XHR() feature test
> - Missing XMLHTTP selection
> - Missing non-XHR()-non-MSXML branch
> - Unnecessary synchronous request blocking the client window/tab
> - Missing status check
> - Insufficient code style

> PointedEars

Thanks, pointy :)

I am not a wizard at JavaScript, I consider myself a little above the 
beginner. And this thing up there, it was written off the top of my 
head. In my day work use YUI and it's connection management, so I never 
got the hang of doing all the stuff manually. But like I said, it's a 
starter that neds a lot of work. To merely work, at that.

Now that we're at it, can you help me grow and explain the things I left 
quoted? I understand some of it, but I'd like to hear more.

-- 
Zlatko

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


Thread

Read url into a string? SpreadTooThin <bjobrien62@gmail.com> - 2011-11-23 14:09 -0800
  Re: Read url into a string? Gene Wirchenko <genew@ocis.net> - 2011-11-23 15:00 -0800
    Re: Read url into a string? SpreadTooThin <bjobrien62@gmail.com> - 2011-11-23 15:28 -0800
    Re: Read url into a string? Zlatko Đurić <zladuric@gmail.com> - 2011-11-24 00:29 +0100
      Re: Read url into a string? SpreadTooThin <bjobrien62@gmail.com> - 2011-11-23 15:34 -0800
      Re: Read url into a string? SpreadTooThin <bjobrien62@gmail.com> - 2011-11-23 15:37 -0800
      Re: Read url into a string? SpreadTooThin <bjobrien62@gmail.com> - 2011-11-23 16:35 -0800
        Re: Read url into a string? Scott Sauyet <scott.sauyet@gmail.com> - 2011-11-23 18:02 -0800
      Re: Read url into a string? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-24 21:27 +0100
        Re: Read url into a string? Zlatko Đurić <zladuric@gmail.com> - 2011-11-24 22:13 +0100
          Re: Read url into a string? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-24 22:31 +0100
            Re: Read url into a string? Zlatko Đurić <zladuric@gmail.com> - 2011-11-24 23:08 +0100
      Re: Read url into a string? Arno Welzel <usenet@arnowelzel.de> - 2011-11-25 15:59 +0100
  Re: Read url into a string? "Evertjan." <test@abc.invalid> - 2011-11-26 13:44 -0400

csiph-web