上一页 1 ··· 439 440 441 442 443 444 445 446 447 ··· 499 下一页
摘要: hapi does not support serving static files out of the box. Instead it relies on a module called Inert. This lesson will cover serving static files usi 阅读全文
posted @ 2016-02-28 21:22 Zhentiw 阅读(420) 评论(0) 推荐(0)
摘要: When you use reply method: let resp = reply('hello world') It actually return an response object. By using response object, you can modiy the response 阅读全文
posted @ 2016-02-28 21:07 Zhentiw 阅读(423) 评论(0) 推荐(0)
摘要: hapi's reply interface is one of it's most powerful features. It's smart enough to detect and serialize objects, buffers, promises and even streams. T 阅读全文
posted @ 2016-02-28 03:38 Zhentiw 阅读(432) 评论(0) 推荐(0)
摘要: Routing is a fundamental aspect of any framework. In this lesson, you'll learn how to use path parameters in hapi's router. We'll also touch on how th 阅读全文
posted @ 2016-02-28 03:27 Zhentiw 阅读(664) 评论(0) 推荐(0)
摘要: hapi doesn't ship with logging support baked in. Luckily, hapi's rich plugin ecosystem includes everything needed to configure logging for your applic 阅读全文
posted @ 2016-02-28 02:58 Zhentiw 阅读(495) 评论(0) 推荐(0)
摘要: hapi is a rock solid server framework for Node.js. Its focus on modularity and configuration-over-convention makes it the perfect match for any size d 阅读全文
posted @ 2016-02-27 17:04 Zhentiw 阅读(238) 评论(0) 推荐(0)
摘要: function getCompiledElement() { $scope.chart = { additional: "$ 1.56 / per minute", text: "phoneCard.voice", total: 250, unit: "MIN", used: 127 }; con 阅读全文
posted @ 2016-02-26 17:59 Zhentiw 阅读(203) 评论(0) 推荐(0)
摘要: While Immutable.js offers .is() to confirm value equality between iterables it comes at the cost of referencing each key and value in both objects. Fo 阅读全文
posted @ 2016-02-26 02:43 Zhentiw 阅读(251) 评论(0) 推荐(0)
摘要: Check the page:http://www.cssarrowplease.com/ In HTML: {{type}} is tow way binding in Angular, three types: text, data, voice <div class="chart-area { 阅读全文
posted @ 2016-02-26 02:14 Zhentiw 阅读(275) 评论(0) 推荐(0)
摘要: Sometimes, the helper methods that RxJS ships with such as fromEvent, fromPromise etc don't always provide the exact values you want & you end up havi 阅读全文
posted @ 2016-02-25 15:50 Zhentiw 阅读(360) 评论(0) 推荐(0)
上一页 1 ··· 439 440 441 442 443 444 445 446 447 ··· 499 下一页