LoopBack, a new Node.js framework by StrongLoop
11–20 of 67 posts
Re: LoopBack, a new Node.js framework by StrongLoop
#12Wow, I'm building something a bit similar in the Go area: https://github.com/sergiotapia/paprika Nice to know it's a good idea that a lot of people will find useful. :) Granted in it's current vision Paprika won't handle authentication. It's basically an API server in-a-can. Defined your structs, set up your .toml database configuration and paprika.Start("3000") on a port.
Re: LoopBack, a new Node.js framework by StrongLoop
#13Wow, I'm building something a bit similar in the Go area: https://github.com/sergiotapia/paprika Nice to know it's a good idea that a lot of people will find useful. :) Granted in it's current vision Paprika won't handle authentication. It's basically an API server in-a-can. Defined your structs, set up your .toml database configuration and paprika.Start("3000") on a port.
I've seen ton of "expose DB as REST-like API" libraries in various languages, and even tried (unsuccessfully) to write one myself. I'd say just exposing model is trivial, even when coupled with content-type negotiation. Subjectively, the hardest part is permissions (operation, row and field-level ones) and making them play nice with REST and HTTP concepts (like ETags).
Re: LoopBack, a new Node.js framework by StrongLoop
#14What's the Omega in the terminal??
Case in point:
https://github.com/mbostock/d3/blob/c247e1626118de41b3d40e2a...
Re: LoopBack, a new Node.js framework by StrongLoop
#15Re: LoopBack, a new Node.js framework by StrongLoop
#16Re: LoopBack, a new Node.js framework by StrongLoop
#17Hehe, I owned that domain, loopback.io, a year or two ago. I didn't renew it obviously.
Re: LoopBack, a new Node.js framework by StrongLoop
#18Does it support custom DB types?
For example, I want my primary keys to be bigint on Mysql, and not have to override the underlying dbdriver to do the mapping. I'd prefer to set the appropriate dbtype in the model, and have the driver pass it along directly.
Also does it support dbdriver level SQL query execution?
I have custom aggregation query across a self join, and that's not easily represented with static methods on a model.
Today I use node-orm2, with a custom SQL script that updates the identity columns to be bigints, and it supports executing raw sql queries (with some basic parameter sanitizing).
Re: LoopBack, a new Node.js framework by StrongLoop
#19This is slick, especially the API explorer, but my biggest gripe about these orm's is that once you get past the very basic CRUD, you need to execute custom sql. Does it support custom DB types? For example, I want my primary keys to be bigint on Mysql, and not have to override the underlying dbdriver to do the mapping. I'd prefer to set the appropriate dbtype in the model, and have the driver pass it along directly.…
Re: LoopBack, a new Node.js framework by StrongLoop
#20Awesome work.