On Mon, 2012-11-19 at 07:03 -0500, Lex Berezhny wrote:
> On Mon, Nov 19, 2012 at 1:55 AM, Kees Bos <[email protected]>
> wrote:
>         On Sun, 2012-11-18 at 15:30 -0800, Marcio Andrey Oliveira
>         wrote:
>         > Hi.
>         >
>         > Thank you for replying.
>         >
>         > So the python library to access the database will be
>         converted into
>         > javascript code?
>         
>         
>         Nope. You don't access the database directly from you pyjs
>         client. A
>         typically setup is to have a json server and a pyjs client.
>         The json
>         server executes the commands and accesses the database server
>         (if any).
> 
> 
> You can access postgresql directly from a pyjd client using psycopg.
> That's the first link I gave Marcio.

Ah, pyjd. I'm too much focused on having all the code in sync with
pyjs/pyjd...

> 
> 
> You can access postgresql from javascript running in node.js using
> this: https://github.com/brianc/node-postgres

OK. I get it. Technically nice. Not something I would ever use. Too much
power to the client.



-- 



Reply via email to