Freelance Projects, Software Development, Programming Jobs

Hadoop Tutorial

Hadoop Tutorial

First, before beginning this Hadoop Tutorial, let's explain some terms.

What is Big Data?

Big Data is the reality of to do business for most organizations. Big data is a collection of large data sets which can not be processed using routine data processing techniques. Big Data is no longer a given, it became a complete subject which involves various tools, techniques and frameworks. Big data involves data produced by applications and devices. Some areas that are under the Big Data roof

Some examples of Big Data

Social Media data such as Facebook and Twitter capture information and views displayed by millions of people worldwide.
Currency Exchange data contains information on the "buy" decisions and "sell" on the one hand made from different companies by clients.
Power Grid data contains information used by a particular node with respect to a base station.
Transport Data includes model, capacity, availability and distance of a vehicle.
Search Engine Data recover much data from different databases.

Big Data types

The data will be of three types:
- structured data is relational data.
- semi-structured data are XML data.
- unstructured data are documents like Word, PDF, Text, Media Newspapers

Technologies used in Big Data

There are various technologies in the market from different vendors, including Amazon, IBM, Microsoft, etc. to manage large volumes of data. In this article we will examine the two following classes of technologies:

Operational Big Data

It includes a system like MongoDB operational capabilities that provide real-time, interactive workloads where data is mainly captured and stores. NoSQL big data systems are designed to take advantage of new architectures of cloud, it makes operational workloads of large data much more manageable, cheaper and faster to implement.

Big Data Analytics

It includes systems such as Massively Parallel Processing (MPP) systems and database MapReduce analytic capabilities that provide complex analysis to show which can affect most or all of the data. MapReduce provide a new method of data analysis that is corresponding to the capabilities of SQL and MapReduce-based system that can be scaled from single servers to thousands of high-end devices and low.

Difficulties encountered by Big Data

The main challenges related to large volumes of data are:

• Data Capture
• Conservation
• Storage
• Research
• Share
• Transfer
• Analysis
• Presentation

Hadoop Big Data Solution

Old traditional approach

In traditional business old approach will have a computer to store and process large data. In these data will be stored in an RDBMS such as Oracle Database, MS SQL Server or DB2 and complicated software can be written to interact with the database process the required data and present users for purposes of analysis.

Limitation of the traditional approach

We use this approach where we have less volume of data that can be accommodated by the database servers or standard data to the processor limit that is currently processing the data. But when it comes to trade with huge amounts of data traditional approach is really a tedious task to process the data via a traditional database server.

The Google solution

MapReduce algorithm is Google's solution for this problem. In this algorithm, we split the task into smaller parts and assign the parts to many computers on the network and collect the results to form the final result dataset.

Where the Apache Hadoop fits in?

Let's first begin in this Hadoop tutorial what the Apache Hadoop actually is. Hadoop is basically an open framework of software that can store data and process data through hardware clusters. Hadoop is designed to grow from a single server to thousands of machines offering to each local storage and computer. Hadoop gives a massive storage for any data type with enormous processing power and the ability to handle tasks or virtually unlimited parallel jobs.

Hadoop Big Data Solution and history

Doug Cutting, Mike Cafarella and his team took the solution provided by Google and started an open source project called Hadoop. Hadoop in 2005 is a trademark of the Apache Software Foundation. Apache Hadoop is an open source framework written in Java that allows processing of large data sets on distributed computer clusters using simple programming models. Hadoop runs applications using the MapReduce algorithm, where the data are processed in parallel on various processor nodes. Hadoop framework is capable enough to develop applications that run on computer clusters and they could do a full statistical analysis to huge amounts of data.


Hadoop architecture framework

Hadoop Framework consists of four modules:

1) Common Hadoop
2) Hadoop Yarn
3) Hadoop Distributed File System
4) Hadoop MapReduce

Hadoop Tutorial


Discussing in detail the four hadoop modules

1) Common Hadoop is Java libraries and utilities required by other Hadoop modules. These libraries provide files and OS level abstractions system to contain the Java files and scripts needed to start Hadoop.

2) Yarn Hadoop is a framework for task scheduling and managing cluster resources.

3) Hadoop distributed file system that provides broadband access to the application data.

4) Hadoop MapReduce is Yarn based system for parallel processing of large data sets.
Working of Hadoop

There are 3 steps in Hadoop can discuss in detail in this Hadoop tutorial:

1st step: the user submits a job / Application to Hadoop for the necessary process by specifying the following:

1. Define the locations of the input and output files in the distributed file system.

2. Define the Java classes as a jar file containing the implementation of the plan and reduce functions.

3. Definition of the configuration of the job by defining different parameters specific to the job.

2nd Step: Hadoop (A Hadoop job client) then submits the job (jar / executable etc.) and configuring the Job Tracker which then assumes responsibility for distributing the software / configuration to the slaves, scheduling tasks and monitoring of granting status as diagnosis information to the job client.
3rd Step: Task Trackers on different nodes perform the task by the implementation and output of the function to reduce MapReduce is stored in the output files on the file system.

