mercredi 26 octobre 2016

Rails back-end + Ember front-end

I want to use ember+rails hybrid.I have made a toy app, which using rails seeds for now.But i want some CRUD action.I know both frameworks have their own CRUD but i want to use rails CRUD.

Can i use rails routesi and link_to helpers, instead of this below;

<a href>Home</a>
<a href>About</a>
<a href>Contact</a>

How do i do this?

And as for forms, do they have to be html forms? (can i use simple_form or form_for?)

Can i use ember only for replacement for rails views? (i mean, without logic, i want to keep all logic in rails.)

Plese inform me.




Aucun commentaire:

Enregistrer un commentaire