GithubHelp home page GithubHelp logo

geek-nodejs's Introduction

  • Former Node.js developer in Tencent Video.
  • Former Developer in Wechat Minigame
  • Former maintainer of Tencent/puerts

  • 前腾讯视频Node.js开发
  • 前微信开放平台工程师(小游戏)
  • Tencent/puerts维护人。

geek-nodejs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

geek-nodejs's Issues

questions in chatper3

以下问题希望能得到老师解答,谢谢

  1. \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()的入力参数应该也是不需要的,所以直接换成()吧?

  2. 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却会被后来的
    设定覆盖)

question

老师您好,用node做纯后端的业务开发,在课程中似乎并没有提到。是因为不太会用node做纯后端的服务吗?通常在比如您这样体量的公司中node更多的是做什么业务呢?仅是ssr相关吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.