Hadoop Tutorial

Benefits of Hadoop

Top reasons to choose Hadoop is its ability to store and process huge amount of data quickly. Other benefits of Hadoop are:

Computing power - Hadoop distributed computing data module quickly process any amount of data. The increase in processing power using several computing nodes.
Flexibility - information you should pretreatment before storing. You can store as much information as you require and choose how to use it later.
Fault Tolerance - Information and handling of the application are insured against hardware failures. Incase a node goes down task are automatically redirected to other nodes to ensure that distributed computing is not lacking. Hadoop automatically store multiple copies of data.
Low Cost - Hadoop is open source Hadoop software framework is free & used good material to store large amount of data.
Hadoop is scalable - With little administration, we can easily increase our system simply by adding new nodes.

Hadoop MapReduce

It is a software framework for easily writing applications that process large amounts of data in parallel on large clusters working on thousands of basic hardware nodes reliably and fault tolerance.

The two different following tasks that programs perform MapReduce Hadoop actually refer the term:

1) Task Map: This is the first task that takes the input data and converts it into a data set, where individual elements are decomposed into tuples (key / value pairs).

2) Reduce Group: The reduction task is always executed after the task map. Out of a task card is taken as input and combines these data tuples in a small set of tuples.

Hadoop Tutorial

Author: Written by Mubeen Khalid for ®

Image Resources:

Row was updated or deleted by another transaction


While working with hibernate (which is quite popular java object relational mapper), you might have stumbled upon this exception:

Row was updated or deleted by another transaction


What does this exception really mean? Well, you're most probably trying to update an object via hibernate which was version ID is lower than version ID of object in the database.

Hibernate uses versioning to know that modified object you had is older than one which is currently persisted.

Hope this will help some java newbies which are using hibernate for persistence.

What is the solution to "row was updated or deleted by another transaction" then?



You need to get the very latest version of object to avoid "row was updated ... " exception before you make any changes.

This can be usually accomplished by adding:

MyEntity myEntity = persistenceManager.findObjectById(myEntity .getId())


here goes then:


on your hibernate persistence manager


jQuery Drop Down List


The best way how to get a good jQuery drop down list is to utilize some of the plugins available at

There are many tutorials around the internet how to add drop down list on your website and use it in your applications.


Most of them use the most low-level way how to do that, and you have to create lot of boilerplate code to get a good drop down in your menu accomplished with jQuery.


Most of these plugins utilizing jQuery have same structure:

1. You need to include a jQuery script into the HTML header

<script src="//"></script>

2. You need to include drop down plugin script to HTML header

<script src="/jquery.{plugin_name}.js"></script>

3. Include CSS which adds styling to menu

<link rel="stylesheet" href="/css/{plugin_name}.css">

4. The actual HTML of drop down lists

<ul id="menu">
<li><a href="#">Item 1</a></li>
<li><a href="#">Item 2</a>
<li><a href="#">Sub Item 1</a></li>
<li><a href="#">Sub Item 2</a></li>
<li><a href="#">Item 3</a>
<li><a href="#">Item 4</a>


How to Optimize Sales With Magento Using Various Tools Available in the Market

Let's face it: Consumers have become more demanding than ever, and want more flexibility when it comes to shopping online. They want online stores to make the process of purchasing goods easier. If you're able to convert those consumers into paying customers, then it can help you in generating more sales. But, to achieve such an objective, it's important to meet the needs of elusive consumers. Most importantly, you'll have to provide them with a clear path to make purchases.

Perhaps, to optimize online sales, you may think of running paid ad campaigns. But, remember that you won't get a return on your investment from campaigns, if your store design is not optimized for conversion. Luckily, there are several ways that can help encourage your visitors to take the action – that you want them to take.

Below are some useful tools that help in optimizing sales of your Magento online store:

ShopGate: Make Your Online Store Mobile Optimized

According to a survey conducted by comScore, it was concluded that mobile device usage as digital platform has skyrocketed and is expected to overtake desktop usage.

media time

As mobile has become the main device used for browsing the web (especially for digital media), chances are that the majority of your target audience will be using mobile devices. And so, it's important that your online store can be accessed easily across any device – be it Smartphones, tablets or a PC.

Simply put, your store must be optimized for all device screen sizes and resolutions. If not, you may lose all the potential customers. But, what if you're running a Magento online store that is not mobile-friendly? Fortunately, there is a useful and widely used Magento extension that can help turn your store into a mobile optimized one. ShopGate is considered as a brilliant toolkit that helps in building mobile e-commerce site.

