
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
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...
AngularJS $apply
AngularJS $apply comes into play when it invokes digest cycle to watch the scope model changes. Angular wraps the function call within the $scope.$apply. It means it executes a complete new life cycle. If the execution of the function is normal, ...
PHP include and require Statements
The include() and require() function takes all the text in a specified file and copies it into the file that uses the these function respectively.
include will only produce a warning (E_WARNING) and the script will continue
require w...
How to create Circular Reveal Animation And Ripple Effect
In the below example I have created Circular Reveal Animation like chat app(Whatsapp). First I have created activity_main.xml layout, here I have added FrameLayout, all layout and attributes like LinearLayout, ImageButton, TextView, Vie...
Forget password in cakephp
Hello Reader's!,If you want to add forgot password field in your login page and send the forgot password link through mail Then I wrote this blog for you.
// first create a forgot password link in your login page and allow forgot password ...
LOGIN CONTROLS IN ASP.NET
Login controls are in-built controls which provides a user interface in ASP.NET for managing the verification of users for a website. The verification is done according to username and password.
Following are the controls in login control:-
...
AngularJS $digest
Since AngularJS has a popular concept of two way data binding. But how does it comes to know that a value has changed? Here comes the role of $digest.
AngularJS executes in cycles which is called as $digest cycle. Suppose we ch...
How to insert values into database in php.
Inserting data to a database would be possible by using SQL statements, specifically the INSERT command. Data can be entered into the database using insert query into the function, here is simple line of code that will create a database usi...
SQL wildcards
SQL wildcards are used within a table to search for data. Usage of wildcard characters in SQL call for SQL LIKE operator, which enables to hold a comparison between a value and similar values.
Following are the two types of wildcard oper...
Resize Image in CakePHP with Plugin
Hello Reader's!,If you want to Resize Image While Uploading in directory using cakephp ,then this blog going to help you to do this easily.
You need to Download Qimage plugin for resize your image (Download file attached Below)
after down...
How to create project in dijango-1.4
In dijango-1.4 to create project in under django framwork use the below commands step by step :-
Step1- First you have to check your dijango framework in proparly worked or not.
Step2- Than Go to the django framwork location:
...
how does foreach loop exactaly work in php
The foreach function in php will be used for a easy way to iterate over the loop and it is only used in array and objects or It will give you an error when you try to use it on a variable with different data type.
Syntax:
foreach(array_e...
Program to print missing elements that lie in range 0 99
The logic of the program is to use a boolean array named presentseen of size 100, the size is defined by macro LIMIT. The boolean array is used to keep track of array elements that lie in range 0 to 99, which is initially initializ...
How to install Djanog-1.4 with python in ubuntu
Use these step to install the django-1.4 in ubuntu
Step1- First check the python-2.7 version by use this commond
python -V
Step2- than use below link and install django-1.4 version
https://pypi.python.org/pypi/Django/1.4 ...
Algorithm for converting infix expression to postfix expression form
An algorithm to convert infix expression into a postfix expression using “Stack”. The purpose of stack is to reverse the order of the operators in the expression as it is used to hold operators rather than numbers.
POST...
jquery methods: addClass toggleClass and Remove class
jQuery has Basically three methods for CSS manipulation Following methods is explained using below example:
1.addClass() - Adds one or more classes to the selected elements
2.removeClass() - Removes one o...
Php sort function for arrays
In php we have predefine function for sorting the array according to the need of the user. Functions are defined below.
sort() - It is used to sort arrays in ascending order
rsort() - It is used to sort arrays in descending order
...
Session in php
Session is used in php to store information with the help of session variable. By creating session we can use that information across multiple pages. When we create an application we write the code, do some changes and then we close it our s...
Breakthrough
What is being "trapped"? You've heard people describe this frequently as how they feel when they are either stuck or when they have made an undesirable turn in their expert/professional and personal journey excursion.
Are you exa...
Understanding Angular $watch
AngularJS has a concept of powerful data binding. It accomplishes this by keeping a watch on its scope variables. When we change the the variable on $scope object, the $scope object gets automatically changed and vice-versa. Most of the time angu...
Insert data into database from form in PHP
Below is a form which contain id field, name field, phone number filed, gender radio button and we are sending these data by using post method.
<form name="user_registration" method="post" >
Name: <input type="text" name...