
Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Adding a message in an Azure Queue
Azure queues are helpful in background processes. It provides reliable messaging solutions for independent asynchronous communication between components in application.
Here is a sample code for adding message in a queue
//Create ...
How to create print template of the survey in OpenERP
In openerp to create print template of the survey means that first check response or survey and if response is available then print this response otherwise print survey form and the current row, from the database cursor and also the current user&...
Bind RSS Feeds to Repeater Control
Hi All,
RSS feeds are the Rich Site Summary feeds, benefit users who want to receive timely updates from favorite websites or to aggregate data from many sites. Here i am using ABC News RSS feeds to get the news Update. A particular RSS feeds ...
How to create Picking List when planned date if it is greater than value in OpenERP
To create the picking list of User defined argument and to the calculates planned date if it is greater than value and than if condition is true and its also user defined argument so you have to validate the Name of field and also Value of field ...
How to fetch data from database in PHP
For fetching data from database in php, first we have to create a connection from database by using following code.
<?php
$servername = "localhost";
$username = "root";
$password = "pass";
$database = "demo"; //this wi...
AngularJS http (ajax)
AngularJS has provided a $http service that works as an ajax call in jquery. It performs a function of reading data from the server. $http makes a call to the database and retrieves the desired data or records.
How to use?
1. you need to in...
How to make a simple settings page in android? (Duplicate)
I'm new in the "Android-App-Dev"-Scene and got one question:
How do I easily make a good clean looking settings page for my app?
There are some kind of headlines and some kind of big buttons on you can tab to go to a new page....
jquery validation method
jquery validation is a pattern of checking of input desired code user need a standard library of validation method and include the file into the same folder. it is a process of ensuring that computer input is clean and correct by using the rules ...
How to to use Array object sorting method in java
In the below example I have used ArraySorting method to sorting array object. Here I have initialized Object array and then I have used Array sorting method and
java.util.Arrays.sort(Object[]) method to sort object ArrayList. You can see b...
jQuery Ajax data types
The type of data you expect to get back from an Ajax request in jQuery generally requires some instruction. By the method name the data type is specified and in different cases it is provided as part of a configuration o...
Difference between PHP4 and PHP5
PHP is a server side scripting language which is used to create dynamic web pages.
PHP5 ia an updated version of PHP. PHP4 is no longer developed.
There are some additional features in PHP5 due to which it is used widely.
Some features a...
How to make a simple settings page in android?
I'm new in the "Android-App-Dev"-Scene and got one question:
How do I easily make a good clean looking settings page for my app?
There are some kind of headlines and some kind of big buttons on you can tab to go to a new page....
How to create project site using rest API in SharePoint
Every project have its own SharePoint sites in which each project has its own documents, tasks,project details,Deliverables, issues and so on.
For creating that sites first we have to set permissions from settings.First go to PWA Settings > C...
CSS Combinators
Combinators are used to define the relationship between the selectors.
There are four different combinators in CSS3:
descendant selector (space)
child selector (>)
adjacent sibling selector (+)
general sibling selector (~)...
What is Daemon thread in java ?
In java any thread can be a Daemon thread. Basically daemon thread are those that works in background to support or to provide services for users threads running in same process.
If there are no any user threads available while daemon threads ...
What Is Benchmark Testing In Software Testing ?
Benchmark Testing:-
Generally benchmark testing is a fragment of the SDLC (Software Development Life Cycle) which includes to the both DBA (Database Administrator) and developers or programmers to identify the latest performance and renovates ...
How to create CollapsingToolbar function
In the below example I have created Collapsing Toolbar function. Here I have created CoordinatorLayout and created all layout in CoordinatorLayout. Now I have added AppBarLayout, CollapsingToolbarLayout, ImageView, Toolbar, RecyclerView and Float...
Display:none vs Visibility:hidden
Display:none doesn't display the elements on the page and doesn't occupy any space.
For example :
<!DOCTYPE html>
<html>
<head>
<style> </style>
</head>
<body...
How to Compute stock value and stock quantity in product stock in OpenERP
When we create the product(real and virtual) and computes the stock value and quantity of product in stock and validate than the product(real and virtual) is also maintained in the stock and updated in warehouse and also returns the dic...
Implementation of insertion sort in java
In java we have different sorting algorithm for insertion of element in an array. Let's talk about insertion sort today insertion sort is a uncomplicated algorithm, it raise the ultimate sorted array one item at a time. It is less coherent on...
How to create Risks,Issues and Deliverables using CSOM in SharePoint
For creating list item, we have to use ListItemCreationInformation
First we create list of Risks
using Microsoft.SharePoint.Client;
context = new ClientContext(projectSiteUrl); //pass your project site url
context.Credentials = ...
What problems does AngularJS solves?
AngularJS is a framework ( client-side ) for web applications that embeds HTML, CSS and Javascript. It basically focuses on:-
1.Coding data access, Reading, form validations - are some functions in which many people are not good at while doing...
Java Strictfp Keyword
Java Strictfp Keyword
When operations on the floating-point variable are performed in Java, the precision may differ from one platform to another platform. To overcome this problem,Java programming language provide Strictfp Keyw...
Aggregation in Java
Aggregation in Java
Aggregation in Java can be defined as relationship between two classes in which one class contain reference of another class therefore aggregation represent HAS-A relationship. An aggregate class containing reference of ano...
A simple registration and login form and connectivity through database in php
For Javascript validation please refer this link: http://findnerd.com/account/#url=/list/view/Simple-Javascript-form-validation/15856/
FOR REGISTERING: Here is the code for registering the user and saving data in data.
...
VIRTUAL FUNCTIONS IN C++
Virtual function is a member function in base class, which is redefined in the derived class.
Virtual function is declared by using the keyword virtual.
Syntax of virtual function:
class main_Class // denotes the base class of v...
Comparison and logical operator in php
Comparison operator is basically used to compare any two variables. Whereas the logical operator is basically used for logical operations such as AND, OR, NOT. We know that there is precedence for the different operators we have a particular...
How to create models in dijango
To create models in dijango to following thses step in given below:
Step1- First you check your mysql is proparlly working in your systems.
Step2- Than DB setting in the settings.py in your project like as
DATABASES = {
'default': {...
Polymorphism
Polymorphism in php
Implementing the polymorphism principle can be done in either of two ways, i.e., either choosing abstract classes or interfaces.
/* Program to demonstrate a polymorphism principle in php */
<?php
c...
Simple Javascript form validation
Here i have written JS code to validate form, for example:
checking empty fields, checking email, password user-name etc.
function valid()
{
var name = document.getElementById('name').value;
var passwd = document.getElementById('...
Error: Cannot change version of project facet Dynamic Web Module to 2.3
While working on maven project, encountered an error:
Cannot change version of project facet Dynamic Web Module to 2.3. line 1 Maven Java EE Configuration Problem
When I tried to run the project it was running fine but always giving t...
Captcha Code in php
Captcha stands for “ Completely Automated Public Turing test to tell Computers and Humans Apart”. A captcha is a small program which is used to develop a software program that can create and grade challenges most humans can pass but n...
Program to count no of words from given input string.
// C++ program to count no of words from given input string.
#include <stdio.h>
#define separator 0
#define word 1
unsigned countWords(char *str) // returns number of words in str
{
int state = separator;
unsigned wc = 0; // w...
High Expectations Vs Perfectionism
I was recently messaging a friend and she told that she needed lots of things, and needed them all to be to be great. I guess that is the first thing I need to discuss today, trailed by the thought with respect to our desires.
Many e...
Scala
Scala is a programming language and full form is Scalable language. It first released in 2003.
Scala is object-oriented and functional language. Many companies that depend on Java switching to Scala to enhance their development productivity, s...
How to create thread
Thread:
A thread is a light-weight process which can run independently. A java program can contain multiple threads. Every thread is created and controlled by the java.lang.Thread class. We can create threads in two ways:
By extend...
Sting Builder vs String Buffer in java
We know that Strings are immutable or constants but String builder and String buffer are basically used to provide dynamic implementation of Strings.
But String Builder is not thread safe that means more than one process can access or modify t...
$watch() , $digest() and $apply() in AngularJS
There is an important concept of angularjs $scope function like:
$watch
$digest
$apply
As to understand angularjs more better we have to go throught the central function in angularjs.
Lets discuss them one by one:
...
How to create CollapsingToolbarLayout with using Recyclerview
In the below example layout I have created CollapsingToolbarLayout with using Recyclerview. Here first I have created CoordinatorLayout created all layout in CoordinatorLayout. Now I have added AppBarLayout, CollapsingToolbarLayout, ImageVi...
What is anonymous inner class in java and how to implement interface in annonymous class ?
Anonymous means no name, a class with no name called as Anonymous class. But is has advantage like to create an instance of class in one step.
We can'e create an object of this class since it has no name.
An anonymous class can implemen...
Reference and Pointers in C++
REFERENCE--- A reference variable is initialized first. A reference variable is defined to indicate a variable and that reference variable can't point to the another variable. References can not be NULL.
e.g of reference variable is:...
How to Change User Active/Suspend Status on dropdown change in cakephp
Hello Reader's!,If you want to change User Active / inactive status on click or dropdown change,Then I wrote this blog for you.
first you need to create dropdown box which contain user status 0 for Suspend 1 for active.
Example:
<...
Different ways of using array filters in AngularJS
AngularJS provides a filter feature to format input value and an array based on certain criteria. Here, we will see the ways of array filtering.
For example-below is the array:-
$scope.movies = [
{id: 1,title: Airlift, genre: real ...
Transient varialbe in java
We know that serialization is the process that converts java objects or data into bytes stream on one end and on other end we deserialize it that means convert bytes into orignal data.
Serialization means to save data after serializa...
How to use different font style in android.
To make use of different font style in your android project follow the steps mentioned below:-
1) Create an Assets resource directory in the main Directory of your project.
2)Now download the font style that you wish to use in your project ...
Passion Is A Choice!
Passion and an personal association with a group of people are the two main things that make a leader awesome. Sometimes passion can be seen as scary, but at the same time it's energy that makes people listen to what you need to say. Ke...
Difference Between Verification And Validation
Hello Readers...
By this blog i am trying to explain the difference between the ‘Verification’ and ‘Validation’. I hope this way of presenting is very easy to understand for all the test engineers.
...
Management Vs Leadership
It's difficult to work in the area of creating/developing leaders without tending to the issue of management versus leadership. Much discussion has been had about what each of these words means in the business world and which one is more esse...
Static testing v/s Dynamic testing
Static Testing:
Static type of testing can be performed manually or by a set of tools on the code of an application or program which are not to be executed. It checks the code, requirements and design documents and generates reviews, comments ...
Enum in java
Enum:
It is a special data type used to define fixed set of constants . Enum can contain constants, methods etc. We can use enum with switch statement easily. Enum keyword is used to create enums.
Example:
class EnumDemo{
pu...