Registering with ShopGate extension, allows you to choose a mobile website design, and then install a Magento plugin to your e-store. Next, it help adjust the settings of your new mobile like importing products, payment processors, etc. And, your store will be ready to go live. Besides, creating a mobile website design the ShopGate plugin also helps in creating iOS and Android apps for your store. It is available for a 14-day free trial, and it's pricing plan starts from $19/month.

Discount Conditions Extension: Give Discounts To Specific Customers

Offering discounts, and coupons are said to be influential factors that help visitors (and customers) make a purchase decision. Also, they're considered powerful marketing tools
that prove beneficial as they:

  • Giving discounts help in attracting a lot of traffic


  • Encourage clients to purchase items from your stores available at discounted rates.


  • Help clear stock from a store that is “difficult to sell”.

All the above factors clearly suggest how offering discounts and/or adding coupons to your Magento e-commerce store can help in increasing sales. But, you may not want to offer discounts to each and every visitor (or customer). In fact, you may prefer providing discounted products to only specific customers. To fulfill such need, the Discount Conditions Extension is exactly what you need. With the help of this tool, you can give discounts to the customers – when they order the same product they've purchased from your store. It allows to:

apply the discount to only some particular products, but only when they're available in the cart. Not to mention, the products must have been purchased before by the customer.

apply the discount to the products, even if one of them is available in the cart and has been purchased before.

What's more? The Discount Conditions Extension even allows to enable/disable for only a few customers. Using its "Customer Chooser" tool, you can choose the customers to whom you would like to offer discounts and so on.

One Page Checkout: Simplify and Speed Up The Checkout Process

Many e-commerce businesses are reporting that over “60% of checkout processes end without a conversion”. It has been observed that high shipping costs and need to create a new account for the checkout process are leading reasons that leads to increase in the shopping-cart abandonment rate. But, a lot of users have also reported complex checkout process as one of the major reasons behind the high abandonment rate.

Today's consumers demand seamless online shopping experience, and providing them with a complex checkout process will make them abandon the process. Besides, asking users to fill up too many details slows down the checkout process.

checkout process

But, reducing checkout steps can help in increasing your revenue. One Step Checkout Magento extension serves as an excellent tool in providing the fastest checkout process. Basically, the extension helps make the checkout steps of your Magento store appear on a single page. The best part is that it helps in creating responsive one page checkout, ensuring that the checkout page can be accessed by the site visitors, irrespective of the device they're using. This extension is available at $149.

Zopim Live Chat: Add Live Chat to Increase Engagement

Several studies have proved that integrating a “Live chat” option closes the communication gap between an online store and its customers. Therefore, using a live chat can help you connect with your site users, and even build their trust, which often results in a sale.

For example, based on recent studies on CompUSA, it was seen that 68.5 percent customers utilized live chat when browsing the site, out of which:

32% percent customers used live chat at the time of final buying process.

And out of those 32% customers, 10% ended up making a purchase !

“Zopim” is an award-winning live chat software that help you chat with your customers in real time. And now, the Official Zopim Live Chat is available as a Magento extension that can be installed for free. Once it is installed, it will embed a live chat option on your store that increases customer engagement rate, by allowing them to chat with you.

You can customize the chat widget based on your needs. The best aspect about the Zopim Live chat extension is that even let you save the chat history and monitor visitors data. Communicating effectively with your customers, and responding to their queries help enhance their browsing experience. And, this increases their confidence in buying products from the site.


Hope that reading this post will help you find a suitable extension that will help optimize sales of your online store once it's implemented.

Whether you choose to convert your online store into a mobile-friendly one, or decide to offer discounts and simplify the checkout process, you'll definitely see an increase in your revenue. This will eventually help in the growth of your eCommerce business.

Author Bio:

Tyler holt is a blogger and Magento Developer . He loves writing articles describing the importance of Magento e-commerce platform and latest development activities has delivered interesting write-ups on Magento development tips and tricks for novice and professional Magento developer.

Wordpress visitor counter



The ExtraWatch plugin not only tracks the number of visitors to your site, it provides a suite of tools to help you analyze your page clicks and optimize your website to increase your customer base.


This lightweight plugin can be used in a variety of CMS platforms, including WordPress, Joomla, Drupal, Magento, and Prestashop. You can configure email reports and graphs to track the web statistics that are most important to you.

Whether you’ve just started tracking your web traffic, or you’re an experienced professional, ExtraWatch is the best web analytics tool on the market.



ExtraWatch FREE


The free version of ExtraWatch comes with a full suite of features to help users who are new to the world of website analytics. It’s also a good way for more advanced users to test out ExtraWatch’s tracking and analysis tools before buying the PRO version.

If you’re looking for the best free web analytics and traffic tracking, ExtraWatch is your best bet! Here are the free analytics and SEO tools offered in the free version of the plugin:


Current Visitors


This is the first page that comes up when you open the ExtraWatch dashboard. It allows you to see who’s accessing your pages, where they are, and what OS / browser they’re using. These stats make it easier to target your biggest audience with designs that are optimized for their viewing platform. It also allows you to recognize what regions or browsers aren’t using your site as much, so you can find ways to draw them in.




