Author Archives: Nidhi Rai

Nidhi Rai

Nidhi has been researching internet technologies for last five year or so. Her field of interest includes JavaEE, mobile technologies, UI programming such as HTML, CSS, Javascript (Angular/ReactJS etc), open-source and other related technologies.

How Sublime Editor Can be Used For Blogging – Part 1

Sublime as a blogging tool

This article represents tips on how one could use Sublime Text Editor for writing their blogs in quicker manner. More so, if you are a developer and love blogging, you would find Sublime handy as you could write blog like coding by creating custom snippets as described later in the article. ūüôā The reason I have put this article as “Part 1” is because I believe I shall come across more such tips & techniques as I go ahead with my experience with Sublime and, I shall share them as another blogs. Please feel free to comment/suggest if I missed to mention one or more important points. Also, sorry for …

Continue reading

Posted in Tools. Tagged with .

KnockoutJS Hello World – Code Example

knockoutjs

This article represents high level concepts and code example for KnockoutJS, A Javascript framework based on MVVM pattern. The code below is demonstrated on the following page:¬†http://tuts-javascript.appspot.com/helloworld-knockoutjs. Feel free to comment/suggest if I missed on any aspect. Following is demonstrated as part of hello world demo: ViewModel¬†used to represent data and operations on a UI Data Binding: Declarative¬†data binding¬†used to create an associated view Activating Knockout Dynamic Updates: How UI updates dynamically Code Example: Hello World Code Sample   ViewModel Representation View Model (in below example) could be represented in one of the following ways. In code below, the viewmodel object has a property namely, name. Following is an object …

Continue reading

Posted in Javascript. Tagged with .

Bootstrap UI Template for Quick Web UI

The article presents copy and paste bootstrap code that one could take and get started with quick UI. Personally, as a Java developer, I use it very often to create quick UI without focusing much on the UI details. From there on, I keep on adding further UI elements as and when required. You could get code samples from Bootstrap UI website. <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=ISO-8859-1″> <title>Hello World</title> <link rel=”stylesheet”¬†href=”//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css”> <script¬†src=”//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js”></script> <script¬†src=”//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js”></script> </head> <body> <header class=”navbar navbar-static-top” id=”top” role=”banner”> <div class=”container”> <div class=”navbar-header”> <button class=”navbar-toggle” type=”button” data-toggle=”collapse” data-target=”.bs-navbar-collapse”> <span class=”sr-only”>Toggle navigation</span> <span class=”icon-bar”></span> <span class=”icon-bar”></span> <span class=”icon-bar”></span></button> <a href=”/” class=”navbar-brand”>WebSiteName</a> …

Continue reading

Posted in UI. Tagged with .

Bootstrap UI TextField, Dropdown and Button – Code Examples

The article presents quick code samples on Bootstrap form and its elements such as textfield, dropdown, button etc that one could copy and paste and get started quickly. For those unaware of what is Bootstrap, following is a very brief write-up: Bootstrap is a popular UI framework which helps one to create great UI for both Web and Mobile projects. The information and code samples could be accessed on http://getbootstrap.com/. All I could say is that the day I came across Bootstrap, I managed to create great UIs for all of my Java projects in no time. Something that I always looked upon others to help me with. Something which …

Continue reading

Posted in UI. Tagged with .

Top Bookmarks – How to Get Started with Spring MVC & Eclipse

Spring MVC Lifecycle

The article lists down top bookmarks (pages) which helped me to quickly get started with Spring MVC with Eclipse. Also, presents some key information at a very high level. Spring MVC Framework Tutorial Spring MVC Form Handling Example¬† Spring MVC Hello World Example¬† Spring 3 MVC Hello World Example Spring 4 MVC Hello World Tutorial – Full Example¬† Following are high level steps to get started with your first Spring MVC project using Eclipse: Download Java EE eclipse and configure server for ease of deployment from within Eclipse. Create a Dynamic Web Project in Eclipse. Drag and drop below mentioned Spring and other libraries into the folder WebContent/WEB-INF/lib. One of …

Continue reading

Posted in Java. Tagged with , .

Top 5 Unit Testing Best Practices

The article lists down top 5 unit testing best practices that one could adopt to be able to write great unit tests with greater code coverage. Test-Along, if not Test-Driven Many a times, rookies have been found to start writing unit tests once they have written most of the code, e.g., towards the end of the coding. However, to make the most of unit tests, one should write them as they write the code. This is somewhat different and less difficult than writing tests first and code later as in test-driven development (TDD). Following are some of the advantages of doing “test-along” development: One could achieve greater code coverage by …

Continue reading

Posted in Unit Testing. Tagged with .

