W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: A URL API

From: Ojan Vafai <ojan@chromium.org>
Date: Mon, 20 Sep 2010 16:45:37 +1000
Message-ID: <AANLkTimbFe_e_wYWZmHUDZ5tYctcWAh=OhhLgVNeysSh@mail.gmail.com>
To: Adam Barth <w3c@adambarth.com>
Cc: Devdatta Akhawe <dev.akhawe@gmail.com>, WebApps WG <public-webapps@w3.org>
On Mon, Sep 20, 2010 at 4:27 PM, Adam Barth <w3c@adambarth.com> wrote:

> On Sun, Sep 19, 2010 at 10:48 PM, Devdatta Akhawe <dev.akhawe@gmail.com>
> wrote:
> >> 1) There are now two methods for getting at the URL parameters.  The
> >
> > and none for setting them?
>
> That's correct.  Looking at various libraries, there seems to be much
> more interested in paring out query parameters than for constructing
> them.  One popular JavaScript library did have an API that took a
> dictionary and built a query string out of it.  I imagine most folks
> just use the HTML Form element.


That's not true of Google's Closure library:
http://closure-library.googlecode.com/svn/docs/class_goog_Uri.html (see the
set* methods).
Received on Monday, 20 September 2010 06:46:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:40 GMT