From the Statistics module, you can see a quick graphical overview of who’s visiting your site, and how they got there. You can view your stats broken down daily or weekly, as well as separate charts breaking the numbers down by country, browser, and operating system.




The Goals page allows you to set up notifications for certain benchmarks on your site. For instance, you can set up email notifications to come in anytime someone from a certain country accesses a certain page on your site, or anytime users are directed to your site from Google. This means you can easily track the effectiveness of your SEO and advertising, and recognize areas that need improvement.

You can also set up a redirection page for users or IP addresses that you want to block from certain areas or pages. This makes your site look more professional, particularly if you have secure portions of your website.




Another way to restrict access to your site is through the Blocking feature. For forums or blog comments, this tool is a must-have. You can block spammers’ IP addresses by uploading a CSV file, or ban common keywords associated with spam. This works well in conjunction with other anti-spam tools that provide lists of known spammer IP addresses.




The Graphs module allows you to view graphs of a variety of different metrics, including by referrer, IP address, and keyword. This feature gives you a great visual representation of your traffic statistics, perfect for companies that need to prepare presentations to show the success of their website, or target areas that need improvement.




History gives you access to the same web statistics as the Current Visitors page, only you can look back at past stats as well to gauge improvement or track declines in visitors. This is vital information for web developers or content writers who need to track the popularity of newer posts versus older posts.




If you’d rather not log in to the ExtraWatch console every day, you can configure nightly email traffic reports that contain all of your site statistics. You can even set it to only email you positive or negative changes beyond a certain threshold, to keep the reports cleaner. You could also set up a group email so the entire team can be kept up-to-date on the analytics and traffic reports.



ExtraWatch PRO


For a low, one-time cost, you can gain access to even more great features with the PRO version of ExtraWatch. This version is recommended for users who want to get more from their website analytics. Upgrading from the free version is fast and easy, and can be installed without losing any existing data.

The additional features included with ExtraWatch PRO are:




ExtraWatch PRO’s unique HeatMap feature gives you an infrared-style display of where your visitors click the most. Use it to figure out which areas of your page are most clickable, or which sections need more help.

The HeatMap provides great images for presentations to investors or management, allowing you to show off how popular your site is without bogging them down with numbers and percentages.




The Clicks page takes the raw data from the HeatMap display and puts it in chart form. From there you can see the percentage increases or decreases of click spots, or even watch clicks as they come in, with real-time updates. You can also create Goals instantly from the charts if you want to track benchmarks on certain areas.


SEO Reports


ExtraWatch PRO users can get SEO Reports emailed to them along with their nightly email reports. You can customize what data is included in these reports, filtering out unnecessary information, or viewing encrypted keywords. You can also view the SEO keyword reports right there on the page, if you don’t want to receive nightly email reports.

Popular keywords change and evolve over time, so these reports allow you to monitor and update your SEO to ensure your site maintains or increases its search ranking.




If you’re concerned that paying users are sharing their accounts with other people, you can enable alert emails to tell you when the same user is logging in from different IPs. You can also view this information directly from the Users module.




The Download Monitor is a great tool for artists, photographers, and app developers. You can specify the file extensions you want to track, and see a graphical representation of how many times those items have been downloaded. You can also view a log showing you which IPs are downloading your content, and where they were referred from.

This metric provides key information about which demographics are actively using your product, in addition to the people who are just browsing your site.


Traffic Flow


ExtraWatch provides traffic flow statistics both in a unique, colorful graph, and as raw data. Webmasters can use this information to analyze which pages are getting the most traffic, and how visitors are navigating through your website. This allows you to improve the usability of your site, and provide customers with an easier experience.


Database Status


This tool is invaluable for managing databases. The status page shows you which tables contain the most records, and take up the most space. You can use this data to control the size and speed of your database, and possibly eliminate unused tables.


Sizes - Files & Directories

This page allows you to monitor the size of your directories, so you can easily avoid problems with hosting limits and slow-loading pages. For large websites with a lot of visitors, this tool eliminates a lot of headaches.



Installing ExtraWatch


Now that you’ve seen all the features available in ExtraWatch, are you ready to install it? Whether you’re using the free version or the PRO version, installation is quick and easy. Just use the following instructions:


  1. Download the app from or your CMS’s plugins directory



  1. Upload the zip file to your platform’s plugins section




Note: You can skip these steps in some platforms by searching for the app within the Plugins module and installing it from there:





Click OK!


  1. Activate Extrawatch



  1. Go to your Widgets menu




  1. Move the Extrawatch Agent to your active widgets area



ExtraWatch will now begin gathering data and preparing your website analysis!



In Conclusion…


Whether you have a large, established website with a lot of active users, or you’re just starting out and trying to gain a following, ExtraWatch will give you all the information you need in order to increase your website traffic.

