Things to keep in mind while designing User Interface

Hi Guys!

This is my first post so not writing anything too heavy!!!

So, we are going to see things to follow while designing webpages.

Basically the website we design need to be user friendly and easy to understand to any kind of user.
Today i am writing only about Sign Up.

On the Opening of the site that is home page of the site, try to make the sign up button more effective and more attention grabbing. Try to write FREE in bold so that gets the user attention easily. Once the user clicks on it he is all yours.

While designing a Sign Up page for any kind of site, you must keep it as simple as you can to get more customers.
On the sign Up page don’t ask the user too much of information for logging in.
keep minimum questions like

First Name,
Last Name,
& Password.

Once the User is logged in then you can ask him to update his profile with the remaining questions you want to ask.

Thanks for reading…. ūüôā

Raspberry Pi based Content Delivery Platform


The Raspberry Pi is a credit-card-sized single-board computer developed in the UK by the Raspberry Pi Foundation with the intention of promoting the teaching of basic computer science in schools. The Raspberry Pi has a Broadcom BCM2835 system on a chip (SoC), which includes an ARM1176JZF-S 700 MHz processor (The firmware includes a number of “Turbo” modes so that the user can attempt overclocking, up to 1 GHz, without affecting the warranty),VideoCore IV GPU, and was originally shipped with 256 megabytes of RAM, later upgraded to 512MB. It does not include a built-in hard disk or solid-state drive, but uses an SD card for booting and long-term storage. The Foundation’s goal is to offer two versions, priced at US$25 and US$35

Content Delivery Solution

Lets see how a Raspberry pi based content delivery solution can be developed for educational institutes or anyone who needs it. Educational institutes have primary objective to enable learning through various interactive programmable delivery of content. The setup can be installed in lounge areas or even in school classrooms. Content can be customized as per need and pre-added to a batch file based application that functions like a jukebox that open the YouTube video link using the default internet browser. Making the content delivery changes will be a custom requirement and can be remotely administered. The prototype application can be administered by modifying the configuration files that directly download content from LAN or any other source.

How can it be done ? – The Technology

FreeBSD  installed on the sd card and Apache based web application for each school/university as per need. Once device is started it boot the OS and start the web app on display with default player.

What Application?

Custom prototype application initially can be installed for demonstration that will play the YouTube demo videos.

Detailed Design – Block Diagram

Block diagram consists of Raspberry Pi device (with casing) connected to the LAN. The device is connected to a TV and speaker. When the device is started it will booted with output to TV and speakers as per the configuration setup. When the device is switched off no video is played.



Model A: Target price:         US$ 25           

Model B: Target price:         US$ 35

SoC: Broadcom BCM2835 (CPU, GPU, DSP, SDRAM, and single USB port)

CPU:   700 MHz ARM1176JZF-S core (ARM11 family)

GPU:  Broadcom VideoCore IV

              OpenGL ES 2.0 (24 GFLOPS)

              MPEG-2 and VC-1 (with license),

              1080p30 h.264/MPEG-4 AVC high-profile decoder and encoder

Memory (SDRAM):

Model A: 256 MB (shared with GPU)          

Model B: 512 MB (shared with GPU)

USB 2.0 ports:           1 (direct from BCM2835 chip)          

                            2 (via the built in integrated 3-port USB hub)

Video input:   A CSI input connector allows for the connection of a RPF designed camera module

Video outputs:           Composite RCA (PAL and NTSC),

                             HDMI (rev 1.3 & 1.4),

                             raw LCD Panels via DSI

                            14 HDMI resolutions from 640×350 to 1920×1200 plus various PAL and NTSC standards.

Audio outputs:           3.5 mm jack, HDMI, and, as of revision 2 boards, I²S audio  (also potentially for audio input)

Onboard storage:      SD / MMC / SDIO card slot (3,3V card power support only)

Onboard network:    None   10/100 Ethernet (8P8C) USB adapter on the third port of the USB hub

Low-level peripherals:          8 × GPIO, UART, I²C bus, SPI bus with two chip selects, I²S audio +3.3 V, +5 V, ground

Power ratings:           Model A: 300 mA (1.5 W)

Model B: 700 mA (3.5 W)

Power source:            5 volt via MicroUSB or GPIO header

Size:    85.60 mm × 53.98 mm (3.370 in × 2.125 in)

Weight:           45 g (1.6 oz)

Operating systems:    Arch Linux ARM, Debian Linux, Fedora, FreeBSD, Plan 9, Raspbian OS, RISC OS,Slackware Linux


  1. Boot file config settings
  2. MPEG2 license key:
  3. Quick Start Guide:

Keyboard Tab Key Access and Applying CSS3 styles For list items in ie8

We can provide Tab key access for list items in IE8  browsers by either using an overlay button and giving tabindex or by applying tab-index as zero .

For applying css3 styles and use the list item as a button ,this overlay concept will serve.

For example

<li¬†class=”true”¬†style=”display: list-item;”>
<input¬†class=”rollover_scenario_btn”¬†type=”button”¬†tabindex=”1″ >
the example above can serve css3 styles and tab key access.
or for tab key access can be given using
<li¬†class=”true”¬†style=”display: list-item;” tabindex=”0″>

