This tutorial will help user to learn, how to implement create, retrieve, update, and delete operations
without refreshing the web page using Ajax and simple php.
This is the html file named view.php
Ajax | CRUD
...
In this blog you come to know about making of HTML table by div tag. It shows how display: table-cell and display: table in CSS3 works. The styling is used to make elements, such as tags behave like and tags. so tags should be reserved for d...
Hello readers!
Changing Add to Cart Text is not a big issue, below I am providing the method to change this text to your cart.
So, to change add to cart text you can use single_add_to_cart_text filter, after adding the filter connect it to your...
CodeIgniter can be installed in four easy steps on your ubuntu system:
1- Download CodeIgniter package and Unzip. Download link http://www.codeigniter.com/download
2-Upload the CodeIgniter folders and files to your server. Normally the inde...
Express.js is a framework that is use in the Node.js. It is having the Jade file which is similar to HTML file.
To install Express first we have to include the express version in Package.json file.
Inside Package.js
{
"name": "pong",
...
Hello Readers,
The most important thing to use Node and Socket is to make connection. For this we should have two files one is Client.js(i.e. Client Side Javascript file) and other is Server.js(Server side javascript file).
Under Client.js ...
Overview
This tutorial will guide you about Master Data Management Hub, Informatica. It is intended to provide Project Stakeholders, Business Users, Business Analyst and Technical Teams with the technical design and configuration of the
...
Node.js is a Javascript platform for server-side programming that allows users to build network applications quickly.
In order to get this version, we just have to use the apt package manager.
sudo apt-get install nodejs
We need to ins...
Simple Javascript Form Validation
Why we need javascript validation :
1: To validate user input on client side.
2: Force user to enter required data.
3: Remove dependency on server side language to validate data for primary valida...
Hello Readers,
To run the applications based on Node.js we need a "Package.json" file in the root directory. Package.json file tells the dependencies requires in the project. Without this file you cannot run the project.
{ "name" : "pong"...
Hello Readers.
Node.js is very popular in market in creating of real time applications.Here's the example of how we can create the server in our local system to run the Node.js applications.
var http = require('http')
, static = re...
Create a file Using Php
In PHP,we can use the fopen() function to create a file.
If we use fopen() on a file, it will create file(if that file does not exist) by given named.
Syntax:
fopen("testfile.txt", "Mode");
Both arguments are ...
The Liferay Search container can provide us the many features using that we can simply show the data in grid format and apply pagination on that. We can configure other multiple tags inside the search container.
Syntax:-
<liferay-ui:sea...
Hello reader's !
If you want to setup first time launch of an iOS app.
Using this code the terms and conditions will appears or shown only the first time of app launch.
here is the code below.
I have two UIViewControllers (FirstViewContro...
Sorting Arrays
PHP offers a host of functions for sorting arrays.
An initial a means the function sorts by value but maintains the key/value pairs association.
An initial k means the function sorts by key but maintains the key/value pa...
Method Referencing
Method reference is feature related to lambda expressions. Method references are more readable form of Lambda expressions for already written methods. :: operator is used to define method reference. It provides a way to a ...
In Liferay we can Validating the user submitted form or Validating AUI input fields. You have to add aui:validator tag and specify the appropriate attributes which we define with name property for ex: required,minLength etc . The Below Example c...
In Liferay 6.2 we can use the forms with Alloy UI tags . The Alloy UI Tags can provide the way to do activity with Simple Alloy UI forms same as HTML forms tags. By the below Example we can show how to use Forms with Alloy UI.
Example:
<...
This is very important tutorial to READ EXISTING CONTACTS from device contacts list .There are some following steps to do this process.
Step-1 - Add a permission to open and read contacts from contacts list to your manifest xml file.
<u...
By the help of Supporting library we can show the AlertDialog like we have in Lollipop on below version.
For this you need to import AlertDialog from
import android.support.v7.app.AlertDialog;
And then show a AlertDialog like we do norma...
What is an Authentication
Authentication define as the process of verifying a person or any entity. The authentication is a process which compared the file in database to authorized the user information from their local OS. Only then User Pass...
In magento you can add custom shipping in your website by writing some custom code , lets first go through how shipping work in magento ,
When magento looks for available shipping methods, Magento first collects all available shipping methods...
Security Testing Security testing is basically a type of software testing thats done to ensure that system and application is secured. It reveals flaw in the security mechanism of an information system that protect data and maintain functionalit...
Custom Dialogs in android using DialogFragment:
DialogFragment is the fragment that shows dialog window on top of your activity.
We have to override DialogFragment class and implement onCreateView(LayoutInflater, ViewGroup, Bundle) to use ...
Brute-force attack:
It is a password-guessing attack that does not aim to decrypt any information or data,the aim of a brute force attack is to gain access to user accounts by repeatedly trying a list of different combinations of passwords, U...
If you wanted to monitor the data usage of your particular application than you need to know the pakage name of that application which you want to monitor.
So just add the method getDataUsage given below in your utility class and pass the conte...
Hello Tech Nerds,
I have created an app for Android devices and now I am looking to find out, how much Network usages is this app utilizing. or we can say that, how to identify the network usage of your particular application in android?
Pl...
To Pass the Structure as a function Argument we just need to Create the Object of the Structure and pass it as a argument to the funtion .
#include<stdio.h>
#include<conio.h>
struct anp//Name of the structure
...
In this tutorial I will tell you about recognizing, decoding and encoding with 64 base format.
Base 64 Identification:-
It allows binary data to be transmitted in plain text format without risk of the data.
It is commonly used for encodin...
Hi Friends,
Please help me with the error ,when I am opening my database(pg-admin) in window server 2008 R2 It is giving me below mentioned error.
Error connecting to the server:received invalid response to SSL Negotiation
SmsManager use for SMS operations like sending information to the any given mobile device. We create this object by the below method.
SmsManager.getDefault()
SmsManager sManager = SmsManager.getDefault();
Then we can send any data by u...
We can customize our video, audio or image file with help of tools like FFmpeg , ImageMagick
FFmpeg is very useful command-line tool that converts audio or video formats.
ImageMagick is a tool which can be used to edit, create, compose, o...
For creating custom form fields please use the following steps:
Step 1:Add all the custom fields to the following XML file
components/com_library/views/book/default.xml
<fields name="request" addfieldpath="administrator/components/com_...
Please help me with the error When I am restarting my OpenERP server. It is giving me below mentioned error..
Internal Server Error (database) werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/...
HTTP, Hypertext Transfer Protocol, is the medium through which clients and servers can communicate. Basically, it works as a request-response protocol between a client and server. When user clicks at any link, types in a URL or submits the form, ...
Variable names starting with _ are instance variables of that class. self.variable is calling a getter/setter method on your object.
The class must be key-value coding compliant for the property, as specified in Ensuring KVC Compliance.
Password Change Functionality:- Applications should have the password change functionality, to allow the users to change their passwords if they want & to allow periodic password expiration (if required). User should change their password qu...
If you need to monitor your android device activities and you want to identify the current opened application name in that case you can simply create the method given below in your utility class. And call it whenever you want to get the current ...
There are various network type available in android, for example- 2G,3G GPRS etc.
If you need to find-out the current network type of your android device, than you just need to implement the method given below in your utility class :-
pu...
To use soap api to add a products of categories into root category , first we need to create a magento user with the permission to access the api.
Following code will be use to set products to root category
$soap = new SoapClient('http://m...
This blog will help to create a custom edit text on button click.This tutorial includes a xml file which hold a button after click on button create a layout parmas for edit text. Each edit text has different id and every times when you click, a b...
-moz and -webkit along with -o and -ms all are called vendor-prefix
These are the vendor-prefixed properties offered by the relevant rendering engines. (-webkit for Chrome and Safari, -moz for Firefox, -o for Opera, -ms for Internet Explorer)....
hello all,
I want to include a timer on a web page which is designed for taking online test like on this website whose link is as followed http://www.indiabix.com/online-test/aptitude-test/random.
Please suggest me how can I do that .
During my project work I was working on a code in which I was getting segmentation fault on initialization of two variables of float data type whose dimensions where 1000 cross 1800 for both of them, but when I declared the variables globally pro...
To show the custom attribute label and value in a magento cart we do the following
suppose attribute_code is myvar
it's ID/VALUE is 7 and LABEL = Myvar
create config.xml of module with the following code
<global>
<sale...
By doing following steps you can load the HTML file from the assets folder inside your application:-
1) Copy that HTML file inside your assets folder.
2) Define a WebView in your layout, like this
<WebView
android:id="@+id/webvi...
Sometime we need to send a invoice pdf in a invoice mail in magento, so here I am explaining how to add invoice pdf in invoice mail.
1) Override the app/code/core/Mage/Core/Model/Email/Template/Mailer.php file in your module
2) Add one prot...
Hi Reader,
If you want to create an animated button using css3, below is the code example.
Here I am posting some css 3 animated buttons just copy paste and enjoy the code ;) .
button {
font: inherit;
color: inherit...