Re: [INTERFACES] PGSQL and Javascript

From: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
To: Reg Me Please <regmeplease(at)gmail(dot)com>
Cc: Allan Kamau <kamauallan(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] PGSQL and Javascript
Date: 2009-01-30 13:02:20
Message-ID: 264855a00901300502j3f04174cm5142d9d2a4d310b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-interfaces

On Fri, Jan 30, 2009 at 7:43 AM, Reg Me Please <regmeplease(at)gmail(dot)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 take a look
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 <regmeplease(at)gmail(dot)com
> >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(at)gmail(dot)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üner Rand
> > > > >
> > > > > --
> > > > > Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> > > > > To make changes to your subscription:
> > > > > http://www.postgresql.org/mailpref/pgsql-general
> > >
> > > --
> > > Fahrbahn ist ein graues Band
> > > weisse Streifen, grüner Rand
> > >
> > > --
> > > Sent via pgsql-interfaces mailing list (
> pgsql-interfaces(at)postgresql(dot)org)
> > > To make changes to your subscription:
> > > http://www.postgresql.org/mailpref/pgsql-interfaces
>
>
>
> --
> Fahrbahn ist ein graues Band
> weisse Streifen, grüner Rand
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2009-01-30 13:26:45 Re: Pet Peeves?
Previous Message Thomas Markus 2009-01-30 13:01:01 Re: PGSQL and Javascript

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jim Renwick 2009-01-30 20:51:52 Table/Data extension model available?
Previous Message Thomas Markus 2009-01-30 13:01:01 Re: PGSQL and Javascript