Closed ztbrown closed 10 years ago
So, I made a mistake on some of these branch names. This branch should be called 1-scaffold-new-rails-server. Our convention should be < issue-name >-< feature-branch-name >.
I'm curious about what is the client here v. what is the server.
Also, did you use scaffolding or just rails new?
My idea was to do a JSON API on the Rails end and a thick JS client for the front-end (phonegap wrapping an angularjs/ionic mobile app).
just did rails new
client is over here: https://github.com/VeteransOnWatch/veterans-on-watch-client/pull/1
Any final thoughts on Ruby/Rails vs other languages/frameworks?
@BDS1400 @baroldgene @dswingle @lightmedium
Go for it.
Nope.
Nope what?
I think he was saying, "No final thoughts". Right @BDS1400?
No final thoughts.
ok, I'm going to :ship:
Hi everyone, sorry I've missed the party so far! I just got off the phone with someone at Twilio (I'm two blocks from their HQ right now), hoping to get them jazzed about our project. I was talking to the wrong person. Apparently "Business Development" means "Sales" nowadays.
@ztbrown - I'm down with a Rails server. What do you think about Relational vs Document db for this? The most relevant discussion I've seen was all the buzz a while back about the decision to move Diaspora from MongoDB to MySQL, but I'm not 100% convinced that it was a wise move.
Regarding the JSON API and thick client... I agree with the structure. Let's keep the API encapsulated so that we can add to our offerings someday with native clients for Android, iOS, Windows, The Rebirth of Blackberry, and the next amazing smart watch from whoever we can't imagine down the road, without having to refactor the server to remove all of the html/css/javascript integrations we unwisely allowed to bleed into it. On that same note, we should put as much business logic as possible on the API for the same reason. Every bit of business logic we write on the client side will have to be duplicated on every platform we adopt, and our ability to expand into new platforms with speed and agility is critical. Our client-side code should, as much as is wise and possible, rely on the service when it comes down to what to do and for whom while the client handles the platform-specific view logic.
I'm sorry for the lecture, but I'm still reeling from my experience at Chase, where we had WAY too much business logic duplicated across the iPhone, iPad, Android, Windows Phone, Blackberry, and Mobile Web apps. We were virtually paralyzed by the complexity of the client-side code and, just like the logic, that paralysis was duplicated across all of our front-ends. Granted, the front end for an enormous bank, that is actually an amalgamation of many banks, that offers just about every consumer and business finance service known to man is an extreme case, but it doesn't make it any less true for this app.
Using Rails for the server is just a suggestion. I'm interested in hearing feedback from the other developer-owners. @VeteransOnWatch/owners