
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 custom icons marker in Google map
While integrating the Google map we need to display the location according to the latitude and the longitude.
So in that case we need to make the use of the marker functionality for displaying it.
So if we want to change the image that the ...
Displaying image in google map
While showing the locations based on the latitude and longitude you need to display the images associated with that object you are displaying the locaton for.
This is the database where we have store...
The 21st Century Blogging
21st Century Blogging:-
Blogging and social networking/communication are from various perspectives fundamentally the same. The reason for them both is to gain media communication/interaction. As such, they both need a...
CakePHP tree behaviour
In a tree structure data or records are stored in hierarchical manner, In tree structure the starting data record is called root node or parent node and other are child or subchild of parent node.
For implementing tree behaviour in cakep...
Boolean vs Tinyint vs Bit
Boolean vs Tinyint vs Bit
I was using MySQL to design database, and I need to use boolean datatype where two states are required true or false. I find the following differences among them.
TINYINT is an 8-bit integer value, a BIT ...
clicking window application button more than ones will automatically clicks the same location button of next form
How to resolve "If we click window application button more than ones at a time then it automatically click the same location button of next form"
Sometime we face an issue in window application that if two windows have same Start Pos...
Syncing to S3
Syncing Same Folder to S3 Bucket
Hi Friends,
Suppose you have some folder structure in your local and you want to upload the same folder structure to your amazon s3 bucket. Then you need to follow these steps.
Step 1: Set up aws cli in your ...
Creating PDF file from HTML using DOMPDF in cakephp
In order to convert HTML data into a pdf file here are the followings steps you need to follow:
Step 1: Download the DOMPDF file from Github. here is the link
https://github.com/dompdf/dompdf
or you can download from the zip attached at ...
Table pagination using html
Table pagination is a simple code that will give new effect to the user for creating a long html table into compact manner, This can be possible through simple line of code of javascript and html, for better look and touch up User will use css to...
Sticky header using jQuery and CSS
A hot pattern in web plan nowadays is the utilization of sticky headers, where the top part of a page containing key components, for example, the menu bar once looked past gets to be settled on the page, keeping on staying obvious. The accompanyi...
Hooks in cakephp
Hooks are the functions that we can call prior and afterward doing any task in Models related to database. These are also known as callback methods. Like after finding data, before saving data etc.
e.g beforeSave(), afterSave(), b...
How to develop Robust website in Php
Hello readers, today I guide you "How to develop Robust website in Php".
Site development is a urgent perspective to any entrepreneurial endeavor. However, that is normal information nowadays. The written work on the divider is clear...
What is Difference Between HTTP 1.1 and HTTP/2 ?
Difference between HTTP 1.1 and HTTP/2
HTTP/2 is a new version of the Hypertext Transport Protocol. HTTP/2 is used to deliver pages to the browser from server on the Web. It is the first major update of HTTP. In 1999 HTTP was introduced, durin...
How To Do Administration Prefix Routing with Cakephp 3?
To map the URL controller action the feature that is used is routing and in CakePHP to make URLs more configurable and flexible routing is introduced. So in this tutorial we will see the process of Administration Prefix Routing with Cakephp 3.
...
How to use where clause and inner join in Cakephp 3 ?
How to use where clause and inner joins?
This is the way to use where clause and inner joins in Cakephp 3
Use matching if its cakephp 3.0.x.
Use innerJoinWith() if its cakephp 3.1.x
For example:
return $this->Product->find(...
Get Timezone Offset in String format Javascript
Get Timezone Offset in String Format Javascript
Hi Friends,
If we want to retrieve timezone in string format like Asia/Calcutta or America/New_York in javascript. Javascript's method getTimezoneOffset() just return the...
Multiple layout in CakePHP
This blog is going to explain "How to apply multiple layout in CakePHP".
By default layout file located in (app/View/Layouts/default.ctp) in CakePHP. if we don't apply any layout, then all pages will take default layout.
if we are...
Pseudo classes
Pseudo class in css is used to define a special state of the element.
It is used to style an element when a mouse may hover over it.
It can be used to style a visited and unvisited link.
It can be used to style an element on the focus.
...
Drag and drop with jQuery UI Sortable
If you want to make the drag and drop with jQuery UI Sortable then you have to do the following things. The jQuery UI sortable feature include the serialize method. A text string in standard URL-encoded notation is created with serialize ().
&...
Window application opens two windows when we minimize & maximize application in processing time
How to resolve "window application opens two windows when we minimize & maximize application in processing time"?
Sometime we face an issue in window application that if one window take more processing time to move to t...
Passing model as list in MVC
In MVC while making projects you need to pass the model of attributes as a list.
For this you need to pass or return it in form of list and then bind it with the action which will invoke that function and at last associate it with th...
Project Risk In Software Testing
What Is Project Risk In Software Testing ?
As we all know that testing is an important activity like all phases of any project and therefore this is the matter to risks that produces the risk or hazard to the project.
There a...
How to set increment variable in twig?
Hello Friends
This PHP tutorial will help you to implement a set of incremental variable in twig which you can use to show listing in twig with numbers in the first column. This will include defining twig variable and increment/decrements vari...
URL Routing in MVC
In MVC we build the application and run it . The main core behind the application is that it will run from the controller name and the action name.
public static void RegisterRoutes(RouteCollection routes)
...
Pivoting in sql
Pivoting in sql
Pivoting in sql means changing rows to columns and columns to rows. We often need to change rows to columns in some scenario. Supp...
jQuery Callback Functions
JavaScript codes are executed line by line. However, the next line of the code can run even though the effect of the first line of code is not finished. This can create errors.
To prevent this errors, we can create a callback function. callbac...
Creating association between tables using bindModel method in cakephp
Sometime we need to create association between models .we need this because ,we want that all associated data came on the first level of recursion.
In cakephp creation of association is done by using cakephp bindModel() method.
In below cod...
Use of bindModel and unbindModel function
bindModel and unbindModel:
bindModel() function is used to create association between models when needed and unbindModel() function is used to destroy the created association when it is no longer required. Association are used when we need dat...
How to remove ListView Item dynamically using animation function in android?
In the below example I have created a ListView , when user touch ListView row item then that particular row item will be remove dynamically. Here, first I have added Listview in activity_main.xml layout. In next step I have created row.xml layout...
ValidationMessageFor in MVC
In MVC doing the validations on the client end and the server end you need to use the data annotations for it.
So for doing the validation we also need to put it in the view in which we want to validate the controls.
&nb...
RAD (Rapid Application Development) Model
What Is RAD (Rapid Application Development) Model ?
RAD model is stands for ‘Rapid Application Development’ model. RAD model is a kind of incremental model. RAD model is normally used for the small projects. In this model the ...
add( ) event jquery
add( ) event is used to add elements css to the matched set of elements.Through dis we can change the css and add add text to the matched set of elements.It helps in making site more user friendly and interacting.
<!doctype html...
How to update increment value in a table without loop in SQL
Hi All,
Some time we need to update value in a table in some pattern or increment order. Then we use loop and iterate with all record, but as know looping is take time and our application become slower.
We can achieve this by without loop a...
@Html.HiddenFor in MVC
In MVC we have the crucial information that is used to perform the operation in our project like the primary id of the entities we are working upon.
For this we need to hide this information from the external interface but need to store it int...
Disable browser back button using JavaScript
Hello Readers! Here is a small blog on how to disable the browser back button. Although it is not advisable to use such tricks in websites as restricting or disabling the browser back button can be annoying for users who might wish to go back to ...
How to create Flames effect in designs using Photoshop
Add flames effect to your designs is now effortless, thanks to the added Render Flames tool in Photoshop CC.
Open your selected picture in Photoshop and select the Pen tool (P). Check the tool is set to Path in the top left drop down men...
Tree structure in CakePhp
Hello readers, today we discuss about "Tree Structure (or hierarchical data) in cakephp".
It can fairly common to want to maintain hierarchical data in a database stand. Examples of such data might be categories with unlimited subcat...
How to call previous form method in window application C#
Sometime there is a situation where we have to call previous page method after completing the current page process. This is usually required when we open the page in Dialog box.
Here below is the example of this.In this example, I open the 2nd f...
Internal working of keyboard
Hello friends, today we are going to discuss about keyboard and its working. There are a lot of things in the world which we use but we don't know the internal working. If you want to know the internal working of casual things then you are at...
Connecting SharePoint site using CSOM
This code packet will help you to authenticate to O365 using Client Side Object Model(CSOM). It uses the SharePointOnlineCredentials class to get clientContext of SharePoint. Let try it yourself.
// Namespaces
using System;
u...
How to check if record exists in Cakephp 3?
How to check if record exists in Cakephp 3
I am writing this blog for them who are learning Cakephp 3. This blog will going to help you to find the solution for checking if record exists.
In Cakephp 2 we can check records which ex...
Difference between array_merge() and array_combine()
PHP have a vast collection of array functions which makes the use and manipulation of arrays much easier. This article defines the difference between two important array functions array_merge and array_combine which sounds similar but used for di...
Converting .DOCX file to .PDF file using LIBREOFFICE in cakephp
In order to convert DOCX file to PDF file directly, LIBRE OFFICE should be installed in your system.
LibreOffice is an OpenOffice's successor that allows command line conversion using the LibreOffice conversion engine. The advantage of Lib...
Array and operations on array
Array is used to keep collection of objects. Array in ruby can have any type of objects together. Using array in ruby:
>> a = []
>> arr = [1, 0, 7]
>> arr[2] # => 7
>> arr.size # => 3
>> arr = ["stri...
How to implement facebook login/signup functionality.
Implement Facebook Login/signup functionality by creating facebook sdk app.
Followings are the steps to create facebook login/signup functionality on server end :
1) Login with facebook developers .
2) Create an app , Put your doma...
Dialog in JQuery
While using modalpopup we need to use the dialog boxes either in the customized way or we can do it using the already made dialog boxes which just needs to be invoked.
So for doing that we need to make use of the default dialog boxes that can ...
Loader with css and jquery
Loaders are most frequently used in web-applications or websites. Here this blog shows the enabling of loader image from Jquery and closing the loader image with an overlay from code-behind. Generally, Loader image is used when the event takes so...
How to import vendor files in CakePHP 3 ?
Importing vendor files in Cakephp 3
If you have used Cakephp 2x then we know how to import vendor files there. In Cakephp 2x we do the following to import vendor files:
App::import('Vendor', 'Twitter', array('file' => 'Twitter' . D...
Product Risk In Software Testing
What Are The Product Risk In Software Testing ?
In the industry, Product risk is the probability that the application or software or system might be decline to gratify or fulfill few logical or rational expectation or presumption of the client...
Calling action through JQuery in MVC
In MVC projects you need to make AJAX call multiple times in your project .
So for doing that you need to first include the Jquery file and its CSS into your view and into your project.
<script src="~/Scripts/jquery...