Tuesday, 24 February 2015

HTML5 & CSS3

Useful References






















Sunday, 22 February 2015

Spring Framework

Useful References



The Spring Framework is an open source application framework and inversion of control container for the Java platform. The framework's core features can be used by any Java application, but there are extensions for building web applications on top of the Java EE platform. Although the framework does not impose any specific programming model, it has become popular in the Java community as an alternative to, replacement for, or even addition to the Enterprise JavaBean (EJB) model.










5 Y technique

5 Y is a simple but very powerful root cause analysis technique


You can use the 5 Whys in troubleshooting, quality improvement and problem solving, but it is best for simple or moderately difficult problems.

The 5 Y strategy is an easy to use, effective tool for finding the root of a problem.
Start with a problem and ask "why" it is occurring. Make sure that your answer is grounded in fact, then ask "why" again. Continue the process until you reach the root cause of the problem, and you can identify a counter-measure that prevents it recurring.

Eg:

  • The vehicle will not start. (the problem)
  1. Why? - The battery is dead. (first why)
  2. Why? - The alternator is not functioning. (second why)
  3. Why? - The alternator belt has broken. (third why)
  4. Why? - The alternator belt was well beyond its useful service life and not replaced. (fourth why)
  5. Why? - The vehicle was not maintained according to the recommended service schedule. (fifth why, a root cause) 

Asking a question gets the brain working to find an answer. Instead of worrying about the problem, always start by asking why.

Ref:Wiki

2048 game in AngularJS



2048 is a single-player puzzle game created in March 2014 by 19-year-old Italian web developer Gabriele Cirulli, in which the objective is to slide numbered tiles on a grid to combine them and create a tile with the number 2048. 

It is a type of sliding block puzzle,  Cirulli created the game as a clone of Veewo Studios' app 1024 and getting the idea from Sami "Saming" Romdhana's clone 2048, and was surprised when his game received over 4 million visitors in less than a week. The game is free to play. He released a free app version of the game for iOS and Android in May 2014.

2048 became a viral hit .You can play its  web version here.
The below link "Building the 2048 game in AngularJS" will show you Angular's power in the Client Side.(as you all know games usually require lots of low-level DOM manipulation and angular has that potential )

Angular JS

Useful References


Angular JS by Google: commonly referred to as Angular, is an open-source web application framework maintained by Google and a community of individual developers and corporations to address many of the challenges encountered in developing single-page applications. Its goal is to simplify both development and testing of such applications by providing a framework for client-side model–view–controller (MVC) architecture, along with components commonly used in rich internet applications.

The library works by first reading the HTML page, which has embedded into it additional custom tag attributes. Those attributes are interpreted as directives telling Angular to bind input or output parts of the page to a model that is represented by standard JavaScript variables. The values of those JavaScript variables can be manually set within the code, or retrieved from static or dynamic JSON resources.





















Hibernate


Useful References


Hibernate  is an object-relational mapping library for the Java language, providing a framework for mapping an object-oriented domain model to a traditional relational database. Hibernate solves object-relational impedance mismatch problems by replacing direct persistence-related database accesses with high-level object handling functions.

  1. Hibernate. Everything data:  http://hibernate.org/