TypeScript Language Features

Ts
Optional Static Typed TypeScript is a typed superset of JavaScript. However it is optional.  So to be specific , TypeScript has optional static type annotation, which will in turn transform JavaScript into a strongly typed programming language. This typing is applicable to variables, functions and properties.  The objective is to provide better verification and assistance (such as IntelliSense) during software development. Moreover Strong Typing will allow programmers to express his intentions... more →
Posted in: Programming

TypeScript Design Goals and Components

Ts
Type Script Design Goals TypeScript is designed and developed by Microsoft. Following are some of the design goals behind TypeScript Strongly Typed Programming Language As JavaScript is not strongly typed it cannot prevent potential run time errors.  A strongly typed programming language and perform static type checking at compile time can prevent these potential run time errors. High Compatibility TypeScript is highly compatible with existing JavaScript code. It is designed as a super set... more →
Posted in: Programming

GAE: TidBits on Security

GAE
TidBits on Security web.xml can be use to define security for an application. security-constraint section is used to define constraints. The following XML is used to prevent /prefs from accessing without user login <pre> <security-constraint> <web-resource-collection> <web-resource-name>prefs</web-resource-name> <url-pattern>/prefs</url-pattern> </web-resource-collection> <auth-constraint> <role-name>*</role-name> </auth-constraint> </security-constraint> </pre> A... more →
Posted in: GAE

GAE : Tidbits on datastore

GAE
Google App Engine Datastore Datastore is used to store Entities. Entities belong to a Kind, which is used to group related entities. Kind  is like a Table in relation database Entity is like a row in relational database. Each Entity has a Key which is unique across all entities. General components of a Key :  {Name of the Kind} + {App assigned String or a number} How a Key is generated Get handle to the  DatastoreService DatastoreService ds = DatastoreServiceFactory.getDatastoreService; Create... more →
Posted in: GAE

GAE: Tidbits on UserService

GAE
GAE : UserService Google UserService is used to check whether the user has logged in and also to get the details of the logged in user. UserServiceFactory is a Factory class to to get handle to a UserService UserService provide information to force the user to login, logout and also to get the details of the user. userService.getCurrentUser() =>  gives information about the current user. The createLoginURL() and createLogoutURL() methods of the UserService generate URLs that go to Google Accounts     import... more →
Posted in: GAE

JavaScript : Some Basic Facts

Objects in JavaScript There are three basic datatypes in JS :  Number , Boolean and String typeof  is a function which can be used to identify the underlying object type [code] var x = new String("Hello"); alert (typeof(x)); // will return Object alert( x instanceof String); // will return true [/code]   [code] var x = new Boolean(true); alert (typeof(x)); // will return Object alert( x instanceof Boolean); // will return true [/code]   [code] var x = new Number(5); alert (typeof(x));... more →
Posted in: Programming

Java vs Ruby Class – A Syntax Comparison

The objective of this article is to compare the structure of  a class in Java and Ruby. I believe this will help Java or Ruby developers to compare one another. As an example let us consider a simple Employee class with three attributes – first name, last name , email and city. Java Version [code] public class Employee { private String firstName; private String lastName; private String email; private String city; public Employee(String firstName, String lastName, String email, String... more →
Posted in: Programming

Why I don’t like programming in Ruby / RoR

Confession Let me start with a confession. I am not a Ruby or Ruby on Rails (RoR) developer. My knowledge on this topic is purely based on self study and observation of various RoR projects Why I am writing this series I am software engineer and I always love to learn and understand about new technologies, programming languages and frameworks. I came across Ruby and RoR in 2007 and I made an attempt to study Ruby. I read that it is a cool language and it is very easy to learn. I made an attempt... more →
Posted in: Programming

Check it Yourself : How fit are you for the Software Job?

pm
This article is based on the paper -“Recruiting a Project Manager” published in the Journal – International Journal of Information Technology Project Management (IJITPM). The paper covers on how to recruit a project manager in a company. The paper recommends to use MBTI (Myers-Briggs Type Indicator ) in the selection process. It is a psychometric assessment, targeted to measure the psychological preferences of people. Please refer Wikipedia to known more about MBTI. A significant... more →
Posted in: Project Management

Role of Project Manager (PM) in the Organization

pm
A PM has 360 degree responsibility for the project Responsibility towards own Organization                Report to the top management                Inter department cooperation                Share Resource Responsibility towards Project team           Select Right Person               Motivate Team               Task Assignment Responsibility towards Suppliers and third Parties               Purchasing               Outsourcing      ... more →
Posted in: Project Management
1 2 3 6