Technical info.

Saturday, August 22, 2015

Node.js tutorial 3 - Let's start Node.js with Visual studio

Previous topic
Node.js turorial 1 : Node.js install on windows
Node.js tutorial 2 - Visual studio community 2015 for Node.js


If you already install the Node.js tools for visual studio, you can see the following templates when you select "new project" in visual studio.


I usually select "Blank Node.js Web application" template for node.js project.

If you are creating the project, let's run the template application. Template application is the web server which display "hello world" in the page.

If you want to change the browser, change it and clink play button (Red box in following picture)




Wow. it's your first Node.js web server!!!

Let's do it more. learn how to use breakpoint and tracepoint. those are the reason I use visual studio for Node.js.

Use breakpoint

Add breakpoint at lien 5. clink right mouse button at line 5 and choose "Insert Breakpoint".



and then, run this application. you can see the process is stopped at line 5 and there's no message in the chrome browser because it's stopped just before print out the "Hello world message". If you are using variables in your application you can watch the variables at this time. If you click "Continue" button twice, you can see the "Hello World" message in Chrome. (It runs twice, that's why we should clink twice)


Use Tracepoint

To see what's the tracepoint, let's try to set tracepoint at line 5. you can write the message which is printed out in output message windows when this line is running.
I set "print "Hello world"" in this test. you can add some variables and functions.



you can see the following messages in output windows.

Those two functions, breakpoint and trancepoint are the reason why I use visual studio for Node.js and other javascript language.

Monday, August 17, 2015

Node.js tutorial 2 - Visual studio community 2015 for Node.js

Previous topic
Node.js turorial 1 : Node.js install on windows

Actually, text editor and web browser are the developing tools for Node.js and Sublime text is one of the popular text editor to develop HTML5 and javascript.

Sublime text is powerful and convenient text editor and I used it before but now I want to change it to visual studio. I was told that visual studio is free software and I want to use this kind of development IDE tools for node.js.

To use visual studio for Node.js. please follow the steps.

Step 1) Install Visual studio Community (Free)

Visit Visual studio page and download Visual studio community.
Install it on your machine.

Step 2) Install Node.js tools for visual studio

To use Node.js on visual studio, this tools are very essential and useful. you can use node.js templates once you install this tool.

Download and install through this site

Step 3) Install Grunt launcher for visual studio.

Grunt, bower and gulp are the tools we should use to develop Node.js. you'd better off installing this tool before you learn what's Grunt, bower and gulp.

Download and install through this site

Step 4) Install Git for windows.

To do version control I want to use the git for windows.
Install it through git for windows official web page

Step 5) Let's start to learn Node.js with Visual studio!!!


Sunday, August 16, 2015

Node.js turorial 1 : Node.js install on windows

I want to install Node.js on my windows machine to learn node.js and Angular.js.
This is the first step to make my web application and server.

Node.js is an runtime environment for server-side and networking application. it uses javascript and support a lot of modules through NPM.



Visit Node.js official page and install Node.js [Link]
 I think you can easily download the Node.js in this site and get many information about Node.js.


The next step is install developing tools.
To be continued.



Sunday, August 2, 2015

If you are still don't know what IoT is, please visit this web page.

I found the interesting web site which have basics of IoT. I believe if you visit this page, you can fully understand what IoT is.
Please check this site for learning IoT.

internet-of-things-resources


Sunday, May 17, 2015

ARTIK - Samsung's IoT platform

Samsung launches their own IoT platform which has HW modules and SW developer kit.
ARTIK has three HW modules and all has CPU, memory, HW security and connectivity.


Application for alpha developer kit is opening now. if you want to make your own project using ARTIK, visit following site and apply for it. This program will be closed on May 31th, 2015.
Application for alpha developer kit

Official ARTIK page

Sunday, April 19, 2015

What is the IoE (Internet of Everything)

Have you ever heard about IoE? ABI reported that IoE integrate IoT with IoD(Internet of Digital) and IoH (Internet of Human). If you don't understand the difference, please visit following web page.

[IoE from ABI research]
[Inforgraphic about IoE]

#IoE, #IoT, #IoD, #IoD, #ABI research

Tuesday, April 14, 2015

Intel IoT developer kit v1.0

I found that Intel release IoT developer kit v1.0 on February and it support Galileo and Edison boards.


Now, Intel Edison and Galileo are not famous on IoT platform than Raspberry-pi and Arduino but I hope those this developer kit will make the Intel boards most famous boards on IoT field.

#intel, #ioT, #developerkit
[Go to intel IoT developer kit homepage]