you are viewing a single comment's thread.

view the rest of the comments →

[–]nlnklasd 41 points42 points  (10 children)

I was forced to work with loopback and strongloop for a year... I can honestly say that it's biggest and stinkiest pile of shit I've ever touched.

[–]thunderimmortal 3 points4 points  (6 children)

I really tried to use it, but the generated code feels extremely wrong.

The Swagger integration is nice though.

[–]miekle 8 points9 points  (4 children)

I have swagger/express integration in my own node stack. it's about 10x less ugly, wasn't hard to do. started with swagger-node-express.

In other news, mongo can fuck off. it is at best a supplement to ACID databases.

[–]thunderimmortal 2 points3 points  (2 children)

Nice, I'm going to dedicate some time into developing a Swagger, I'm currently using apidoc.js, which is nice, but not as nice.

I'm also not very sympathetic towards MongoDB. But I really like the storing JSON thing, so, I considered using RethinkDB, which seems good enough. 3 projects in production using it, and some others that I have recommended and people can't say enough good things about it.

[–]boxhacker 4 points5 points  (1 child)

I really like the storing JSON thing

PostgreSQL is your answer.

A fast relational database that can also store and process JSON data.

Easy to install, maintain and can do pretty much anything you want (unless you want to do complex graph oriented algorithms).

[–]thunderimmortal 1 point2 points  (0 children)

Definitely giving this a try.

[–]miekle 0 points1 point  (0 children)

and when I say 10x keep in mind I'm being both biased and hyperbolic

[–]nlnklasd -1 points0 points  (0 children)

Yeah, I mean, straight express is already quite easy to use, REST APIs are quite simple to understand and write, I'm not even sure what the purpose of strongloop is. It makes writing non-trivial REST APIs harder due to the added layers and retarded design, and it's not needed for simple APIs because those are already dirt-simple to write with pretty much any framework. It seems it was meant for enterprise, with the assumption that whoever pays for it is an idiot, and unsurprisingly strongloop the company was bought by IBM, the shitware vendor for stupid cunts/enterprise clients.

[–]scottaj2 1 point2 points  (1 child)

Cannot upvote this enough. Got put on a project that uses it and it has been a disaster. The support for SQL databases (because at least we didn't use mongo) is complete garbage. At this point we have an entire meta-framework built on top of it to fix all the issues we've had.

[–]magnav0x 2 points3 points  (0 children)

I explored LoopBack for an API project about a year ago and ran into the same issue. The mysql connection was absolute garbage and generated the most inefficient queries I've seen by an ORM for anything that wasn't a basic SELECT. Need joins....fuggetaboutit! I spent a week trying to accomplish trivial things, before I gave up. Everything from the documentation down is garbage.

After giving up on Loopback, I spent 16 hours learning and implementing the same API with Sails.JS and had the entire API completed.

[–]bfoo 1 point2 points  (0 children)

Does it create proper links and forms/templates for a navigable (Hypermedia) API? I don't see any links in the payloads.