javascript - Meteor js: separating front end from back end -
so whole point of meteor js
allow user code whole stack @ once, if working on 1 of older frameworks django
, borrow front end code meteor js
? example, front end syncing of database, templating, or how meteor handles events template, etc.
is there way extract meteor js
front end code used in framework?
no, there's no such method. whole point of meteor (well, 1 of key points @ least) have 1 framework works both on front end , end. way don't have write 2 separate logic layers, nor additional layer communication between them. it's big advantage.
that said, theoretically use meteor front end django end, provided talk server manually ajax , wrap data own reactivity. however, you'll end rewriting large part of meteor yourself. it'll easier either rewrite old django code in meteor, or use dedicated front-end framework backbone.
Comments
Post a Comment