Tuesday, November 8, 2011

Backspace - return to previous page fix

In chrome, pressing of backspace will cause the page to return to the previous page, thought at first look this doesn’t seem like an issue, it becomes one when using chrome for data entry into forms.

Googling for this led to the extension “Back Space Means Backspace” for google chrome which prevents this functionality. You can use this link http://www.chromeextensions.org/appearance-functioning/backspacemeansbackspace/

Sunday, October 9, 2011

Extending Javascript Date functions

I often come across the need for the following functionality in the Date object in javascript. I believe these are basic functionality that should have been there, but then who cares!! anyone can extend these. So in a series of blogs i will be extending the Date object using the javascript prototype :-)

Functionality Sample
Date.AddDay Date.AddDays Javascript
   

 

Wednesday, September 28, 2011

Render a tree with knockout.js

While developing the software for backoffice tour operators, we came across the need to display hierarchical data with knockout.js. Let us consider the following sample situation:

We need to display the features of our software for tour operators in a tree structure as shown below.

newMockup


View a working sample here!!

Thursday, September 15, 2011

An alternative to the combo box

While developing the web application for tour operators @ syneity, we felt the need to move off from the combo box to something better. So here we will be designing the mockup for the same. We have identified the following states for this control.

Sl. State Details
1 Initial No data is selected
2 Typing Data is being entered into the control
3 Selected An item is selected from the search result
4 Add User needs to enter a new value, one that is not there in the search result

Saturday, September 3, 2011

Automating the build process

With the release of our Software for tour operators and the purchase of the same by a few operators, we felt the need to automate our release process. Our requirements in a nut shell:

“Take the latest version from our SVN repository, build it, run the scripts on the database and upload the build output to the website”

Nice, but then how do we do this??

That is what i am looking for….. will update with my findings..