No other web analytics tool provides so many features in such a user-friendly interface. Even if you’re new to the world of web stats and analysis, you will have no problem navigating through ExtraWatch’s free features and finding the data you need to take your site to the next level.

Web analytics experts will enjoy the Pro version of ExtraWatch, as it gives them access to even more tracking and usage data. From the raw statistics to attractive, presentable graphics, ExtraWatch Pro gives you an enterprise-level tool for a low, one-time cost.

ExtraWatch is easy to install, and available on a variety of CMS platforms. For more information, or to try a free demo, visit wordpress visitor counter today!

The Ultimate Android OS Battle: Android L vs Android M

Google released the developer preview of its next version, called as Android M, on this year's I/O conference. While Google current Android version Lollipop was aimed at visual aesthetics, Android M on the other hand, will mainly focus on optimization and enhanced battery life. So, for those who would like to know about the major differences between both the Android versions, this post will provide useful insight on what's new in Android M vs Android 5.1 Lollipop. But, before heading straight towards the differences, let us first have a brief introduction on both of these Android versions.

A Look at: Android M and Android L

Android Lollipop was introduced during the Google I/O conference – held on June 25, 2014 – and was officially named as Android 5.0 “Lollipop” on October 15, 2014. Android L, was arguably the major highlight of Google's annual developer's conference. It was a complete visual redesign that Android had seen since Ice Cream Sandwich (Android version update). In fact, overhaul of the user interface based on a design language, called as “Material Design”, was said to be the most prominent changes in the Android Lollipop.

A lot of bugs were found in Google's Android 5.0 version, however, an update was released in May known as Google’s Android 5.1 Lollipop to fix those bugs. Till date, the current Lollipop version has been made available for select devices running Android distributions such as Nexus. The successor to Android 5.0 Lollipop, codenamed “Android M” hasn't changed much in terms of look and feel, but focuses on making improvements in usability and stability.

A lot of new features were unveiled in the Android M developer preview, and it is expected that Google will likely add even a lot more features prior to the release of Android M, at the end of the year. So, for now only the early developer preview (or you can say beta version) of Android M is here. You'll have to wait for the final version release of Google's software update. As discussed the new Android version is said to bring forth many new changes such as better battery life and much more, ensuring to provide an optimal core user experience of Android.

Basically, Android M will provide familiar visual experience just like Lollipop, but it will be better compared to its predecessor Android L. The next Android software update will be a free update for all of the Android powered Smartphones, as well as, tablets. The Android M beta has been made available only for “Nexus 5, 6, 9 and Player”. However, this update will arrive somewhat late for the mainstream manufacturers Samsung, HTC, and others (i.e. somewhere around December, or most likely in 2016).

Android M vs Android L: What's the difference?

So far, we've discussed about the key aspects of both Android M and Android L. And now, it's time to unveil some major highlights of the ultimate battle between the Android versions.

1. App Permissions Will Get an Overhaul

The long overdue app permissions model will be getting overhauled. Prior to the release of Android M beta, requesting permissions for apps in Android has been a nuisance for users, since apps asked for way more information than needed. However, with Android M, the control of the app permission system will be in the hands of the user.

Unlike the previous Android versions that requested for permissions at the time when apps (like Location, Camera, SMS, etc.) were being downloaded, Android M will request for app permissions during runtime. Simply put, you can now ask for the permissions at the same time when you'll try to use some feature, and not during the installation of the app. And, you don't need to agree to the permissions that seem senseless to you.

For example, the “WhatsApp” will ask for your permission first, if it can use your microphone for recording a voice message. So, in case something wants access to your application, you'll have to approve the permission.

2. Google “Now On Tap

Google Now is a voice-enabled personal assistant that gets right information – related to weather, traffic, and other data based on your interests – exactly when you need it. With the new Android software update, Google Now will get better. Android M, will come shipped with Google Now on Tap that will help enhance the user search experience, by providing them with real-time context.

In simple words, Google Now will help provide content – right where you're – without having to navigate from one app to another. What's more, you no longer will have to look up for the information, as Google Now on Tap will deliver the desired information to you. You just need to press and hold the home button – whenever you need to find something – and Google Now will provide you with information – that you would likely search for anyhow.

For example, in the middle of using an app or when reading an email, you might receive a prompt from your friends asking you to accompany them for a movie. But, what if you would like to have more information about that movie. Simply, long-press the home button (a shortcut) will make Google Now appear on your device screen, offering useful data based on your needs.

3. Android Pay – The New Improved Mobile Payment Solution

In order to compete with the popular payment solutions such as Apple Pay, Google has introduced a new mobile payment solution called as “Android Pay” for Android M. Although, Android Smartphones have a payment solution known as Google Wallet, but it has been a failure. Android Pay is compatible with devices that comes with NFC capabilities.

