Nice landing page, I'll give them credit for that. But why would I want to use this instead of Express or Restler?
LoopBack, a new Node.js framework by StrongLoop
21–30 of 67 posts
Re: LoopBack, a new Node.js framework by StrongLoop
#22Re: LoopBack, a new Node.js framework by StrongLoop
#23Nice landing page, I'll give them credit for that. But why would I want to use this instead of Express or Restler?
Re: LoopBack, a new Node.js framework by StrongLoop
#24Edit: Whey! http://docs.strongloop.com/display/DOC/Synchronization
Re: LoopBack, a new Node.js framework by StrongLoop
#25Hehe, I owned that domain, loopback.io, a year or two ago. I didn't renew it obviously.
OTOH I still have monospace.io which is a pretty nice domain. Anyone interested?
Re: LoopBack, a new Node.js framework by StrongLoop
#26But for some reason I'm still worried about using it as the backbone for an enterprise scale application; it almost does too much. Perhaps I'm just too averse to this amount of "magic" in any piece of infrastructure due to my Django days.
The code is open, but you're not just buying into a single module with a single purpose -- this is an entire architecture. I guess in such cases, worry is warranted before accepted it as the backbone of your company/application.
Re: LoopBack, a new Node.js framework by StrongLoop
#27This 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.…
These libraries fail because they are not designed around a logical expression language (unlike Ruby's ARel, a very nice SQL building library that forms the underpinnings of ActiveRecord). You need to be able to programmatically build expressions as an AST which still preserving SQL language rules and avoid exposing yourself to injection.
Re: LoopBack, a new Node.js framework by StrongLoop
#28Nitpick, but the "GET /people/{id}/exists" in the example to check if the instance exists is a bit weird, would suggest "HEAD /people/{id}" for this type of operation.
Re: LoopBack, a new Node.js framework by StrongLoop
#29Nitpick, but the "GET /people/{id}/exists" in the example to check if the instance exists is a bit weird, would suggest "HEAD /people/{id}" for this type of operation.
Re: LoopBack, a new Node.js framework by StrongLoop
#30Nitpick, but the "GET /people/{id}/exists" in the example to check if the instance exists is a bit weird, would suggest "HEAD /people/{id}" for this type of operation.
Actually the resource should typically 404 to indicate it doesn't exists (generally speaking for http apis).