How to Export Thunderbird Emails to Outlook

Please follow the steps if you have to export Thunderbird emails to Outlook:

1. Open the link in web browser:

2. Download aid4mail free version and start the application

3. Click add folder and choose Thunderbird \ mail folder (you can find the top level folder Thunderbird is from Settings) 

4. Click Ok and then Next (Note the destination folder)

5. Click Next and then Start conversion of your Thunderbird emails to .eml files

6. Once done click Close

7. Now Download and install (you have to register to download)

8. Next Download and install

9. start Outlook (2013 – could use same steps for other versions though haven’t tested)

10. Click Folder tab create new folder name it “backupemails” or anything you want

11. Click from top menu and click “Import messages from eml format” link

12. For Source folder specify folder as noted in step 4

13. for Destination “old emails” as noted in step 10

14. Click Run

15. Verify all emails are showing in mail folder

16. Delete the folder from Step 4

17. Uninstall the installed utilities and you are done!


Agile Process for Web Applications Development

Developing agile enables rapid application development if all requirements are understood and documented before starting for the web application development project. Hence to reach an agile-able state there are a lots of prerequisites that need to understood and documented before the Agile sprint can be started:

Here is a process diagram that can be implemented to enable the rapid application development.


As you see that there are input documents for each phase of software development. Before the project starts most important being the Requirement Analysis. Requirement analysis accurately documents all necessary features in details and functionality desired. In web applications this is not enough because additionally a visual design is necessary to create how the app will actually be used by end user. The mock-up of all the pages and visual design gives a clear flow of the app.

Based on the visual design and requirements documentation its now possible to create a Product Test Plan. This test plan is actually used by the Tester/QA to start with Test Case development. As shown the Tester/QA engineer develops the Use Case document so all Test scenarios can be developed. All these documents are input documents for Detailed Technical Design document.

A detailed technical document is then reviewed and approved by all stakeholders. An Agile Scrum master is now ready to take this forward since all the detailed technical design and the tasks can be identified. Scrum Master then proceeds with a 10 day sprint cycle and delivers a demo at end of each sprint.

How to Insert dynamic data using Node.js, Express.js, Angular.js and MongoDB?

First, we have to install and configure NodeJS and mongoDB.
Installing NodeJs on windows:
Install it from :
Confirm that Node is running correctly:
Here are some steps to make sure that Node is running correctly.
‚¶Ā¬†¬† ¬†Create helloNode.js file
var http=require(‘htttp’);
res.end(“Hello world”);
console.log(‘server is running on port:3000’);
‚¶Ā¬†¬† ¬†Run it through command prompt.
 F:\sonika\config\node helloNode.js
        server is running on port:3000
‚¶Ā¬†¬† ¬†Open browser and type URL: http://localhost:3000/
‚¶Ā¬†¬† ¬†The output will be:
Hello world
‚¶Ā¬†¬† ¬†Now,your node is running correctly.
Configuring  MongoDB :
‚¶Ā¬†¬† ¬†Download zip file¬† from this link:¬†
‚¶Ā¬†¬† ¬†Unzip it and Put it in particular directory.
‚¶Ā¬†¬† ¬†Create ‘data\db’ folders in that directory to store our data(we can give any name to that folder).
‚¶Ā¬†¬† ¬†Go to that directory’s lib folder and run it¬† for that go through following command.
‚¶Ā¬†¬† ¬†F:\Sonika\All Data\software\mongodb\bin>mongod.exe¬† –dbpath¬† F:\Sonika\All ¬†¬† ¬†Data\software\mongodb\data\db¬†¬† ¬†
‚¶Ā¬†¬† ¬†Press ‘Enter’.

‚¶Ā It will look like this,


‚¶Ā¬†¬† ¬†Now,your MongoDB is ready to store data.
Now, lets develop an Student Registration form sample application
For that, we have to follow some steps:-
‚¶Ā¬†¬† ¬†Create directory structure.

‚¶Ā¬†¬† ¬†Create package.json file.
This text file contains all the information about the project,
like project path,dependencies, author name, tags, bug tracking info  etc..
To create a package.json run npm init command from the root folder.
It will ask series of questions and finally
it will create package.json file.
Our package.json file will look like this.

‚¶Ā¬†¬† ¬†Create ‘index.html’ file.
This html file will create UI that have two manus “HOME”¬† and “ADD DETAILS”.
‚¶Ā¬†¬† ¬†Create ‘add.html’ file.
¬†¬† ¬†Note: Don’t write <html> and <body> tag in ‘add.html’ and ‘Home.html’ files
because, these files are partialy render inside <ng-view> tag that defined