The new payment solution enables merchants to make their phone connect to terminal equipped with touch-payment, and make them receive a digital receipt. You can use the Android Pay app as a credit-card locker, but you don't need to open up apps to make this app work: you just need to touch the app and make the payment. Google said that Android Pay will be accepted at more than 700,000 US stores shortly, however, nothing has been said about availability of Pay on other markets.

With Android Pay, you'll be able to choose the card that can be used for payment across multiple devices, and you won't have to unnecessarily provide information for the transaction. The new payment solution will be making use of virtual account numbers for presenting users' account information, which will add an extra layer of security to the process.

4. Fingerprint Support Will Be Native

With Android M, the long awaited biometric fingerprint support will make you capable to compete with iOS “Touch ID”. So far, the biometric fingerprint technology has been available with Samsung Galaxy X and Galaxy Note Devices only. However, devices with Android M will be able to have native fingerprint support via a fingerprint scanner.

In essence, Google will standardize the fingerprint scanners support for devices that will run on Android M. This new feature will make users pay for products with Android Pay in a highly secure way. Android M will make you unlock your device, or sign into any account, use Android Pay, and do a lot more things with the help of your fingerprint.

The new feature will not only bring convenience to how you access things on an Android device, but will also improve security.

5. Improve Your Battery Life With “Doze”

Another major highlight of Android M is "Doze". This feature is intended to improve user experience regarding battery life. As the name implies, it will make on your device (including the apps) doze off (i.e. sleep) when it is not being used. This will eventually help in improving the battery life of Android devices. Doze will get activated when a device is unplugged, or in the case when it is not in use, thereby saving battery life.

This feature, in particular, makes the apps stay in a low-power state or compels them to stay asleep. Once the device wakes, the apps can resume their normal activity.

With Doze enabled on your device, you can continue to receive important notifications such as Gmail alerts, texts, etc. In addition, you can even manage the apps that you would like to doze.

6. New Improved Google Photos Will Make Managing Photos a Breeze

Android M will have a standalone Photos app that will help you share and store images “independent of Google+”. It will come with cloud storage capability, and so you no longer need to worry about losing your photos – not even if you lose your device.

Google Photos app will help you automatically images in GIF format, slideshows, etc. that you can share with your friends and family. What's amazing about this app, is that will come loaded with features such as “Auto-Awesome” and “Stories”, which automatically provide suggestions about how you can use your images in a creative manner and so on.

Wrapping Up!

Android's new version has been unveiled during this year Google I/O conference, and has been named as “Android M”. When compared to its predecessor Android L, you won't see many changes in the visual aesthetics of Android M. However, the new Android software update is expected to introduce many useful features which include, improved battery life, a new mobile payment solution, better security feature and lots more.

While there is a plethora of features that have been introduced with Android M, but in this post, we've covered some of the major features that are hard to ignore.

Author Signature: Lucie Kruger is an application developer working with Mobiers Ltd, which is the leading Android app development company. She provides concrete information on latest information on mobile technologies like iOS or Android development processes.


Strength Of WordPress CMS For Websites And Mobile Apps


Strength Of WordPress CMS For Websites And Mobile Apps


Unless you have been living in another world for the past decade, you will be aware of the most-favored topic in the IT industry at the moment. Daily numerous articles influx the Internet and reveals incredibly useful guidelines that help us whet our skills to develop an outstanding website, which appears great and run expeditiously on mobile devices as well as desktops. This has certainly caused a need for a remarkable tool that can deliver a fantastic web solution which can work seamlessly on a variety of mobiles.


Although there are a whopping number of web development platforms available out there, WordPress makes a much sought after choice as a powerful hosting platform. It is extolled for its invaluable offerings across the globe and empowers one to create an effective website to support any niche business that he can imagine. Moreover, it also allows you to efficiently embrace a prolific mobile presence via mobile-optimized websites and mobile applications to leverage your business.


In this article I will unleash some fabulous features of the WordPress that help it buttress both website development and mobile application development. However, before delving deep into the fascinating idiosyncrasy of this open source web platform, it will be worth to understand why and how to choose a CMS (Content Management System).


Do you really need a CMS?


A Content Management System comprises a web application that helps keep the web content in a well organized manner via a database, and facilitates one to efficiently tweak the content and web layout in the back-end to generate a requisite visual appeal on the front-end. It, thus, allows one to create and edit his web content with a breeze. Here, content includes text, media files, web page layout and everything that needs to be tinkered to handle a website. Therefore, with a proficient CMS, you will not only able to develop a requisite website, but you will also be able to update and manage it with a flair.





How to choose a good CMS?


There are several aspects to consider while choosing a good CMS. It includes,

  • Fast and simple installation

  • Rich functionalities

  • Highly customizable

  • Easily-manageable administration interface

  • A great community support


However, the most imperative point to keep in mind is that it must offer you superior functionalities without compromising on the usability of your site. Thus, with a good CMS, you can easily ensure an intriguing UI and a great UX.


