Performance Comparison Between Node.js and Java EE For Reading JSON Data from CouchDB

Originally posted on Shine Technologies:

Nodejs

Node.js has impressed me several times with high performance right out of the box. In my last Node.js project it was the same: we beat the given performance targets without having to tweak the application at all. I never really experienced this in Java EE projects. Granted the project was perfectly suited for Node.js: a small project centered around fetching JSON documents from CouchDB. Still I wanted to know: how would Java EE compare to Node.js in this particular case? 

View original 1,083 more words

Developing a mobile app with Phonegap, AngularJS and ExpressJS Part I

Originally posted on The Technological African:

As a side project, I have embarked lately on the task of developing a mobile application with what ended up using Phonegap, AngularJS and ExpressJS. The gist of the application is to allow users to sign up and be able to share financial tips. I will document my journey along for others who are thinking of travelling down the same road, starting with my choice of technologies, this being my first attempt at building up the whole architecture from the ground up and since I am a front end developer and I wanted to leverage that experience to build a mobile app instead of going native.

Why PhoneGap and AngularJS and not Sencha Touch or Titanium?

When deciding on the initial approach to building the app, I initially thought about using Sencha Touch. I had tried Titanium before but had found it unwieldy although I like the whole…

View original 1,162 more words

How to install Mongo db on php

Originally posted on Data Integrated Entity:

In this tutorial I’m going to show you how you can install the Mongo DB extension on php. But first, let me give you a simple introduction on what Mongo DB is. Mongo DB is a NO SQL database, which means Not Only Standard Query Language. Here’s a list of NO SQL databases:

http://nosql-database.org/

So what’s the advantage of Mongo DB over MySQL or other databases which uses SQL? Here’s the introduction of Mongo DB:

http://www.mongodb.org/display/DOCS/Introduction

And here’s a summary in case you’re feeling lazy today:

  • Document-oriented
  • High Performance
  • High availability
  • Easy Scalability
  • Rich query Language

Well, I’m not that expert at explaining things. And the main purpose of this article is to show you how to install Mongo DB, so I guess a simple outline will do. And yeah, you’re lazy today so you won’t really be reading this part and have gone ahead with the installation.

Requirements

  • Wampserver

View original 575 more words

How to create a simple CRUD application using Mongo db and php

Originally posted on Data Integrated Entity:

In this tutorial I’m going to show you how to create a simple crud application using Mongo DB and php. If you want to know how to install Mongo DB, visit the link below:

How to install Mongo DB on php

Configuration File
First you’re going to need to create a database configuration file which connects to your Mongo DB. Just like in MySQL, we also make use of a configuration file that we will just include on the files where we are going to need to query the database. This is to save time and avoid repeating of code.

<?php
$conn = new Mongo();
$db = $conn->test;
$collection = $db->people;
?>

Let me break down the code for you:

  • $conn = new Mongo() – this initializes the Mongo DB class which contains all the methods which you can use to manipulate data in mongo DB through php.
  • $db =…

View original 1,005 more words

Featured Image -- 379

StrongLoop Raises $8M For Mobile App Platform Built On Node.js

Originally posted on TechCrunch:

StrongLoop has raised $8 million in Series A funding for its backend-as-a-service (MBaaS) that uses Node.js as a platform for developing mobile apps in the cloud or in the data center. The funding came from Shasta Ventures and Ignition Partners, bringing StrongLoop’s total funding to $9 million.

The company provides a mobile API tier as a way for developers to get access to backend data for their apps. New CEO Isaac Roth, a former Red Hat executive who helped spearhead OpenShift,  the company’s platform-as-a-service, says the company is seeking to bridge mobile to the enterprise as much as the web was connected to corporate backend environments through the browser.

With the funding, StrongLoop is launching LoopBack, an MBaaS that is available on Amazon Web Services, Rackspace, Cloud Foundry, Heroku, Red Hat OpenShift and Cloud9 IDE, an online platform for development. Built on Node.js, LoopBack abstracts the complexity of backend integrations. With…

View original 199 more words

Developing ASP.NET Web Applications for Windows Phone 7

Originally posted on Roopesh Reddy's Web Space:

Let me start this blog post with Congratulating Microsoft, for Windows Phone 7. I bought Windows Phone (HTC HD7) one month back, and it was amazing device. Since I’m a ASP.NET Web application developer and eager to develop web applications for Windows Phone 7.  

Developing ASP.NET Web application and testing those is pretty simple. Thanks to Microsoft once again, for providing free Visual Studio Express 2010 for Windows Phone absolutely free, which includes Windows Phone 7 emulator.

You can download Visual Studio Express 2010 for Windows Phone from this link.

Let us start writing a simple web application, which targets the Windows Phone 7. As usual, start Visual Studio 2008/2010, and create a ASP.NET website project, and add simple text as shown below.

image

Deploy the Web application to the local IIS Server, then try to access  web application in Windows Phone emulator, which I got with Visual…

View original 167 more words