nodejs必須要靠中間件嗎
3 回答

PIPIONE
TA貢獻1829條經(jīng)驗 獲得超9個贊
三層:
瀏覽器,需要一些數(shù)據(jù)
node.js中間層,和Java的多個接口通信,給瀏覽器暴露一個接口
Java,有很多個接口來提供這些數(shù)據(jù)
這樣子node.js基本就是個萬金油的東西,負責轉(zhuǎn)換數(shù)據(jù)啊,合并接口啊等等

鳳凰求蠱
TA貢獻1825條經(jīng)驗 獲得超4個贊
npm install handlebars --s
npm install express --s
Then you can use handlebars as a front-end template and express as the server
- 3 回答
- 0 關(guān)注
- 839 瀏覽
添加回答
舉報
0/150
提交
取消