Having said that, let's have an insight into the WordPress CMS and find the compelling reasons that make it an ideal platform for mobile app and website development.


Exploring WordPress!


Miraculously, WordPress has grown into a multifaceted web development platform from a simple blogging tool. Loaded with several amazing features, it is often loved for the way it augments the creation of appealing web designs and high end functionalities.




Here are a few of the resourceful features of this fabulous platform.


1. Extremely Simple To Use

WP offers user-friendly and highly intuitive interface that facilitates one to create an aesthetic and powerful website with a great ease.


  • Powerful Dashboard - Its powerful dashboard further adds to its credibility, and makes it highly convenient for site owners to manage their website in a desired manner. Whether you want to add members to your site, enhance the functionalities or upgrade the look and feel of your site, it is absolutely simple with a WP-powered website.


  • Easily Transform Web Content To App – It not only makes website development an easy task, but also helps one to conveniently transform a WP site into a mobile application. For the folks who want to create a mobile application to scale up their business and reach a gigantic mobile user base, they can easily get their existing web content into their application if they are running their site on WP platform. Yes! Unlike other CMS, you can easily transform the content from your WordPress site to an app, without overhauling everything.


2. A Plethora of Plugins

The great potential of the platform to behave as a user-friendly tool has encouraged developers to create prolific plugins and themes, and contribute to WP development. You will have an overwhelming list of plugins that can be downloaded and installed from the WP repository to improve the functionalities of a website. You can add a requisite features and make your site more functional.


  • Helps Deal With The Proliferation Of Mobile - In fact, you can use a plugin to make your website responsive and run smoothly on any device. This further helps you cope with the drawbacks of the proliferation of mobile and ensure a surefire design for both mobile and desktop visitors.


  • Serve Myriads Of Needs – A WP site can efficiently cater to your business needs. You can integrate almost any type of function to your site by using an appropriate plugin. For instance, you won't need a webmaster for optimizing your site for search if you have installed an efficient SEO plugin. However, for a valuable outcome, you are advisable to thoroughly research the available options and streamline your choice by taking your ultimate goals into account.


3. Extensive Themes

The look and feel of a website or an application plays a crucial role in attracting visitors and encouraging them to further interact with the design. If you are not featuring a riveting UI design, you may lose your potential business.


From a personal blogging theme to a high-end professional theme, thankfully, WordPress gives a slew of fantastic options to spruce up your website in an awesome way. There is no dearth of beautiful themes in the WordPress repository. You can easily create a captivating appearance by using a suitable theme.


While there are great themes available on the web that embrace up-to-the-minute web trends, it is not hard to seek a theme that can offer a responsive design to your website and help you make your site mobile-optimized.




4. Prodigious Control - Personalize It As Desired

This blissful CMS is not constrained to anything, rather it allows one to create any kind of website that he can imagine. This is possible as it facilitates even a layman to tailor his website in a desired fashion.


  • Same Control For Mobile Applications – This astonishing feature of WP helps one to efficiently keep his application well updated with his website. This means, if you will create an app via WP site, you won't need to make strives to modify your app separately for every update in the website. Moreover, it also enables one to forward the push notifications from the site to the app for notifying the user about an update on the site.


  • Great Customization Support – Whether you want to customize a plugin or want to create a fresh visual appeal with a personalized theme, the WP platform makes a great choice. However, for an advanced modification of a plugin or theme, you must possess expertise in WordPress development.


Fortunately, today, since the platform is quite popular among the masses (over 23% of the Internet is WordPress powered), more and more developers are choosing WP development as their career. Therefore, in case you don't have knowledge and want to customize your site to boost your business values, you can hire an adept professional to proficiently accomplish the task.


This certainly leads to the next point.


5. Only Limited To Your Imagination

Whether you need a platform to develop a job board, an e-Commerce store, support desk or to create any type of web presence, WordPress is a marvelous CMS that bolsters web development while ensuring an ultimate mobile solution. You just need to scrutinize your choice and think of a solution that can bolster your business. Then, by using the appropriate plugins and themes, you turn a simple website into a powerful website with cutting-edge functionalities, tailored to meet specific needs.


6. Ensures A Complete Ownership – No Need To Reinvent The Wheel!

When you develop a mobile application from an existing WP site, you can reap the benefits of the existing built-in database structure and the site's UI. This can be done by implementing the site as a back-end. With this approach, you won't need to revamp the entire structure, but you can use the existing database structure that possesses a usable format for users, media, content, custom plugins and so forth.


Let's Wrap Up:

WordPress is no doubt an ultimate platform that has made web development an easy pie. Loaded with a list of blissful features, WP is not only a viable choice for developing a website, but also makes a great choice for developing a mobile application from an existing website. This will certainly help you target colossal mobile users and heighten your business values with a great precision and ease.


