Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

HOW TO MOVE FROM ONE CONTROLLER TO ANOTHER WITHOUT SEGUE?

Hello all !! Explanation of the topic is :-- Whenever we have to move from one controller to another we usually do it by performing Segue between the two view controllers in the MainStoryboard.. The segue requires an identifier and from wher...

PHP Session Vs Cookies

PHP Session is defined as a storage type which hold the values that are set to the $SESSION[], until we attempt to destroy the session. Whereas Cookies are the temporary and also have the small storage. For each data, the name, value, expiratio...

How to add swipe gestures in ListView item

In the below example , I have  added swipe gestures on ListView. When you swipe particular ListItem in ListView then swipe gestures will perform. Here first I have added ListView in actvity_main.xml layout. In second step I have created...

removeClass( ) event

  removeClass( ) event is used to remove a particular class from an element on a particular event as mouseenter or mouseleave.It helps in making site more user friendly. <!doctype html> <html lang="en"> <head> ...

How to refresh a part of page automatically?

Many time you need to refresh your page without reloading the whole page.  Some time you need it to be done automatically after a certain time. You can do it by ajax and jquery. Here i am writing a function which will refresh div afte...

mouseover and mouseout event

The mouseover event fires when a pointing device points over an element. The mouseout event triggers when the mouse pointer leaves the element.   In Html- Syntax:- <element onmouseout="myScript"&g...

Important Reddit Lingos

Reddit, which is the largest traffic source, may appear a little confusing to a new user. As Reddit has a very large community, there are some latest jargons evolving from time to time. So, I came up with Some most important lingo jargon on Reddi...

Php - Design Patterns

Design Patterns: Hello Readers, This is a small blog on design patterns , hope this blog will help you to understand this topic. Microsoft design pattern Theory is, "The document introduces patterns and then presents them in a repository, or...

Is Your Reddit Account is Shadowbanned or Not?

Reddit is one of the most popular sites that can generate huge amount of traffic to your website, video, blog etc. Being shadowbanned is the worst situation. Reddit has its own way to stop spammers from spamming. On other websites, you at least k...

Begining with cloud computing

Cloud computing, We have heard this term. right? Today we will discuss the cloud computing and its uses. First question should be what is it? Cloud computing is nothing but a model to access the resources as per the demand. Resources will be acce...

How to Avoid shadowban or Account suspension on Reddit

After the launch in 2005, Reddit became the most popular name to drive traffic to your website/ blog. Reddit is also known as “The Front page of  Internet”. Reddit has a vast 36+ million user accounts and 231 million monthly visi...

Incremental model: Advantages And Disadvantages

In the 'Incremental Model' we can separated to the entire requirements into different-different builds. In this model many development cycles occurs here for building the life cycle as the multi waterfall cycle. In the incremental model, ...

Drag, Drop , Sort and Save using jquery in cakephp

To implement drag and drop in cakephp using jquery, you need to follow following steps :- Step 1: Make index.ctp and add following code in it :- <head> <style> #sortable-list { padding:0; } #sortable-list li...

Main Thread in java

Main Thread: When we run a Java program  then main thread begins running immediately. It is created automatically. The main thread is the first as well as last thread in a java program to end. It is the main thread from which other chi...

Installing BracketHighlighter in sublime text

BracketHighlighter is a very usefull utility when you are using sublime-text as the editor while writing code in your respective language. Many of us use sublime-text as the editor because it is light-weighted & because of its simplicity. ...

CakePHP find conditions

Find is the  data-retrieval functions in cakephp. Below is the list of CakePHP find conditions :- Name Default Description    type   'first' it can be 'all&#...

How to join tables and find by conditions in Cakephp 2 ?

How to join tables and find by conditions in Cakephp 2 ? There are 3 tables Venues, Venues type and Venue Opening Days. First and the most preferred way is use associations in the Model like hasMany, BelongsTo. Second way to join tables is to ...

How to show different products in different stores in magento

How to show different products in different stores. In magento sometimes we are required to show different number of products under same category in different store views. To do so we can apply changes in visibility of the manage product fr...

Magento Group Price

In this tutorial, i will explain how to apply different price for different customer groups. Let’s start with logging into admin panel. Go to backend administrative and hover on Catalog menu. Next, Click -> Manage Products option. ...

PHPExcel

Hello Readers! In this blog we are going to export data from database using PHPExcel. PHPExcel supports reading and writing of many formats in one API. PHPExcel is a library that provides a set of classes for the PHP programming language, which a...

Tabbed Application in iOS

In this blog we are displaying that how we can create a tab bar based application in iOS. Step 1. Create a new project and select Tabbed Application Template instead of the Single View Based application and click next. Step 2. Name that app...

Relationship with modals

Defining One to One Relationship To define a situation of one to one relationship in modals we think of a situation where we store information about authors and books. This means that book has only one author this is one to one relationship. T...

Namespace in C++.

Namespace In C++ two variables with the same name are not possible in the same scope i.e a name given to specific type or function represent one entity in a particluar scope but with namespaces, there is a possibility to create two variables o...

How to get last query executed in Cakephp ?

Get last query run in Cakephp 2.x : There is a situation when we need to check what was the last query which was executed in Cakephp. My purpose for writing this blog is to provide you the solution for this as I was also stuck here. I wante...

CONVERTING DOC FILE TO PDF IN CAKE PHP

In order to convert .doc file to .pdf file in cake PHP I have used ZEND library here. Following steps are needed to be done: You need to make sure SOAP extension is enable on your server. Use ZEND library as third party. Put ZEND library ...

