geek-nodejs's People
Forkers
super-ps cocytus1223 492076932 si3ver pointmountain remote-version-git web3fans lightyourfire kaiencyo andycdp manheiba gzbang composur yujiansheng sumbykb summerboys geektime-geekbang zzzzed dhcai anyer rowin90 youling4438 zxhycxq lebang xutaogit robert0609 fantasticperson frankwang0909 guohaijia yangyj061 sam0212 diudio keeplearningandtrying crackercat dobelldan fork-lab christineyin changsongyang candy-bullet hhy5277 zouyifeng 1391020381 youcongcong wangjinyan11 weichengfu leiwng thomas-void0geek-nodejs's Issues
question
老师您好,用node做纯后端的业务开发,在课程中似乎并没有提到。是因为不太会用node做纯后端的服务吗?通常在比如您这样体量的公司中node更多的是做什么业务呢?仅是ssr相关吗?
questions in chatper3
以下问题希望能得到老师解答,谢谢
-
\chapter3\4.list\node\template.js
第十行:`(function render(template) {
其中template参数并未得到使用,所以直接function render()就可以了吧?
第18~20行:
(function (relativePath, data) {
return createTemplate(path.dirname(templatePath) + '/' + relativePath)(data);
}) --------这段代码作为render()的入力参数应该也是不需要的,所以直接换成()吧? -
chapter5中对于应用的分层解耦,感觉还不够完善。
比如,有http和geek-rpc.js两种最基本的请求协议。在应用初始化时被加载。
但是它和data数据源只能是一对一的关系,比如在data中如果有两个http请求的数据源,分别对
应不同的IP地址。那么在compile http的requestor时会设置的ip地址,那么后设置的ip地址就会
覆盖之前设置的ip地址。两个请求会发往同一个ip地址,造成必有一个失败。(因为两个http请
求都用一个http请求器,虽然数据源的config彼此独立,在request-factory.js不会互相影响,但
requestor的complie方法中被设定的对象如http的url和geek-rpc的schemas,easysock却会被后来的
设定覆盖)
some page of Chapter3 might have an error
The page of chapter3 named "detail" can't work as the other page in this directory.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.