Ask A Question

Notifications

You’re not receiving notifications from this thread.

Backend and Frontend co-operation

Michael Victor asked in General

In our rails applications, I generally work on the backend (models and controllers) while another developer focuses on the (Views + JS magic).

Generally he gets all the fields available from a model by looking at the schema.rb file, methods in the models or by asking me specifically for something.

Is there something more structured that we can use to co-operate?

Reply

That's a really great question. Personally, I like to either record example urls and JSON that the frontend devs can work with or I'll give them example code that works already that they can modify. It all kind of depends on the situation and what we're trying to accomplish. A lot of times we'll pair programming at that point to hand make sure we're both on the same page and the integration can work well between the two.

What issues are you guys running into with your approach?

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,563+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.