Create Entity Framework Mappings for tables using a wizard

It always feels exciting when you don’t have to do redundant work. I am currently looking at the best ways to create an ORM layer from an existing database without much overhead. Reading on Entity Framework, I like how easy it is to create the simple mapping classes for my tables. These classes can then

Read More

Understanding Context in Javascript

The ‘this’ keyword (also referred to as the context) in a javascript function is used heavily to access properties and methods that are defined within the same object. Code: function myObject(){ this.property1 = “Something”; this.alertProperty1 = function(){ alert(this.property1); } }; In the above code alertProperty1 function uses the this keyword to get the value of property1 which is defined

Read More

4 Amazing Chrome Hacks for Developers

In this age of rich and highly interactive web pages, cutting edge client side scripting skills are in high demand. All modern browsers provide a rich set of developer tools to aid us. I like Google Chrome the most. Here are some cool things that you can do with Chrome. And first off, if you

Read More

Is advanced payment from customer enough for idea validation

When it comes to customer validation, the idea of getting them to pay in advance is mostly touted as the best strategy. Some recommend putting out a landing page with a fake buy or sign up link. But if we actually talk the customer into making an upfront payment even before the product is ready,

Read More

Javascript: Add more functionality to an existing method of a javascript object

Let’s say we have a class with an existing method. var MyClass = function() { }; MyClass.prototype = { myMethod: function(parameter1) { console.log(‘called from original method ‘ + parameter1); }} We can create an instance of the class and call it’s method like this: var obj = new MyClass(); obj.myMethod(‘p’); >called from original method p

Read More

Script to install node on a Linux Box

The below list of commands can be put in a .sh file and run on the virtual box to install node: cd /opt sudo wget http://nodejs.org/dist/v0.12.2/node-v0.12.2.tar.gz sudo tar zxf node-v0.12.2.tar.gz cd node-v0.12.2 sudo ./configure –prefix=/usr/local sudo make sudo make install node -v Make sure the sh file has execute permissions before you attempt to run

Read More
1 2