Author: purushotham

Deploy ReactJS application in a subfolder

In some scenarios we have to run our react application from a subfolder like ““. In this case react will not work just like that we need to do some changes in the project source to make this work. When I was finding for a solution to host my react application in a subfolder no

Angular Lazy Loading Module Example

In this tutorial, I am going to create an angular lazy loading module example. This lazy loading concept will help us to imporve the angular application performace as it will load the only components that we are accessing.Before jumping into lazy load concept, you need to create an angular project with following command “ng new

PHP Image Resize and upload using jQuery AJAX

I have already wrote an article for image resizing in client side before it uploads to the server. In this post i am going to upload the resized image to the server. For that i have created “index.php”, “upload.php” and “images” folder under a directory in my local. In index.php i have used HTML canvas

URL encoding and decoding using php

PHP supports encoding and decoding of URL by providing some built-in functions. Encoding is required before sending URL data to query string or to a function which might dynamically work on this URL data. And then, this data will be decoded into its original form, after receiving it in target PHP page or function. Types

jquery drag and drop example

jQuery UI made it very easy to sort items from one list into another using jquery drag and drop example functionality, by passing the selector into the connectWith option. The simplest way to do this is to group all list items with a CSS class name, and then pass that class name into the sortable