Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id F3C57632C34; Fri, 30 Jan 2009 09:02:31 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 79150-05; Fri, 30 Jan 2009 09:02:26 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mail.postgresql.org (Postfix) with ESMTP id DF284632C33; Fri, 30 Jan 2009 09:02:25 -0400 (AST) Received: by rv-out-0506.google.com with SMTP id b25so427817rvf.43 for ; Fri, 30 Jan 2009 05:02:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=mCnnhCWY4LCGFpWNwwWpsR0xqEAPnEEBRL+JY61NPiE=; b=XCJJXz8gBOyjngrxZVcmDUK/ce84kUjZLrrDXbECDxxC/dBkjg4/aSVZQGQOwzmn1s KkNHVtb5vh/wlAuoRXNxSKchCHEH22qQTqjR7H7AEuhKKH3ggr2meH/U6G0Ayso2OMmC y3atfEZA5aZuU2K2/ogCUEJtuXyRc7E7kt43M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=Mige4PSNmYAetdzw4d1htYDgQe5/ATDeJqeyGHOl8asbLguqHDekXMYDPoeVD0uEUx Mjbs+w1itbiWMj7g2hPb2iEpba3NM2U+F1WkcW2Jh9AsxQlWtFrvFc4XKk+Y0gNEQePt EO7vHMrEbIjUplgaHdd9pkEZba55+RoYX/TDY= MIME-Version: 1.0 Received: by 10.141.107.13 with SMTP id j13mr635593rvm.65.1233320541016; Fri, 30 Jan 2009 05:02:21 -0800 (PST) In-Reply-To: <200901301343.39689.regmeplease@gmail.com> References: <200901301240.37112.regmeplease@gmail.com> <200901301309.47273.regmeplease@gmail.com> <264855a00901300424v789e00a6gc59ba5dd90c33c24@mail.gmail.com> <200901301343.39689.regmeplease@gmail.com> Date: Fri, 30 Jan 2009 08:02:20 -0500 X-Google-Sender-Auth: 7d39204c8871d93e Message-ID: <264855a00901300502j3f04174cm5142d9d2a4d310b@mail.gmail.com> Subject: Re: [INTERFACES] PGSQL and Javascript From: Sean Davis To: Reg Me Please Cc: Allan Kamau , pgsql-general@postgresql.org, pgsql-interfaces@postgresql.org Content-Type: multipart/alternative; boundary=000e0cd13a2abdd4170461b2d07d X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200901/1089 X-Sequence-Number: 143174 --000e0cd13a2abdd4170461b2d07d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Jan 30, 2009 at 7:43 AM, Reg Me Please wrote= : > I already have a JS interpreter (spidermonkey) but there is no PGSQL > interfacing API! > This'd be why I'm asking. > Ah. Sorry again. No idea if this will be useful, but you might take a loo= k at: http://www.whitebeam.org/ Sean > > On Friday 30 January 2009 13:24:59 Sean Davis wrote: > > On Fri, Jan 30, 2009 at 7:09 AM, Reg Me Please >wrote: > > > I'd like to write part of the application in Javascript, server side, > not > > > in > > > the web page. > > > > I missed your point. Do a google search for javascript interpreters in > the > > language of your choice. For example, there is Rhino for java. > > > > Sean > > > > > On Friday 30 January 2009 12:53:05 Allan Kamau wrote: > > > > May be Javascript + JDBC not sure. > > > > > > > > But the question is why would you want to do so? > > > > Javascript can be read easily by the user having the javascript > > > > running on their browser. JDBC or any other database connecting > client > > > > will want to some how authenticate the user in most cases the > > > > username, password and maybe remote IP is used. This mean that your > > > > javascript will probably contain username and password in order to > use > > > > JDBC to connect to the DB, is this favourable? > > > > > > > > Allan. > > > > > > > > On Fri, Jan 30, 2009 at 1:40 PM, Reg Me Please < > regmeplease@gmail.com> > > > > > > wrote: > > > > > Hello all. > > > > > > > > > > Is there a way to directly access PGSQL from a Javascript > > > > > application? With no application server intervention, I mean. > > > > > Just like libq allows access from C/C++. > > > > > > > > > > -- > > > > > Fahrbahn ist ein graues Band > > > > > weisse Streifen, gr=C3=BCner Rand > > > > > > > > > > -- > > > > > Sent via pgsql-general mailing list (pgsql-general@postgresql.org= ) > > > > > To make changes to your subscription: > > > > > http://www.postgresql.org/mailpref/pgsql-general > > > > > > -- > > > Fahrbahn ist ein graues Band > > > weisse Streifen, gr=C3=BCner Rand > > > > > > -- > > > Sent via pgsql-interfaces mailing list ( > pgsql-interfaces@postgresql.org) > > > To make changes to your subscription: > > > http://www.postgresql.org/mailpref/pgsql-interfaces > > > > -- > Fahrbahn ist ein graues Band > weisse Streifen, gr=C3=BCner Rand > --000e0cd13a2abdd4170461b2d07d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Fri, Jan 30, 2009 at 7:43 AM, Reg Me = Please <regme= please@gmail.com> wrote:
I already have a JS interpreter (spidermonkey) but there is no PGSQL
interfacing API!
This'd be why I'm asking.

Ah.=   Sorry again.  No idea if this will be useful, but you might tak= e a look at:

http://www.whiteb= eam.org/

Sean

 

On Friday 30 January 2009 13:24:59 Sean Davis wrote:
> On Fri, Jan 30, 2009 at 7:09 AM, Reg Me Please <regmeplease@gmail.com>wrote:
> > I'd like to write part of the application in Javascript, serv= er side, not
> > in
> > the web page.
>
> I missed your point.  Do a google search for javascript interpret= ers in the
> language of your choice.  For example, there is Rhino for java. >
> Sean
>
> > On Friday 30 January 2009 12:53:05 Allan Kamau wrote:
> > > May be Javascript + JDBC not sure.
> > >
> > > But the question is why would you want to do so?
> > > Javascript can be read easily by the user having the javascr= ipt
> > > running on their browser. JDBC or any other database connect= ing client
> > > will want to some how authenticate the user in most cases th= e
> > > username, password and maybe remote IP is used. This mean th= at your
> > > javascript will probably contain username and password in or= der to use
> > > JDBC to connect to the DB, is this favourable?
> > >
> > > Allan.
> > >
> > > On Fri, Jan 30, 2009 at 1:40 PM, Reg Me Please <regmeplease@gmail.com>
> >
> > wrote:
> > > > Hello all.
> > > >
> > > > Is there a way to directly access PGSQL from a Javascri= pt
> > > > application? With no application server intervention, I= mean.
> > > > Just like libq allows access from C/C++.
> > > >
> > > > --
> > > > Fahrbahn ist ein graues Band
> > > > weisse Streifen, gr=C3=BCner Rand
> > > >
> > > > --
> > > > Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> > > > To make changes to your subscription:
> > > > http://www.postgresql.org/mailpref/pgsql-general
> >
> > --
> > Fahrbahn ist ein graues Band
> > weisse Streifen, gr=C3=BCner Rand
> >
> > --
> > Sent via pgsql-interfaces mailing list (
pgsql-interfaces@postgresql.org)
> > To make changes to your subscription:
> > http://www.postgresql.org/mailpref/pgsql-interfaces


--
Fahrbahn ist ein graues Band
weisse Streifen, gr=C3=BCner Rand

--000e0cd13a2abdd4170461b2d07d--