{"id":21,"date":"2014-03-17T11:13:56","date_gmt":"2014-03-17T11:13:56","guid":{"rendered":"http:\/\/blog.catalystlogic.com.au\/?p=21"},"modified":"2014-03-17T11:13:56","modified_gmt":"2014-03-17T11:13:56","slug":"node-js-to-the-cloud-and-back","status":"publish","type":"post","link":"http:\/\/54.253.247.134\/?p=21","title":{"rendered":"Node.js, to the cloud and back"},"content":{"rendered":"<p>With some basic tutorials under my belt, I decided to see what cloud offered in term of node.js IDE's.<\/p>\n<p>The <a href=\"https:\/\/c9.io\/site\/node-js\/\u200e\">Cloud 9 node.js IDE<\/a> was my first stop, and I have to say, unlike Sublime Text with a suite of plugins, it did not leave me wearing, though I admit it's not exactly fair to compare an extensible text editor to a IDE.<\/p>\n<p>While I still have much I want to try, my next investigation was into running node.js locally.<\/p>\n<p><a href=\"https:\/\/github.com\/nodejitsu\/forever\">Forever <\/a>was the first on my radar, which persists a running node script over server and and restarts. <a href=\"http:\/\/devo.ps\/blog\/2013\/06\/26\/goodbye-node-forever-hello-pm2.html\">Devo.ps blog<\/a>\u00a0on their preference of <a href=\"https:\/\/github.com\/Unitech\/pm2\">PM2<\/a>\u00a0then caught my attention. PM2 also offers cluster load balancing, JSON configs and few production level features has taken over in popularity.<\/p>\n<p>I then came across a blog post I that, as a node newbie, I found quite useful,\u00a0<a href=\"https:\/\/medium.com\/tech-talk\/e7c0b0e5ce3c\">7 tips for a Node.js padawan<\/a>\u00a0by\u00a0<a title=\"Go to the profile of Faisal Abid\" href=\"https:\/\/medium.com\/@FaisalAbid\">Faisal Abid<\/a>. Its recommendation to use\u00a0<a href=\"https:\/\/github.com\/remy\/nodemon\">nodemon\u00a0<\/a>for dev, and PM2 for production made a lot of sense, especially since\u00a0<a href=\"https:\/\/github.com\/Unitech\/pm2\/issues\/6\">PM2 is not design for windows use<\/a>, time to dust off the LMDE server I usually reserve for Android ROM work.<\/p>\n<p>My next search, being the visual guy I am, I was looking for an all in one local web dashboard, process monitoring, server management &amp; performance monitoring app.\u00a0<a href=\"http:\/\/stackoverflow.com\/a\/12607592\/1460204\">This stackoverflow answer<\/a>, resulted in the context switch I needed from my IIS heavy background to the lightweight node.js space. What I need is not a monitoring app, but a node.js script, or a plugin or two to run on a second port, which monitors the first, as well as Finally, PM2 or whatever else i'd like to keep an eye on.<\/p>\n<p>There also seems to be quite a market for node monitoring apps, such as <a href=\"http:\/\/nodetime.com\/\">nodetime <\/a>and <a href=\"http:\/\/strongloop.com\/node-js-performance\/strongops\/\">strongops<\/a>, let alone what the cloud hosting apps themselves offer. Seems as though I am putting the cart before the horse, as I would suspect it best to rule out if an app would use cloud hosting before trying to reinvent the wheel in term of monitoring.<\/p>\n<p>With that small exploratory tangent into the node.js space complete, it's back to Cloud 9 until I get a chance to compare it to <a href=\"https:\/\/codenvy.com\/\">Codeenvy<\/a>, <a href=\"https:\/\/compilr.com\/\">Compilr<\/a>,\u00a0<a href=\"https:\/\/koding.com\/\">Koding<\/a>, and whatever else enters this rapidly growing space between now and then.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With some basic tutorials under my belt, I decided to see what cloud offered in term of node.js IDE's. The Cloud 9 node.js IDE was my first stop, and I have to say, unlike Sublime Text with a suite of plugins, it did not leave me wearing, though I admit it's not exactly fair to <a class=\"read-more\" href=\"http:\/\/54.253.247.134\/?p=21\">...continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-node-js"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/54.253.247.134\/index.php?rest_route=\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/54.253.247.134\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/54.253.247.134\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/54.253.247.134\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/54.253.247.134\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21"}],"version-history":[{"count":0,"href":"http:\/\/54.253.247.134\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions"}],"wp:attachment":[{"href":"http:\/\/54.253.247.134\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/54.253.247.134\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/54.253.247.134\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}