in index.html file.
‚¶Ā¬†¬† ¬†Create’ Home.html’ file.
<h2>Welcome !</h2>
<h4>Exam Registration Site!</h4>
‚¶Ā¬†¬† ¬†Create ‘styles.css’ file.
This file describe code to design UI.
‚¶Ā¬†¬† ¬†Create¬† ‘appModule.js’¬† file.
Angular follow MVC pattern that is Model,View,Controller.
This is a Model part of our application that will describe business logic.Our model¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† name is “myapp” that is already define in index.html file.
If we changed model part then View part will definatly reflect.
‘use strict’;
angular.module(‘myapp’, []).
config([‘$routeProvider’, ‘$locationProvider’,

function($routeProvider, $locationProvider) {
$routeProvider.when(‘/add’, {templateUrl: ‘partials/add.html’, controller: AppCtrl});
$routeProvider.when(‘/home’, {templateUrl: ‘partials/Home.html’});
$routeProvider.otherwise({redirectTo: ‘/’});

‚¶Ā¬†¬† ¬†Create ‘controllers.js’ file¬†
This is our controller part that will manage flow of executation.
In this file, we described controller “AppCtrl” that is already define in¬† ‘index.html’ file.
‘use strict’;
function AppCtrl($scope,$http,$location) {
$scope.form = {};
alert(‘Thank you…!’);

AppCtrl.$inject = [‘$scope’,’$http’,’$location’];¬† //here we inject dependancies

‚¶Ā¬†¬† ¬†Create ‘CRUDOper.js’ file.
In this file we described all database configuration like server,database name,

collection name  as well as logic of insertion of data into mongoDB.
‚¶Ā¬†¬† ¬†Create ‘app.js’ file.
This file described configuration of express server as well as create instance of

directories that we will use further in our Application and serve static file ¬†¬†¬† ¬†i.e“index.html”.
‚¶Ā¬†¬† ¬†Now,our Application is ready.
‚¶Ā¬†¬† ¬†To run our Application.First we have to run “package.json” file.
‚¶Ā¬†¬† ¬†when we will run this file through command prompt then all dependancies and packages¬† that are describe in “package.json” file will install and that all required to run our application.
‚¶Ā¬†¬† ¬†Now,open command prompt and go in root directory of Application i.e¬† ‘AngularJsApp’.
‚¶Ā¬†¬† ¬†Run F:\sonika\Data\AngularJsApp> npm install
‚¶Ā¬†¬† ¬†Now, run¬† ‘app.js’ file to start our express server.
‚¶Ā¬†¬† ¬†Run command ‘node app.js’
‚¶Ā¬†¬† ¬†Open browser and type URL: http://localhost:3000/
If we click on¬† ‘Home’ then ‘Home.html’ will render.
If we click on ‘ADD DETAILS’ then ‘add.html’ file will render.
Fill out information in the form and submit to check if application is working fine.
To check our filled data  in MongoDB we have to follow some steps:
‚¶Ā¬†¬† ¬†Open second command prompt.
‚¶Ā¬†¬† ¬†Go in lib directory of MongoDB and run ‘mongo.exe’.
‚¶Ā¬†¬† ¬†mongo.exe will open.
‚¶Ā¬†¬† ¬†Type¬† ‘show databases’¬† then we will see our database name¬† ‘studb’.
‚¶Ā¬†¬† ¬†Type¬† ‘use studb’¬† that is it will use our database to perform operations.
‚¶Ā¬†¬† ¬†Type show collections then it will show¬† our collections name that is ‘students’.
‚¶Ā¬†¬† ¬†To see our filled data type¬† ‘db.students.find()’ .
‚¶Ā¬†¬† ¬†Note: Our database name ‘studb’ and collection name ‘students’¬† are already define in ¬† ‘CRUDOper.js’¬† file.
‚¶Ā ¬†¬† It will look like this,

“Download complete source code from”:
Have fun..!

Silverlight Framework for Windows Phone 8

New Windows Phone 8



(I have downloaded the above image from, if anybody has issue with it please mail me to

Hello again people. Lets discuss how Silverlight helps us in development in the Windows Phone apps.

Basically I will tell you what exactly is Silverlight and for what is it used for.

  1. Silverlight is cross browser, cross platform implementation of .Net framework that helps in the developing and designing of the applications.
  2. Silverlight helps in designing rich user interface and Rich Interactive Applications(RIA) for web, desktops and now for Windows Phone too.
  3. Silverlight uses Application Extensible Markup Language (XAML) for ease of UI development. It helps in designing of UI controls like buttons, controls, layout, graphics  while using managed code or dynamic languages for application logic.
  4. WPF and XAML. Silverlight includes a subset of the Windows Presentation Foundation (WPF) technology, which greatly extends the elements in the browser for creating UI. Silverlight lets you create immersive graphics, animation, media, and other rich client features, extending browser-based UI beyond what is available with HTML alone. XAML provides a declarative markup syntax for creating elements. For more information, see Layout, Input, and Printing, Graphics, Animation, and Media, and Controls.
  5. The Windows Phone OS is the one which is mainly designed for the touch firs wet citizen interactive with the user. So as a developer you need to really take good care of the UI designs.
  6. For the integration on this UI designs we make extensive use of Silverlight.

This is why we make use of Silverlight in Windows Phone platform.

As we proceed in that I will show you how we use Silverlight or make use of Silverlight in the Windows Phone application.

Take care and have good health :)