
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
Non-Semantic Elements and Semantic Elements in HTML5
Non Semantic Elements:- Traditionally, developers have implemented non-semantic elements with a class attribute to define the structure and express the meaning of content. It tells nothing about its content. The element has no special meaning at ...
Html5 new input attributes
1)AUTOCOMPLETE:- AUTOCOMPLETE attributes is having two features either on or off. If autocomplete is on then the browser automatically complete the values based on values that the user has entered before. This attribute works with form and the fo...
Difference between Joomla and Drupal
Hello Readers
Below are some points to differentiate between the Joomla and Drupal:-
Joomla uses plugins components and modules while Drupal has a module only.
Joomla has lower technical curve while Drupal has high technical curve.
...
Component & Helper in Cakephp and why are they used?
Hello Readers
A component is an independent piece of code written for specific task in cakephp that can be used for Emails, RequestHandling etc.
Components is basically a package of logics that are shared between controllers. User also crea...
Basic Functional Test Scenarios for the Mobile Devices
Hello Readers,
By this blog, I am sharing some common functional test scenarios for the mobile devices. I hope these will help in the time of functional testing on the devices.
Some of these scenarios are mentioned below:-
Verify that all ...
How do i pass 2 or more variables in a URL
private void doAssign() {
String nameStr = fname.getText().toString();
String phoneStr = phone.getText().toString();
String bikeStr = bike.getText().toString();
String details = nameStr + "," + phoneStr + "," + b...
How to show hidden files and folders in Mac OS X Finder
Hi Readers!
This blog will help you in displaying hidden files and folders in MAC OS X Finder.
Please write below 2 commands one by one in terminal, and then open Finder again
defaults write com.apple.finder AppleShowAllFiles YES
kill...
Adding Blur effect in swift
Hello friends,
To add blur effect in swift you may use the following code:
IBAction func blurImage(sender: AnyObject) {
// 1 Create an object of UIBlurEffect,you may change the value of style as per your requirement
var darkBlur = UIB...
Features of cakephp
Hello Readers,
Below are some of the features of CakePhp:
CakePhp is basically a framework which is based on MVC pattern i.e(model view controller).
Cakephp is compatible with php version 4 and 5 plus.
Cakephp have built in validati...
Challenges for QA with agile software development
There are many challenges for the QAs when any software development go through the agile methodologies. Below are mentioned few challenges which are taken by the QAs :-
Probability of errors or mistakes are more in the agile methodology for ...
How to load data on scrolling top using angularjs?
First you need make a directive for this.
mainApp.directive("loadMoreData", [function() {
return {
restrict: 'ACE',
link: function($scope, element, attrs, ctrl) {
// alert("check");
...
Compare two dates with JavaScript.
If you want to compare two dates, the Date object will do the following purpose. This describes the JavaScript Date Object including properties, constructors, and methods.
Here is the code example :-
var d1 = new Date();
var d2 = new Dat...
Agile Test Plan
Dissimilar as waterfall model, in the agile model, test plan is designed and renovated for all release. There are many kinds of testing involved under the agile test plan, performed in that iterative as test data prerequisites, framework, test re...
Storing objects in local storage.
If you want to store Javascript objects in local storage, you can use HTML5 local storage.
Here is the code :-
var dashboard-data = { 'one': 1, 'two': 2, 'three': 3 };
// Put the object into storage
localStorage.setItem('dashboard-data'...
Parse JSON in JavaScript?
Suppose you have response somewhat like this:
var response = '{"result":true,"total-count":1}';
var getValues = JSON.parse(response);
document.write(getValues.result + ", " + getValues.total-count;
You can simple use JSON.parse() method to...
What is the scope of variables in JavaScript?
Scope is the set of variables, objects that you have access to.
Here are some examples that will explain you about scopes :-
1.A globally-scoped variable
var a = 1;
// global scope
function one() {
console.log(a);...
How to use PHP inside the Javascript
Hello Reader's!. If you having the JS file and you need to do some php coding inside the file, Then you can use the following coding standard:-
<script type="text/javascript">
var jsVvariable = <?php echo json_encode($phpVariable); ?...
Event binding on dynamically created elements?
Suppose your page is creating elements dynamically with the class name egSample, you need to bind the event to a parent which already exists.
You need to use the .on() method to implement this task. Here is the syntax of how to use it :-
....
I want to convert the query php code into the Prepare statement php code
Here is my query code, How can write same code in the prepare statement php.
<?php
header('Content-type : bitmap; charset=utf-8');
if($_SERVER['REQUEST_METHOD']=='POST'){
$encoded_string = $&#...
BLE Packet delay
Hello Everyone, I have been testing BLE on android. I have observed a significant delay between received packets which appears randomly. I am receiving 24 bytes and the delay between certain packets is random and high. The delay is between 20 to ...
Adding Boolean field in taxes and add those taxes in which the field is true in purchase order.
I want to add a boolean field in account.tax and then in purchase.order.line i want to create a new field in which those taxes which are marked as true are calculated . Thanks for help in advance.
how to stick posts to their respective posts in php&mysql
Guys im trying to join a comments table to posts table using the following query in a method.
public function feedView($session,$friend,$updateid) {
$sql2=" select u.update_body,u.author,u.time,u.title,u.account_na...
What to pass as parameters to the Url class?
There are n number of situation where we want to pass parameter in URL and use that parameter in our controller.That can be easily explain by using example:
There are few steps which I have implemented that are:
Step 1:First we will define...
Laravel 4 Eloquent Query Builder - Complicated joins with variable
As we all know joins play an important role in any project . So Laravel 4.x also provide Eloquent Query Builder in which we are able to use Complicated joins with variable.This can be easily explain by using example
Example:
I managed to fi...
How to remove class in Jquery?
JQuery uses a built-in .removeClass() method to remove a class.
For example:
<div class="demo">Hello </div>
To remove demo class in JQuery you need to execute the following code:
<script>
$( "div" ).click(func...
laravel 4 artisan how to rollback to a specific migration state?
There are n number of command in laravel 4.x which can help us to perform any action . In laravel 4.x we can rollback our php artisan command. The command to rollback to a specific migration state is
You can:
1)Rollback The Last Migration ...
Tools For The Cloud Testing
Tools For The Cloud Testing:-
There are many tools which are using for the cloud testing. Many types of testing are executed by these tools. Please find the name of few tool related with the cloud performance testing and cloud security testing m...
Change name of Laravel's created_at and updated_at
As we all know when we create table using php artisan and migration. Laravel create 2 column in the end of the database that column are created_at and updated_at .
We have a situation when we want to override these two names created_at and upd...
7 Useful Tips to Draft Facebook Updates for Local Business
Promoting a business on Facebook helps a lot to make the presence of your business among the targeted audience, however the way of marketing differs with respect to the type of bus...
Different Types Of Challenges In Cloud Testing
Different Types Of Challenges In Cloud Testing:-
There are more challenges in the time of cloud testing. Few challenges are mentioned as below:-
Short notice period
Data Migration
Data Security and Privacy
Enterprise application Integrat...
Send Email with an attachment in Drupal 7
If you are confused and trying to figure out how to just simply send a mail with and attachment using drupal_mail(), with a given $body and $subject, this below code may help you.
/*hook_mail($key, &$message, $params);*/
//for detail ...
Can I Install Laravel without using Composer?
I am unable to figure out as to how I can install or use the Laravel PHP framework on any webserver without relying on the need of using Composer (PHP package/dependency manager) every time.
I am making efforts to gain insight into PHP and fra...
How to get the current URL inside @if statement (blade) in Laravel 4?
In Laravel 4.x we have many predefined function which will help us to solve basic requirement. For getting the current URL inside @if statement (blade) in Laravel 4? are very easy.Syntax and Example for getting the current URL is:
Syntax: Th...
How to Install LAMP in your Fedora 23 Workstation?
Installing LAMP (Linux, Apache, MariaDB and PHP) on Fedora 23 Server and Workstation
We all know that LAMP goes a long way in hosting a website and honing your PHP programming skills. LAMP is basically a package of Linux, Apache, Mysql/MariaDB...
Laravel form model binding
Form Model Binding is one the important feature in Laravel 4.x. I am reading about this feature from the below link.
http://laravel.com/docs/html#form-model-binding
I have a situation where " The model (User) I want to bind in my form has a s...
How to download a file with android.
Downloading in android devices i.e receiving data from remote system. In android devices Download manager is a system service that is used to download and manage any type and size of file. We have two nested classes first is DownloadManager.Query...
How can I get the session ID in Laravel?
In some situation we need session id. In Laravel 3 and Laravel 4.x we have predefined function by which we can get session id. In laravel 3 we will get session id:
Laravel 3:
$session_id =_COOKIE["laravel_session"];
Laravel 4.x:
$s...
How do I create a RESTful API in Laravel to use in my BackboneJS app
We have a situation where we want to create a RESTful API in Laravel 4.x and we have to BackBoneJS in my project .By using below step we can make RESTful API easily using BackboneJS.
This is an example for creating an API that stores bookmarks...
How to set a default attribute value for a Laravel / Eloquent model?
Laravel 4.x provide n number of services to solve basic issues. By using Laravel 4.x we will easily set a default attribute for a Laravel/Eloquent model.
To achieve this we have to define value like below example:
Example:
protected $def...
Ajax Call using Jquery
To call ajax you need to execute the following code:
$.ajax({
type: "POST",
url: 'pagename.php', //location of the server
data: varData, //data send to the server
...
Laravel Controller Subfolder routing
Before I have written blog how to add sub-folder in our controller but not mention that how we will do Controller sub-folder routing.As we all know that routing plays an important role in any project. In Laravel 4.x sub-folder routing can be don...
How to implement Drawable Animation in Android.
To implement Drawable Animation in Android follow the steps :-
1) Prepare a series of images with the individual frames of your animation. Add the images to your projects drawable folder.
2) Declare a XML file that defines the animation se...
Compare two Date object in Java
Sometime we need two compare two dates like which Date object's time coming first or last.
Here is the code to compare two dates.
Date date1;
Date date2;
if(date1.before(date2)){
System.out.println("Date 1 is before date ...
Save and retreive text from text file
Hi all,
If you want to save anything in text file or any kind of file than you can follow this code. This code will save text to textfile in your application directory.You can retrieve text from save file later on .
NSError *error;
NSStrin...
Make HTTP request in swift using ALMOFIRE
Hi all,
if you want to make a http request (GET or POST) using almofire. you can follow these steps. We can make http request like GET,POST,DELETE,PUT etc. but we use majorly get and post request.
Post request are more secure than get reque...
'Failed to open stream: Permission denied' error - Laravel
Some time in Laravel 4.x we will get the error "Failed to open stream: Permission denied" error .When we have no permission then this type of error will occur. So to overcome this problem by using php artisan
are:
Step:
php artisan cache:...
20 Keyboards Shortcuts of twitter everyone should Know
Twitter is Social networking site having 300+ million active user. Apart from this almost all the celebrities, Politicians, ,musicians, Poet, Businessmen nowadays has a valid twitter account and connect to their fans through Twitter website or Ap...
Differences between php artisan dump-autoload and composer dump-autoload
When we are working on Laravel then we should know the php artisan and composer and the differences between php artisan dump-autoload and composer dump-autoload are:
Laravel's Autoload is a bit different:
1) It will in fact use Compose...
Retrieving GET and POST data inside controller in Laravel 4
Retrieving GET and POST data inside controller in the basic requirement which should know everyone when we are working in any framework. In Laravel 4.x It is very easy to get "Get & Post" data.
Examples:
The Example for Get data is
$...
Get all routes, Laravel 4
This is one of the important point which is not available on even stackoverflow. I want that by using one controller we at the moment which will handle every request that comes to my laravel 4.x application.This is one of the question which we sh...
