News for hackers. Stuff that matters.
Re:Building a chatbot on Facebook Messenger with Ruby on Rails by rockyj on Wednesday April 26, 2017 @08:57AM (#14202532)
Erm .. what is the point of Rails here? This can be done with Rack, Sinatra, Node, Go.

I really like Rails, but I get a bit annoyed when people use it everywhere even where it is not a good fit e.g. no need of activerecord, no server side templates or other 70% of Rails feature set, it is all just there adding to bloat without any usage.

Re:Building a chatbot on Facebook Messenger with Ruby on Rails by briandear on Wednesday April 26, 2017 @10:49AM (#14203416)
You can run rails without active record, you use it in API mode as well.

Go is a language not an application framework. So that's not a fair comparison.

You get a lot of nice things right out of the box with Rails so it's a good choice for many projects.

Node isn't a framework or a language, it's a runtime environment. You'd still have to write a Javascript application.

With Rails you get rapid development speed and you can just use the pieces you want.

You could argue that writing this sort of app in Swift is a good choice as well.

As far as bloat.. what's the actual consequence? A slightly bigger deployment? It's negligible in terms of real world consequences and offset by the convenience of Rails conventions.

Re:Building a chatbot on Facebook Messenger with Ruby on Rails by geff82 on Wednesday April 26, 2017 @10:27AM (#14203235)
ActionCable!
Re:Building a chatbot on Facebook Messenger with Ruby on Rails by solyaris on Wednesday April 26, 2017 @10:26AM (#14203229)
I agree!