Mobile Testing Tools & Methodologies used @ Expedia

The article lists down tools & methodologies used for testing Expedia mobile apps (both mobile web & native). Test-driven Development (TDD) TestNG: TestNG is a unit testing framework similar to JUnit. Apart from unit tests, TestNG can also be used to¬†cover other categories of tests such as functional, end-to-end, integration etc. EasyMock: It is, primarily, used for mocking and custom solution for stubbing. As a mocking framework, EasyMock¬†provides mock objects for interfaces by generating them on the fly using Java’s proxy mechanism.   Automated Acceptance Testing Frank (iOS): Frank, primarily, allows you to write and execute automated acceptance tests (using Cucumber) against your iOS application to verify its functionality. Simply …

Continue reading

Posted in Mobility, QA. Tagged with , , .

Tea-Time Java Quiz #1

Tea-Time Java Quiz is intended to be quick 5 questions Java quiz which one could quickly take from time-to-time to test their Java knowledge on the ongoing basis. [WpProQuiz 2]

Posted in Java. Tagged with .

Lessons from Google on Distributed Storage System

The article lists down the lessons learnt by Google Engg. team while they implemented Google BigTable, a distributed storage system, which is used to manage structured data of more than 60 Google products or so. Read further about Google BigTable on this page. KISS Principle for Simpler Design & Coding With distributed systems bound to be complex and the related codebase expected to evolve over a period of time, it may be good idea to keep the design and coding simple for ease of code maintenance and debugging. One could apply the KISS principle by breaking down the problem into smaller pieces and do the design and coding appropriately. Read …

Continue reading

Posted in Distributed Systems. Tagged with , .

Learning Coding Tips from Martin Fowler is OK!

This article is first in the series of “Developers Hall of Fame” pages that we have recently started, and talks about some of the works of Martin Fowler, the Software Engineer, from whom I personally learnt a great deal and also recommend others, primarily rookies, from time-to-time. In his about me page, he introduces himself to be “an author, speaker‚Ķ essentially a loud-mouthed pundit on the topic of software development“. Note that this page shall be updated at regular intervals with Martin’s work that would benefit developers at large in software design and development. Before I go ahead and include some of his pages which could be of great benefits …

Continue reading

Posted in Hall of Fame. Tagged with , .

New Initiative: API Bar

We would like to introduce our new initiative, namely API Bar, in relation with business APIs that are getting released/published day in day out as part of business strategy by companies of every size (large, medium, small). The reason we have named the initiative as API Bar is that the way APIs (making the business competitive) are coming up every day seems like APIs presented in bottles with different labels ¬†with developers trying to figure out which APIs to use and why? ūüôā ¬†As part of this initiative, we shall be doing following activities and publish our findings appropriately from time-to-time: Evaluate the APIs from technical perspective while exploring different …

Continue reading

Posted in API Development, News. Tagged with .

UI Lessons from Revamped Yahoo Homepage Design

The article represents the UI lessons that one could learn from newly launched Yahoo homepage. Please share your opinion and help me add more points. Take a look at screenshot of the new, revamped homepage below: The objective behind the revamped homepage design is to offer users more smooth and adaptable experience and makes it easier for the users to discover content. Following are some key characteristics of revamped homepage with focus on enhanced usability: Simpler navigation with the ability of one doing following in easy manner: Browse top stories Checking email Access stocks, photos, or weather.¬† Cleaner design that’s easy to navigate¬† Ease of use with the familiar search …

Continue reading

Posted in Web. Tagged with .

Google Glass & Big Data – Boon for Crime Control

A class of bloggers & writers have been writing about the google glass hurting the privacy. Thus, this may pose barrier to widespread acceptance of google glass device. However, google glass shall surely act as a boon to crime control and sooner than later, government will get on board for acceptance for glass device for police personnel.   Google Glass for Capturing Pictures from Crime Spot However, to think of one of the out-of-box benefits provided by google glass, which is “take a picture”, this may prove to be a boon to police department across the globe. Imagine police personnel start wearing a cool glass device. They could easily capture …

Continue reading

Posted in Big Data, Google Glass. Tagged with , , .

Google Glass Timeline: What is it?

Google glass timeline is one of the most important concepts to know if one wants to get started with Google glass project. Lets see the picture below to understand how does it look like? Before we go into details of what is timeline, lets try and understand the dictionary meaning of timeline? Following are some of the meanings posted by some of the well known dictionary websites: A linear representation of important events in the order in which they occurred…Dictionary.com a schedule of events and procedures…merriam-webster.com On a google glass device, information/message retrieval or submission can be considered as some kind of “event”. A set of information/messages or events can …

Continue reading

Posted in Google Glass. Tagged with .