yay!
seen from Finland
seen from Ireland
seen from Maldives
seen from United States
seen from United Kingdom

seen from China

seen from China

seen from Ireland

seen from United Kingdom
seen from Malaysia
seen from Indonesia
seen from United States

seen from Malaysia

seen from Malaysia

seen from China
seen from United States

seen from United States

seen from United Kingdom
seen from India
seen from India
yay!

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Node.js, io.js 중 어떤 걸 써야할까?
노드에 관심이 있다면 최근 몇달간 벌어진 일련의 사건들을 통해 노드의 핵심 개발자들이 노드를 포크하고 새로운 커뮤니티를 구성하고 새로운 후원을 받으며 미래를 위해 노드를 흡수하는 듯한 모습을 기억할 것이다.
노드 생태계에 큰 비중을 담당하는 StrongLoop 에서 어떤 버전의 노드를 사용해야 할지 제안한 가이드를 요약했다.
현재 Node.js 와 io.js 의 진행 상태
Node.js 의 도메인은 리눅스 파운데이션으로 귀속되었다. 웹사이트 워킹 그룹이 새로 추가 되어 새로운 사이트를 선보이고 있다.
테크니컬 스티어링 커미티(TSC) 가 구성되어 두 프로젝트를 관리한다. TSC 는 매주 수요일 미팅을 가지며 회의 내용은 녹화되고 공개된다.
최근 StrongLoop 에서 추천하는 노드와 주의해야하는 버전이 있다면?
확실한 안정성을 원할 경우에는 v0.10 의 노드를 사용하길 바란다. 이 버전은 1년 이상 패치가 이루어지고 있다.
현재 안정 버전은 v0.12 다. 새로운 프로젝트를 시작한다면 이 버전을 추천한다.
대부분의 생태계가 0.12 를 지원한다. 0.10 에서 업그레이드 하기도 쉽다.
새로 추가된 많은 기능들이 있다. (아래의 내용들이 소개되고 있다.)
클러스터 라운드-로빈 로드 밸런싱
퍼포먼스 개선
단일 프로세스에서 다중 인스턴스 실행
동기화된 차일드 프로세스 API
노드 인스펙터를 통해 클러스터링 된 앱 디버깅
넌 블로킹 API 개선
노드 0.12 의 개선되는 API
노드 0.12 의 변경되는 C++ API
노드 0.12 의 쉘 프로그래밍
Node.js 와 io.js 는 머지 과정 중에 있다. 올 가을 쯤 통합된 안정 버전을 릴리즈 할 계획이다.
장기 지원 버전이 준비되고 있다.(LTS 버전)
io.js 는 혁신적인 개선 사항을 담고 있다. 최신 기능을 접하고 싶다면 사용해 보길 권한다.
최신 V8 엔진에 대응하는 빠른 릴리즈
그만큼 빠른 버그 픽스와 개선
적어도 3주에 한 번씩 릴리즈 되고 있다.
io.js 에 도입되고 있는 흥미로운 기술들
Multi-Isolate (웹워커 관련)
개선된 http-parser
컴파일 하지 않아도 사용 가능한 웹소켓
harmony 플래그 없이 사용 가능한 ES6 스펙
TypedArray 를 기반으로 하는 버퍼
io.js 의 많은 기능들은 위원회의 결정에 따라 Node.js 에 적용될 예정이다.
Docker + Strongloop + Node
// ______ _______ _______ _ _______ _______ // ( __ \ ( ___ )( ____ \| \ /\( ____ \( ____ ) // | ( \ )| ( ) || ( \/| \ / /| ( \/| ( )| // | | ) || | | || | | (_/ / | (__ | (____)| // | | | || | | || | | _ ( | __) | __) // | | ) || | | || | | ( \ \ | ( | (\ ( // | (__/ )| (___) || (____/\| / \ \| (____/\| ) \ \__ // (______/ (_______)(_______/|_/ \/(_______/|/ \__/ // // _______ _________ _______ _______ _ _______ // ( ____ \\__ __/( ____ )( ___ )( ( /|( ____ \ // | ( \/ ) ( | ( )|| ( ) || \ ( || ( \/ // | (_____ | | | (____)|| | | || \ | || | // (_____ ) | | | __)| | | || (\ \) || | ____ // ) | | | | (\ ( | | | || | \ || | \_ ) // /\____) | | | | ) \ \__| (___) || ) \ || (___) | // \_______) )_( |/ \__/(_______)|/ )_)(_______) // // _ _______ _______ _______ // ( \ ( ___ )( ___ )( ____ ) // | ( | ( ) || ( ) || ( )| // | | | | | || | | || (____)| // | | | | | || | | || _____) // | | | | | || | | || ( // | (____/\| (___) || (___) || ) // (_______/(_______)(_______)|/ // // _ _______ ______ _______ // ( ( /|( ___ )( __ \ ( ____ \ // | \ ( || ( ) || ( \ )| ( \/ // | \ | || | | || | ) || (__ // | (\ \) || | | || | | || __) // | | \ || | | || | ) || ( // | ) \ || (___) || (__/ )| (____/\ // |/ )_)(_______)(______/ (_______/ //
Strongloop loopback swift example

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Using server-side templates in Loopback.io
Loopback is a Node.js framework built on top of Express.js. Its primary focus is to help build and manage API's quickly and easily, by providing a set of useful and intuitive tools.
While Loopback provides you with a strong, mature framework to build your API’s, it also shows a lot of flexibility when it comes to implementing the interface of your web application: You can easily build a single-page app by using the built-in Angular SDK which populates all service methods for you, or you can implement a server-side templating engine. You can accomplish the latter easily by leveraging the power of Express and its long-time ally, Consolidate.js. Consolidate.js is a library that enables support for over 30 different templating engines in your Express applications.
Today, we will learn how to configure this easily in our Loopback application. You can find the complete solution on our Github.
Prerequisites
This tutorial assumes that:
You have Node.js ( or io.js ) installed
You have the Strongloop CLI installed ( npm install -g strongloop )
A basic Loopback project generated with slc loopback
Getting The Goods
First, let's install the necessary npm modules. We will need to install Consolidate.js along with a templating engine of our choice. For the purpose of this tutorial, we will be using Swig. Install them by typing the following command in your terminal at the root of your Loopback project:
npm install consolidate swig --save
Configuring Your App
To setup the templating engine in our app, we simply proceeed as we will do in any other Express-based applications. Open server/server.js, and type the following:
// import the consolidate.js module var consolidate = require('consolidate'); // define the templating engine app.engine('html', consolidate.swig); app.set('view engine', 'html'); // set the folder where templates can be found app.set('views', __dirname + '/views');
Now, create a views folder in the server folder of your application. This is where we will place our Swig templates.
Creating your first template and rendering it
Let's create a very simple template for the purpose of this tutorial. Swig is a very powerful templating engine; if you are not familiar with it, we invite you to read the documentation to explore the various options. Create a file called index.html in the views folder, and add this content:
<!DOCTYPE html> <html> <head> <title>{{pageTitle}}</title> </head> <body> <h1>Hello, Loopback.io!</h1> <p>Server-side rendering is:</p> <ul> {% for reason in reasons %} <li>{{reason}}</li> {% endfor %} </ul> </body> </html>
Now let's update the default route to render this template. Open server/boot/root.js, and replace the current route:
router.get('/', server.loopback.status());
with this code:
router.get('/', function(req, res) { res.render('index', { pageTitle: 'Loopback.io tutorials', reasons: [ 'faster', 'more secure' ] }); });
Finally, we can run our application by typing slc run at the root of your project, and open http://localhost:3000/ to see the results! Of course, this technique can be applied to any templating engine of your choice.
We hope you found this tutorial useful; please let us know what you would like us to cover in the upcoming articles by reaching out to us on twitter: @shortwavapp
(30 hackdays day 30) StrongLoop - Javascript全栈框架
(30 hackdays day 30) StrongLoop – Javascript全栈框架
StrongLoop是一个基于Nodejs的强大框架,几乎包含了移动开发全栈所需要的所有功能。2013年成立,很少的员工,一个技术驱动,执行力强大的团队。也是在13年我开始接触StrongLoop,当时是为了做nodejs方面的技术选型,看了许多框架,LoopBack是我觉得最酷的一个。我还记得当时是觉得LoopBack的文档太差(主要是跟在线的版本不一样),不知道能活多久所以才放弃了它。时隔一年回来看到这个绿油油的框架,这一年可真是突飞猛进呢。
全栈框架StrongLoop
StrongLoop基本提供了制作一个移动产品所有的框架和工具,从标准的Backend server,Devops,应用监控,。要想介绍完全StrongLoop的所有产品得写一个长篇连载了,这里只简单的浏览一遍。
LoopBack 一个功能很强大的WebServer框架,隐约看到Spring的影子…
SDK 这是…
View On WordPress
Quick rest api built using loopback Node.js framework
Developing rest API is breeze now using StrongLoop's Loopback and Webstorm 9.
Assuming you have node.js and npm are installed already on your mac.
Create new Webstorm 9 empty project
Go to View > Tool Windows > Terminal
Type following commands
1. Install Strongloop
$ npm install -g strongloop
$ npm install -g strong-studio
2. Bootstrap loopback app
$ slc loopback
Enter key twice to answer default app name and location to bootstrap.
After it complete,
$ strong-studio
It opens Studio in web browser where you can create new models and setup database connection to mongodb.
$ slc run
This command starts the node server where you can check generated API with nicely formatted API documentation.
Browse your REST API at http://0.0.0.0:3000/explorer Web server listening at: http://0.0.0.0:3000/