Responsive Web Design (RWD)

Responsive Web Design (RWD)

From Wiki Responsive web design (RWD) is a web design approach aimed at crafting sites to provide an optimal viewing experience—easy reading and navigation with a minimum of re-sizing, panning, and scrolling—across a wide range of devices (from mobile phones to desktop computer monitors). In simple words we want to develop website that suites all devices. You might have seen few domains have their mobile site different from main site like m.google.com. In such cases you will have to maintain…

Read More Read More

JAVA 7 Features

JAVA 7 Features

Key Features Strings in switch Statement Multiple Exception Handling Try with Resources Java nio Package Binary Literals, underscore in literals Diamond Syntax Many others refer to Oracle Release note JAVA 7 : Code named Dolphin and released on July 28, 2011. Release Note Oracle Release Note Feature Page Support of String in Switch Case. String in Switch support are useful for processing data without conversion to enum or if-else logic. Sometimes is just easier to switch on String.

The switch…

Read More Read More

Native Keyword / Calling C Program From Java

Native Keyword / Calling C Program From Java

You might have seen in Java API many methods are using native keyword. Lets understand them. The native keyword is applied to a method to indicate that the method is implemented in native code using JNI. Definition From JSR A method that is native is implemented in platform-dependent code, typically written in another programming language such as C, C++, FORTRAN,or assembly language. The body of a native method is given as a semicolon only, indicating that the implementation is omitted,…

Read More Read More

JavaScript Utility

JavaScript Utility

Below are few Java Script methods to help you. Debugging in JavaScript: Debugging in JavaScript is now become easier with modern browsers.But still you will be facing issues in many cases so the alternative can be writing print statments in javaScript (i.e. console.log(“Message”)). But in IE browser if you console is not opened (it can be opened with Developer tools (F12)) then it will show function undefined error and will stop further javascript execution. To prevent this you can use…

Read More Read More

Twitter Bootstrap

Twitter Bootstrap

From Wiki Bootstrap is a free collection of tools for creating websites and web applications. It contains HTML and CSS-based design templates for typography, forms, buttons, navigation and other interface components, as well as optional JavaScript extensions. It is the most popular project on GitHub and has been used by NASA and MSNBC among others. Bootstrap was developed by Mark Otto and Jacob Thornton at Twitter as a framework to encourage consistency across internal tools. Before Bootstrap, various libraries were…

Read More Read More