4 ms·
HTTP APIs like http://wiki.postgresql.org/wiki/HTTP_API http://wiki.postgresql.org/wiki/HTTP_API. Using a javascript framework like AngularJs would permit me to
by fpic 13y ago
HTTP APIs like http://wiki.postgresql.org/wiki/HTTP_API http://wiki.postgresql.org/wiki/HTTP_API. Using a javascript framework like AngularJs would permit me to get rid of middleware (Java, PHP, dotNET, etc.) almost completely. I need a relational db and I'm not a big fan of NoSQL, so MongoDB or others are not a viable option. It would also permit to use only javascript from the front end to the back end (https://code.google.com/p/plv8js/ https://code.google.com/p/plv8js/).
- snaky 13y agoNginx + ngx_postgres + ngx_rds_json (or OpenResty bundle) is perfect for the task. See sample #5 at https://github.com/FRiCKLE/ngx_postgres https://github.com/FRiCKLE/ngx_postgres And it's fast.