Mongoose with ES6 classes

Mongoose is a great way to handle your database connection and model your data without having to worry about performing your own validation and so on. However I found it quite hard to find an example of Mongoose in action with the database connection not… Read more



Javascript-ES6-ECMAScript6-ES2015 - 前端近些年发展很快,作为前端技术的核心支撑JS也从ES5过渡到了ES6,强有力的推进了前端的发展。作为一名前端从业人员学习掌握ES6是必不可少的一项技能。本项目对自己项目中运用过的ES6语法知识给予介绍,并给出大量简洁易懂的示例代码,对于初学者来说敲过本项目中的代码,基本就入门ES6了,再在实际中运用所学知识、补充不足,... (more…)

Read more »

5 New ES6 Features in Node.js LTS

A couple of weeks ago, Node.js released its latest LTS: version 6.9.0. I realized this was the case because one of our services broke. It used the nodejs:lts image and got upgraded by mistake....

Read more »

ES6 Generators Deliver Go Style Concurrency

Last night I expressed some frustration about the state and future of concurrency in JavaScript. I ended up having a little bit of back and forth with David Herman and he pointed out that ES6 Generators can express Go and core.async's flavor of CSP. Now I... (more…)

Read more »