Posts

Showing posts from 2014

New Date &Time API from JDK 8

New Date & Time API from JDK 8 Date and Time handling in Java was tricky and not thread safe. Current system time can be accessed via  he static method  System.currentTimeMillis()   which returns the current time in milliseconds. Even though java.util.Date is there, it does not provide lot of date and time related functions that are convenient to the developer.In other words Date and Calendar API are not much developer friendly as other API for a long time,  most developers tend to Joda Date Time  library due to these reasons. This latest JDK 8 release Java team revolutionize the Date and Time api and introduced full featured thread safe, developer friendly API. It drag my attention to try out new API features. Following will explain the new features with some sample code snippets. New Structure of the Date Time API java.time  : This is the base package of new Java Date Time API. All the major base classes are part of this package, such as LocalDate, LocalTime, Lo

Make your life easy with web based Charting and Data Representation.

Image
NVD3  Re-usable charts for  d3.js Most of your web projects might have a portal for represent your collected data in a user friendly format. As I know developers facing difficulties in integrating a good report engine. There are some cases which reporting engine itself brings us a lot of burden to the project, or have only limited controls over the data manipulation. When I'm fighting with these issues I found a nice pretty interactive and responsive java script based API for charts. It supports almost all the charts we required for an advance management information system. This JavaScript library is such that, it could be easily integrated with any project. All charts supports JSON data format. which would be really convenient to populate the charts on client side. NVD3 Charting API has a full support of responsive feature, this provides the flexibility of developing single chart which works in most of the available devices as of now [PC/ Mobiles].  Lets Take

Install Cordova Or Phone Gap On Windows

Image
Cordova is an open-source mobile development framework. It allows you to use standard web technologies such as HTML5, CSS3, and JavaScript for cross-platform development, avoiding each mobile platforms' native development language. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device's sensors, data, and network status. Use Cordova if you are: a mobile developer and want to extend an application across more than one platform, without having to re-implement it with each platform's language and tool set. a web developer and want to deploy a web app that's packaged for distribution in various app store portals. a mobile developer interested in mixing native application components with a WebView (browser window) that can access device-level APIs, or if you want to develop a plugin interface between native and WebView components. Install Cordova In Windows. I found a lot of diffi