Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id DA7FB632A2D; Fri, 30 Jan 2009 08:25:08 -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 36275-09; Fri, 30 Jan 2009 08:25:02 -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.236]) by mail.postgresql.org (Postfix) with ESMTP id EB89D632A22; Fri, 30 Jan 2009 08:25:01 -0400 (AST) Received: by rv-out-0506.google.com with SMTP id g9so318175rvb.3 for ; Fri, 30 Jan 2009 04:24:59 -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=OmHKbcirgkg+0hkF0yH2Fvo8Wec3Bd1hL08olFuczTA=; b=dOOvcv7uvBcXTh3mm2NgZQrHPGzbwOfX5rl4zXnelZevETmHud37Q+fctYUrC0UJbD /cni+yChra2AKtnhaMXxOyF8JKBtlyrTXVB+YvRFOV4KXKXuiaOPDexrZTcSDw4FZ9xd 0V5p1ZF2Xh2xLQEuWRbZ2YspmsxNz/WXR8mS4= 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=MUcX2UQo+4XXtjWZBg+Pf/X0SjNFseyRjr1tIMutFMeP17NX1rnV601vvJ2k9648s8 dMWhXAbKg1k6jIacg/3mo4njAqbwcX9CuUe9MPXNePKbSLFOIYRDhtG+HZ8C+/GVrEpc YMOS8zgXu8zBQjs6iy43zGCwFbt2oiyek5pNM= MIME-Version: 1.0 Received: by 10.141.177.2 with SMTP id e2mr621846rvp.53.1233318299234; Fri, 30 Jan 2009 04:24:59 -0800 (PST) In-Reply-To: <200901301309.47273.regmeplease@gmail.com> References: <200901301240.37112.regmeplease@gmail.com> <200901301309.47273.regmeplease@gmail.com> Date: Fri, 30 Jan 2009 07:24:59 -0500 X-Google-Sender-Auth: b546de47447c96fe Message-ID: <264855a00901300424v789e00a6gc59ba5dd90c33c24@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=000e0cd17cc01ef10c0461b24b6e 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/1083 X-Sequence-Number: 143168 --000e0cd17cc01ef10c0461b24b6e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 > 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 > --000e0cd17cc01ef10c0461b24b6e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Fri, Jan 30, 2009 at 7:09 AM, Reg Me = Please <regme= please@gmail.com> wrote:
I'd like to write part of the application in Javascript, server side, n= ot in
the web page.

I missed your point.  Do a google search for jav= ascript interpreters in the language of your choice.  For example, the= re 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 applica= tion?
> > 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

--000e0cd17cc01ef10c0461b24b6e--