ruanjiayou / project Goto Github PK
View Code? Open in Web Editor NEWa new project template.fast development.创建一个新工程的模板.快速开发
a new project template.fast development.创建一个新工程的模板.快速开发
这要求不使用箭头函数
handle.call(app, req, res, next)
这样routes里就可以直接使用models和blls无需再require
the sequence of router's auto-loader is confused.
1.app.js定义 server.run()方法
2.run.js自学server.run()方法
3.dev/product 场景 运行run.js
4.test 场景运行app.js,在mocha测试文件的before中执行run()方法
解决方法: 使用cross-env
present.js
when use models.model.findAll(),results don't have rows attribute.
process.env.PWD是window独有的,而process.cwd(),在window/Linux都可以
1.读取本地基本配置
2.引入models和blls
3.run()中通过models获取config表所有配置
4.bll类中可以使用所有配置, new BLL()
因为app可以get('models'),get('blls');models.app和blls.app 都是相互引用
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.