javascript - Effective ways how to get data from the server -
building webapp , have troubles deciding how data server.
on frontend have angularjs , html. on backend have nodejs, mongodb, mongoose , express. templating engine user jade.
now, best way fill templates? getting data on server while loading partial or load data through angularjs using $http?
looking effective , fastest way. thoughts?
i'll suggest separate things bit. keep backend independent , create rest api provides data. once done may use http request access data. following approach later able use other frameworks or other languages information stored database.
Comments
Post a Comment