Qimage Component

In CakePhp we have a component called Quick Image Component or simply Qimage for uploading and manipulating images.   Some of common methods that are used : copy: to copy the uploaded images. resize: to resize an image. crop:...

How to apply image in the checkbox using CSS

Hello Readers, Here is simple line of code that will be useful for applying different color in checked or unchecked state or User can apply different icons to it, This will be only possible using HTML and CSS, User can see below how these line of...

Tree structure in cakephp

When you want to store a heirarchical data in the database table, then we use the tree structure in cakephp. For e.g : When you need to form a heirarchy of categories & subcategories like:- My Categories Fun Sport Sur...

Tier Price in Magento

The tier pricing allows us to apply discount from the product detail and catalog list pages. This discount can be applied to the specific type of customer group or store view. The calculated quantity discount in tier pricing on ...

Stylish tool tip display on hover of an element with the help of jquery

How to use stylish tool tip on hover of an element with jquery To use the jquery basic tool tip you have to first include the following basic jquery file with another two. One will be use for jquery tool tip effect and other for tool tip css...

add class event

add class( ) event is used to add class in a element during run time.It helps in animating designs.Through this we can change the property during run time.   <!doctype html> <html lang="en"> <head> <meta cha...

Autocomplete form feild using PHP and jQuery

As we see in many of the forms in different websited that we just type a letter then the form automatic start guessing the the test or word we want to write in the feild. In this tutorial we will learn how to do autocomplete functionality using a...

How to convert your html page to pdf using fpdf in cakephp

Some time we need to convert the html page to pdf dynamically. Like we are getting some form filled and then we want the data to be converted to a pdf file that is downloadable by the user. We use fpdf for that in cakephp. fpdf is basica...

Wordpress: Create custom fields for post type at admin end & fetch them at front end

Create custom fields for post type at admin end and fetch them at front end in Wordpress The below code will create custom meta box at post type at admin end. You have to put the following code in your theme's function.php file if you want...

Installation of cakephp

Easy way to install cakephp: Hello Readers. Here is small blog  on how to install cakephp. Cakephp is very fast and easy to install. The minimun requirements to install cakephp  are a web server and  a copy of cakephp.  ...

V-Model: Advantages And Disadvantages

V-Model stands for the ‘Verification’ and ‘Validation’ Model. Same as the waterfall model, V-Model also applied as a consequent life cycle model. In the V-model, every stage should be accomplished ahead the next stage star...

Scope Resolution Operator PHP

In Programming language we use the scope resolution operation in different ways. Here we are taking about the its uses in PHP. PHP is easy to use and manage. Scope resolutionary operator is also known as double colon. This is basically a operator...

Limit Keyword in SQL

By default, all results that satisfy the conditions specified in the SQL statement are returned. However, this may not always be what we want, as sometimes we only want to retrieve a subset of records.   In MySQL, this is accomplished ...

Installation of Yii 2.0 Framework

Hello Friends, My first blog on Yii Framework Yii : A Futurisitic Framework was about an introduction of Yii 2.0 framework and its features. To explore those marvellous features and to test them practically, Let's give a try to Yii 2.0 Framew...

Return multiple values with different datatype in Java

// A Java program to demonstrate that we can return multiple values of different types by making a class // and returning an object of class. // A class that stores and returns two members of different types class Test { int mul; // To ...

IFNULL Function

The IFNULL( ) function is available in MySQL, and not in SQL Server or Oracle. This function takes two arguments.     If the first argument is not NULL, the function returns the first argument. Otherwise, the second argument is...

How to set OR condition in Cakephp ?

Cakephp 2.*: OR condition I am writing this blog which will let you know how to set OR condition in Cakephp 2.*: Write following lines of code to use OR condition: 'User' => array ( 'conditions' => array ( 'OR' =&g...

Using unBindModel() in CakePHP

If we have to many tables in our project and we have many association between them. So whenever we use one of the model in our controller the other model which are associated with it , automatically get attached with user data . Sometime we do...

HashSet Class

HashSet Class: It extends AbstractList class and implements List interface. It uses hashing technique to store data. It contains only unique elements. We can use HashSet class by importing java.util package. Example: import java.util.*...

How can use Bitmap in android

  In the below exampl e I have added a image with the help of Bitmap. Bitmap is eventually created and displayed on the screen. By using simply bitmap a pixels of rectangle, each pixel can be set to a given color  but exactly what co...

Sidebar slider using javascript

On clicking a button a sidebar will be shown. This can be created by using javascript. Below is the simple code of displaying a contact form on click button. index.html <!DOCTYPE html> <html> <head> <title>Sl...

How to use Sql Avg () Function ?

Hi Reader's,   Welcome to FindNerd, today we are going to discuss how to use  Sql Avg () Function in Sql  ? So, basically this function is used for returning the average of numeric column.If in a table there is null value t...

Hide ADD TO CART button from list page in magento

Hello Readers, Some times you need to Hide ‘Add to Cart’ button as per client requirement. So, in this blog i will show you 'how to hide ‘Add to Cart’ button from the List/Category Page. Go to /app/design/fronte...

Return multiple values in Java

Java doesn’t support multi-value returns but if all returned elements are of same type then an array can be returned which in turn is returning multiple values. // A Java program to demonstrate that a method // can return multipl...

How to get IP Address in Cakephp?

How to get IP Address in Cakephp I am writing this blog which will let you know how to get client's IP Address in Cakephp. The simplest way for getting client's IP Address in core php is $_SERVER['REMOTE_ADDR']. Similarly it is...
1 101 269
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: