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

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...

Mysql database browsers not working after upgrade

needed version 5.7 of mysql server for a project. I upgraded from version 5.5 to 5.7 using this tutorial. The upgrade was successful and I am able to use the updated version via command line. However, mysql browsers (mysql-workbench as sqlyog as ...

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...

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...
1 116 292
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: