Hello Readers,
In this post I want to explain the Memcached with PHP.
Memcahced is open source distributed memory object caching system it helps you to speeding up the dynamic web applications by reducing database server load.
The Memcach...
Hello Readers,
If you want to remove the index.php from the url (http://host/folder_name/index.php) and show in this form
(http://host/folder_name/joomla/).
Use the following steps to do so:
1>Log into your Joomla dashboard (adminis...
prototypical inheritance... We have used many different types of inhertance which are based on classes but today we are going to discuss the prototypical inheritance in javascript. It is based on objects, you can simply inherit one object to othe...
Agile Methodology
Agile methodology is a method to deliver software at a very high speed with following benefits:
1) Less communication gap between the team members.
2) Requirement changes exists.
3) Requirements are more clear.
4) Custo...
Filters are used for preliminary processing of incoming data, and post-processing of outgoing data. Apache implements Filters only in Apache 2.0, higher by a filter chain which alters the traditional request processing phases. Although numerous f...
Copy to clipboard.. You can see this option in most of the blogs. You can simply click on the link and it will copy the text which set as target. Today we are going to discuss the implementation of this feature. We can see different ways to do th...
MySQL provides a storage engine called InnoDB. It is a default storage engine for MySQL 5.5 and later. InnoDB supports ACID-compliant transaction features, along with foreign key support. InnoDB is a general-purpose storage engine that is used fo...
Hi all,
In this, I am showing a simple hover underline effect using pseudo elements and just set transition at .3 second make width 100% on element hover.
See the below code with output -
CSS:
a, a:visited {
text-decoration: none;
...
If you want to make Cashiers in Point Of Sale in OpenERP(Odoo) follow the below mentioned steps:-
Step-1 Go to Point Of sale module and Click it.
Step-2 Go to Cashiers ->Cashiers
Step-3 Go to Create Button and click it.
...
How to serialize DataTable object in .Net
Hi,
While working in a .Net project, I am facing an Exception while serializing DataTable object using JavaScriptSerializer. The Exception I am getting is "A circular reference was detected while...
If you want to find out Access controls List in OpenERP(Odoo) follow the below mentioned steps:-
Step-1 Go to Settings Menu and click it.
Step-2 Go to Security button and Click it
Step-3 Access controls List and click it.
Ste...
Hello friends, I am sharing a generated keyframe with you . In this code I have set an animation on a DOM element . I have used insertRule for dynamically adding CSS and <style> tags for making it easier to remove the animation once the...
Cordova camera plugin allow user to select one picture at a time. However, we can show all pictures selected by gallery or captured by camera one by one by following code:
view file:
<div ng-controller=MultipleSelEx>
<div class=...
Liferay Service Builder provides users a way to customize input fields and model entities by specifying related information as model hints in a single file called portlet-model-hints.xml in projects docroot/WEB-INF/src/META-INF folder. But we nee...
While taking backup our goal is to keep the application, database system, and web site, in running condition while we are taking the backup.
Database backup technique can be classified mainly into two categories:
- Hot Backup
- Cold ...
Here the below code will show you how to inject the Properties in Spring using the spring.xml file. By using that we will inject the Properties Class object in spring.
Customer.java
package com.evon;
import java.util.Properties;
public...
Here the below code will show you how to inject the Set in Spring using the spring.xml file. By using that we will inject the Set object in spring.
Person.java
package com.evon;
public class Person {
String name;
String addr...
Here the below code will show you how to inject the Map in Spring using the spring.xml file. By using that we will inject the Map object in spring. -
Person.java
package com.evon;
public class Person {
String name;
String add...
Error messages area unit your 1st line of defense as a developer. you do not need to be developing code in PHP on a server that's not organized to show error messages.
However, confine mind that once your code is debugged and prepared to travel ...
Here the below code will show you how to inject the List in Spring using the spring.xml file. By using that we will inject the list object in spring.
Person.java
package com.evon;
public class Person {
String name;
String ad...
Hello readers!
If you have recently upgraded you PHP from PHP 5.3 to PHP 5.4 . Then it might be possible that your script is displaying a lot of error messages. If you want to hide these error you just need to change in your cakephp setup
Th...
Push Notification are the messages or information that are sent to users who have opted-in to receive them. For this, end user must opt-in to receive the alerts. 'Notification' means providing information. The use of push notifications in mobile ...
Inline Function:- The Inline function are those that can be expand at the time of compilation. inline function is a combination of macro & function. Either at the time of declaration or definition of function place the keyword inline before ...
"Find and Customize Keyboard shortcuts in Visual Studio"
As the use of shortcuts while development saves alot of time.
In this article we will see how we can identify and customize the keyboard shortcuts in Visual Studio.
Getting Started...
Hi All,
Today we will discuss in this Blog how we can Sign PhoneGap Apps.
First of all we need to create a new project
cordova create practiceProject com.example.practiceProject demoProject
cd practiceProject
Now mak...
Here below is the code for searching places by using place name.
I use api provides by google also know as google place api.
"http://maps.googleapis.com/maps/api/geocode/json?address="+CITY_NAME+"&sensor=true";
In response of it We g...
Database index help in speeding up the retrieval of data from tables. When we query data from a table the following process is followed:
-First MySQL checks if the indexes exist
-Indexes are used by MySql to select relevant rows of the ta...
Hello all,
Working with JQuery, many times we tries to search a particular parent element which may be a specific HTML tag (like div, para any other tag), and to do this, JQuery comes with some built-in function which allows us to find the par...
Hello friends,
As we have seen, cordova push plugin only provides access to notification action when we click on notification from status bar, but if we want to perform that action without clicking on notification we have to add some extra code....
With the help of javascript we can create changing clock time function. In the example given below I am using setTimeout function (changed other value) when clock refresh it will show the exact time once in every seconds.
<html>
<hea...
RECOVERY TESTING
It is the process of testing the application to check how well it recovers from crashes or disasters.
The steps involved in Recovery Testing are:
Introduce defect and crash the application Somebody will guide us as ho...
To create department in Human Resources module openerp follow these step given below:-
Step1- Install Human Resources module in openerp
Step2- create department in Human Resources module in openerp
and then go to Configuration -> Department...
I have written code to know free space in sdcard
Here I use StatFs class to do this.
I just multiple available blocks which I got from getAvailableBlocks() and block size from getBlockSize().
StatFs st = new StatFs(Environment.getExter...
If you want to make alerts in Lunch module in OpenERP (Odoo) follow the below mentioned steps:-
Step-1 Install the lunch module.
Step-2 Go to Lunch menu and Click it.
Step-3 Now go to: Lunch ->Alerts->Create->Schedule Date ->...
JSONP stands for JSON with padding. All the browsers follow the same origin policy. You can not send XMLHttpRequest to other domain. To prevent this security, we need to use the JSONP in ajax request. When we request a ajax call to the remote ser...
Here below I have written code for copy file from sdcard and paste it to another place.
I do this by using InputStream and OutputStream classes.
Your target file should exist before doing this task.
// your sdcard
String sdCardStr...
Hi all,
Below is an example of pure css loader. Using css animate I just rotate the div and change the border radius. Check the code for details.
CSS :
div {
height: 20px;
width: 20px;
background-color: transpa...
You can simply use below code to show the multiple markers on google map.
var arr = new Array();
function initialize() {
var i;
var Locations = [
{
lat:48....
Hi I am designing an android page which consists of payment gateway. I would like to implement payment in 2 ways.. Either by manually enter the card details or just scan the card with the help Of camera.. How would I do this if I scan ca...
Wordpress.. WordPress is most powerful CMS for blogging. If you have experience in blogging then you should know that images and videos are most important in blogs.
With the help of image gallery or video, we can make the blog more interesting f...
You want to build Multilingual website in wordpress but wordpress does not support that functionality. Don't worry...
Wordpress provides different plugins to convert your website in Multilingual. Basically you can make your website Multilingua...
Sometimes we have to write down the different scripts for different devices. Now a days most used devices are mobiles/tablets. If you want to get the device type which user is using then you need to simply add this script in your code and call th...
When we are automating the mobile application and set cron jobs at different time intervals then we do not start and stop the appium server manually. We should have some code that will run before our testcases ie they should be executed in the be...
What is Testing?
A process of finding or identifying defects in software is called software testing. It verify the functionality (behavior) of the application(software) against requirements specification. It is also a process of execution of t...
The Nullable Types in C# language:
The nullable data types were included to value data types with C# language in the year 2005. This feature allows us to assign the null value to a value-type variables. You need this functionality with databa...
Except from the rules which C# compiler enforces, there are common conventions for writing code in appropriate way.
If we use these conventions, it will make our program consistent and easy to read for others.
Although for compiler...
Hello all,
In C#, we use delegates, which are nothing but the type safe function pointer which means that a delegate points to a function and whenever we invoke the delegate, it will call the function for which it holds the reference.
The s...
Hello all,
To understand the concept of method hiding C# lets consider an example where we have class (User) that have some properties and methods.
Ex.
public class User
{
public string fisrtName { get; set; }
public string last...
Hi,
In this session I am going to cover, How to use sub total feature in openoffice calc and Excel.
Let's take an example-
I have a data of Employees Name, month of joining and salary. I want to get Grand total and subtotal. Grand total w...