Furthermore, as the platform is supported by a massive community, it is well updated with the latest web trends, and embraces advanced features. Step on the WordPress peddle and enjoy the utile offerings of this free platform.


Author Signature: Addison Cohen is a mobile app developer working with Appsted Ltd, the leading mobile application development company which delivers most comprehensive mobile application solutions. He loves sharing latest information on mobile technologies like iOS, Android development processes.

Noclassdeffounderror Java

If you are a java developer, you definitely were experiencing java class not found exception with this error: noclassdeffounderror java . But what's behind this error?

We'll explain in next few lines:

Usually compiler tries to find a class within your classpath, but the class is not there. Therefore you're getting noclassdeffounderror.


If you are running a java command from command line:

1. Check included .jar files within your classpath

In windows environment type a command: "set"

Result should be something like:

CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
Path=C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporati
;D:\Prog\TortoiseGit\bin;C:\Program Files (x86)\Skype\Phone\
PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 10 Stepping 0, AuthenticAMD
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
TVT=C:\Program Files (x86)\Lenovo

another command: set CLASSPATH=$CLASSPATH$"c:\{yourdirectorywithjarfiles}"

This should add visibility of your jar files within the classpath.

Optionally, you can specify a classpath this way:

java -jar mypackage.jar -cp c:\{yourdirectorywithjarfiles}

Guest Posting / Blogging

We're looking for guest bloggers to write articles about web technologies, latest trends, e-commerce and online marketing.

If you are interested, please drop us an email to info at codegravity dot com. Thank you !

Magento Multistore and Multi Website

Author Bio :

Jason Roiz is Magento developer at OSSMedia Magento development services company and is also engaged in writing informative articles on best tools and tricks for Magento development. His write-ups have proved beneficial for a wider group of Magento developers across the globe.

It is common knowledge that Magento is always in sync with the requirements of merchants planning to take their business online. When it comes to looking for the most ideal content management system to build their eShop on, Magento springs up almost instantly.


The performance levels and the scalability of this CMS has already given the other well established CMS platforms a serious run for their money. And one such feature that further elevates Magento's significance is the ability to set up and host multiwebsites and multi-stores.

This new feature under the Magento hood is built with great attention to detail. The system that allows for you to build multiwebsites and stores is called GWS (Global, Website, Store):

  • Global signifies the installation in its entirety.
  • Website signifies the source that hosts multiple stores.
  • Store (or store view group): While a single website may be hosting several stores, but when it comes to managing the frontend-specific elements like categories and product displays, it can be done from the stores. The store view group lets you address the root categories and this is how you can make sure that you can set up more than one store on a single website.
  • Store View refers to the interface between the website and the end-user. It dictates how data is showcased on the website.

Let's Take an Example

Take, for instance, a scenario where in you want to open an online store that can sell shoes, electronics and grooming products. Moving forward, we divide our catalogue into 2 stores and 2 websites. Now, we can decide on selling the electronic good from their exclusive website while shoes and grooming products can be sold collectively on the other website. So, we buy domains and Now, in order to ensure that information about customers and the order-specific details on the two websites don't get mixed up, we turn off the data sharing feature between the two websites.

On, we can further build two stores – shoes and grooming products. Now, both, shoes and the grooming products entail a wide range individually in terms of the variety and the price bands they belong to. So, what we are ging to do is that we will segregate these two in different sub categories of their own so that we do not have to deal with an enormous single category. With the stores finally created, corresponding root categories will be assigned to them.

Besides, it would not be a bad idea to have a catalog for both your websites in 2 different languages - English and let's say, French. To implement the same, there is the need to create an English and French store view for all the stores.


The GWS system is utilized as a sort of tree by the Magento setup while putting up the store. The Global settings refer to the default settings that are providing the stores with their elementary structure. To explicitly state that a particular feature is only meant for the specific website or store view, we need to un-check the checkbox against that feature. For example, we can have PayPal as the payment system on both websites, but we want Nelnet to be there only on For implementing the same, we need to head for the configurational settings and in there, select from the store view's drop-down menu. PayPal can be enabled or disabled for this website.

Settings for The Store View

When you are through with all the steps involved in creating the store view, you then have to move to modifying the configurational settings in the layout, along with makes some tweaks to the visual interface of the store view. Customers can also resort to the drop down for switching from one view to the other. On every reload, you can substitute the current page with the alternate view, without having to refresh it completely.

This also makes it possible for us to run A-B tests on different kinds of designs so that you are able to figure out which design can lead to the maximum conversions for your business. the diverse designs in order to find which one tosses at you maximum conversions.

So, with a clear-eyed understanding of how multistore and multi websites work in Magento, it would be a great idea to transform this idea into something tangible.

<< Start < Prev 1 2 Next > End >>

Page 1 of 2


Articles about software development, new trends

web analytics

Conversion tracking, optimization services


Software development, PHP, Java, JEE, Spring, Hibernate