Does anyone have any experience with sails?
I've used sails in production on a couple of apps and it's mostly pretty good but there are a couple of annoyances that will inevitably get ironed out as it develops. For me the most irritating thing is being unable to write good unit tests for controllers that use models as sails models are scoped globally and controllers have to be objects which makes injecting mocks difficult. It's great for getting a prototype up…
Live Sails.js Course
41–48 of 48 posts
Re: Live Sails.js Course
#42Re: Live Sails.js Course
#43Does anyone have any experience with sails?
I built my SaaS app backend on sails. There are quite some gotchas left but overall I'm pretty happy with it. Deep relational fetches would be very very helpfull though, now you basically have to cobble up seperate async fetches to do more complex joins.
Seconded. I'm still early on with a project where we're very close to replacing Waterline for this reason. I always thought ActiveRecord was one of the great strengths of Rails but unfortunately I'm finding Waterline to be the biggest weakness of Sails.
Re: Live Sails.js Course
#44Too bad it seems you can only join with Tweeter or FB account.
We're working on more options. Should we include github or an email/password login first?
Re: Live Sails.js Course
#45Earlier quoted context omitted.
I've used sails in production on a couple of apps and it's mostly pretty good but there are a couple of annoyances that will inevitably get ironed out as it develops. For me the most irritating thing is being unable to write good unit tests for controllers that use models as sails models are scoped globally and controllers have to be objects which makes injecting mocks difficult. It's great for getting a prototype up…
Why not place the model usage in services and use the services in the controllers?
Re: Live Sails.js Course
#461. The site and the courses look great but, why can't I sign up without a Facebook or Twitter account? This one issue was enough for me to leave the site. I compartmentalize my web affairs for many reasons and keeping my online accounts separate is very important for me. I'm writing this to encourage you (and others) to reconsider this practice.
2. I can see the icon that says "Beginner," but that doesn't tell me much. In your FAQ, I would recommend expounding on this. Beginner is too ambiguous.
Re: Live Sails.js Course
#47The join button is completely broken in Chrome beta.
Re: Live Sails.js Course
#48Earlier quoted context omitted.
The cost.
It's truly free. Is that weird?
So I'm a bit confused.
[1]: https://courses.platzi.com/frequently-asked-questions/#how-i...