These are chat archives for lauraeci/PickMyRide

9th
Apr 2014
Meredith Taylor-Tanaka
@mlttanaka
Apr 09 2014 06:42
I went through the first level of codeschool for Ember tonight, and it finally dawned me that Ember is a full-fledged MVC framework for JS. I was not aware of this before as I've never really spent any time with it. As such, I'm wondering just how deep I want to wade into learning a JavaScript framework for a Ruby on Rails project. And I'm a bit confused at the moment... Are we just going to use Rails for the API?
Laura J. Unterguggenberger
@lauraeci
Apr 09 2014 17:21
I was thinking of Using ActiveResource to get data from the Edmunds API and Ember for the responsive aspect. We don't have to use all of Ember, but in my experience it is very common for Rails shops to use a JavaScript framework like Ember, Backbone, or Angular. In my current job we use Angular, so its a good thing to know how it works with a Rails project. I think all the Business logic should be done in Rails not JavaScript, so authenticating a user, storing user choices, and the logic to decide what car to pick, whether its AHP or other. Does that sound good to you? I can work on the Ember part unless other people are interested since I want to get better at that.
In this project Ember would only be used to grab data from the Rails side and to sync up changes in the user data with Rails to give it that responsive feel.
Laura J. Unterguggenberger
@lauraeci
Apr 09 2014 17:29
Basically means everything you might have done in erb/html, css and JavaScript/JQuery, we'll do using Ember views, HandleBar templates, and css and whatever cool stuff Ember has to offer for front-end development.
Meredith Taylor-Tanaka
@mlttanaka
Apr 09 2014 19:07
Okay, I was totally confused when they started talking about routes and models. Since last night, I found some interesting tutorials about integrating Ember and Rails. If I have time, I'll go through them before the meetup. Also... I will be joining the meetup remotely this time as I'm recovering from pertussis of all things. Germs, ick.
Laura J. Unterguggenberger
@lauraeci
Apr 09 2014 20:24
Oh, sorry to hear that, germs definitely no fun, but I'm glad you can still make it. Post the tutorials here, I'm still trying to get a handle on Ember myself, its got a bit of a learning curve. I updated the app with some skeleton things that we might not need but at least it shows Ember is running, that's as far as I've gone in Ember haha.
Trying to get a bit more of the framework up before the meeting so we don't have to spend as much time on setup, and I finally got my Postgres installed so if anyone needs help with that.
There's a nice Chrome plugin to help debug Ember. I think JavaScript MVC's are a great toolset for Rails developers to know, most Rails jobs ask for some flavor of them, but its also good to know when not to use them too because some places use them when its overkill. Looking forward to the Hack Night tomorrow.