Backbone.js frontend with RESTful Rails backend?

后端 未结 3 2092
温柔的废话
温柔的废话 2021-01-30 10:00

I started in the web development world with PHP, and then Rails in the recent few years. Since then I\'ve been doing all my web projects in Rails.

Recently there seems

3条回答
  •  轮回少年
    2021-01-30 10:31

    I did something like this a few years ago in .net. Is was not via proper .NET MVC and didn't use the new JS frameworks, but the principle was the same; server code returns JSON to javascript which builds the page and interactions etc.

    The result was a lovely responsive website, but, maintenance was a nightmare. Be very careful to keep your JS code well organised.

    Personally, I find it easier to maintain server code (in any language) than javascript so I wouldn't go down that route again.

    (IMHO)

    Fran

提交回复
热议问题