Contents tagged with JavaScript

  • Pub/Sub In Node.js Apps Using Azure Service Bus Topics

    In my previous post Building Distributed Node.js Apps with Azure Service Bus Queue, we have discussed how we can design distributed apps in Node.js by leveraging Microsoft Azure Service Bus Queues. Service Bus Queue provides brokered communication between apps regardless of whether hosted on Cloud or on-premises server. Service Bus Queue is designed for delivering the brokered messages to single consumer or an app. We can say that Service Bus Queue is providing a one-to-one communication infrastructure. But, in many scenarios, we may need to deliver the brokered messages to multiple consumers or apps, where we can use Azure Service Bus Topics and Subscriptions which provides a one-to-many communication with a publish/subscribe pattern. Service Bus Topics are built on the top of Service Bus Queues for working with publish/subscribe scenarios. In this post, I will take a look at Azure Service Bus Topics and Subscriptions for implementing publish/subscribe pattern in Node.js apps.

  • Single Page Application Demo With Hapi.js, AngularJS And Azure Table

    In my previous post Building an API in Node.js Using Hapi.js and Azure Table, we discussed about building an API in Node.js using Hapi.js as web development framework and Azure Table as the storage mechanism. This app has been updated with a Single Page Application (SPA) client, built with AngularJS. The updated app is available on github at https://github.com/shijuvar/HapiAzure.   

  • Building Distributed Node.js Apps with Azure Service Bus Queue

    In this blog post, I will take a look at Azure Service Bus Queue for building distributed apps in Node.js. Azure Service Bus Queues provides, a queue based, brokered messaging communication between apps, which lets developers build distributed apps on the Cloud and also for hybrid Cloud environments. Azure Service Bus Queue provides First In, First Out (FIFO) messaging infrastructure. Service Bus Queues can be leveraged for communicating between apps, whether the apps are hosted on the cloud or on-premises servers.

  • Node.js Tools for Visual Studio 2013 Beta Released

    A while ago, I had introduced Node.js Tools for Visual Studio for building a Node.js Web Site on Microsoft Azure. Last day,  Node.js Tools for Visual Studio team has released a beta version of Node.js Tools for Visual Studio, which provides an improved tooling experience than the previous version. You can download the latest version of Node.js Tools for Visual Studio from its CodePlex site.

  • Gulp.js : A Better Alternative to Grunt.js

    Recently, we have started a single page application (SPA) demo in github with AngularJS. When we start this project, my plan was to use Grunt.js for task automation. But later, I have observed that there is a new framework named Gulp.js, that provides more cleaner and elegant syntax, which is easy to read and easy to write comparing to Grunt.js. Then I have evaluated the framework and really impressed with Gulp.js. Now I highly recommend Gulp.js over Grunt.js mainly due to its cleaner syntax.

  • Demo SPA App for ASP.NET Web API 2 and AngularJS

    In my previous post, I have announced SocialGoal, a reference web app for ASP.NET MVC 5 and EF 6 Code First. Today, I am announce the release of a demo single page application (SPA) for ASP.NET Web API 2 and AngularJS, developed by my team at Marlabs. The application is published on github at https://github.com/MarlabsInc/webapi-angularjs-spa. A release note is available in the docs folder of the project repository. The current version is an early first drop of the application, which we will continuously refactor, and later we will provide guidance for developing real-world client-side JavaScript apps and SPAs, including unit testing, task automation and performance optimizations.

  • A Simple CRUD Demo with Koa.js

    In my previous blog post, I have introduced Koa.js, a new framework building Node.js apps, by leveraging harmony (ECMAScript 6) features of JavaScript. In this blog post, I will demonstrate how to write a web app in Koa.js with basic CRUD functionalities. The source code of the demo web app is available on Github. For the sake of the demo, the web app uses an array object as a data store for persistence, but the demo app will be re-write with MongoDB as a persistence storage and will be update on Github. The demo web app uses the following npm modules:

  • Koa.js : Next Generation Web Framework for Building Node.js Apps Without Callback Hell

    I have been following the Node.js platform since 2011 and had been observed that it was difficult to maintain full-fledged web apps on the production servers, mainly due to the lack of error handling capabilities with callback hells. I have been recommending Node.js for building REST APIs and mobile backends and had been feared about developing complex web apps on the production environments.  I have been using Express.js as an application framework building apps, and at the same time, I was looking for a better web application framework. Last year, I had evaluated DerbyJS and MeteorJS. I was bit interested on DerbyJS last year, but the pace of the development of Derby framework was not good. But last month, I have super excited after the initial release of Koa.js. Initially, the most interesting fact was the team behind the framework. Koa was developed by the same time who has created the most popular Node.js framework, Express. TJ Holowaychuk, who is the most prolific author of Node.js modules, is leading the Koa project.