
Search In
SharedPreferences are used to store primitive data types in Android such as int, long, float, string. SharedPreferences have an added advantage over storing data in singleton class as Singleton class can store data and available throughout the app bu
Hello Guys
Liferay allow to create custom portlet to write own business logic or controller code. Portlet is a small application of the liferay.
When we need to define rules on the custom portlet, So we need to add custom portlet in liferay contr
What is namespaces
PHP introduce NAMESPACES in 5.3 version. Namespaces are virtual container/directory to organize code structure. In php we can not share same name for two classes. For example if you are using user management plugin for your proje
ASP.NET MVC 5 is the a major new release which has introduced new features as below:
1) One ASP.NET
On selecting a New Project from the VS 2013 unlike in previous version we will see one template called ASP.NET Web Application.After you clic
Java Generics
It has been observed that many programs or algorithms are same irrespective of data type they are applied to. To overcome this generics were added by JDK 5.Generics allows to define algorithms once which then can be applied to any data
JSON is used to make a key value or collection pair of values while performing transfer of data.
So i am inserting values into database using ajax call in which i first have created a user class for defining entities
Ex:
public int id;
In object oriented programming Association and Aggregation shows the relationship between the classes. Relationship in OOPS defines the connection between the objects. It basically shows how objects are attached to each other and how they will operat
The significance of the Finalize method in .NET
In .NET the clean activity for objects i.e when they are no longer required is done by Garbage Collector. But unmanaged resources (for example: Windows API created objects, File, Database connect
array_combine and array_merge are the array functions in PHP that are used for different functionalities both are different from each other both have different functions.
Merging the elements basically means to merge one or more
Repository take solrtemplate to execute solr operations. Since we have multiple cores so we need to create multiple template and multiple repositories for each core. Following example explains it with 2 solr core
Repository and custom implement