Archive
Blog Archives
Javascript – Detect Inactivity in Browser Tab
Simple Javascript code that detects when user becomes inactive in a browser tab.
PhotoSwipe – Loading slider to a container
An example code for dsiplaying PhotoSwipe slider inside a container rather than full screen.
Installing MongoDB in Laragon Windows
Installing MongoDB in Windows can be very confusing when you’re a beginner. Your first thought was probably to just google and find a article that will summarize it for you, well you came to the right place. Let’s dive into the installation right away Download and install the latest version of the following if you […]
Javascript – Check if an array contains one or more items from another array.
Function for checking whether items of an array exists in another array without using arrow functions.
How to install and use Neor Profiler SQL
Track all queries in your web application – find bottlenecks and performance issues.
How to install Xdebug in Laragon
Setup Xdebug PHP profiling tool in your laragon server in less than 3 minutes.
Consuming WCF in ASP.NET MVC 5 with Entity Framework 6 using Visual Studio 2017
Create WCF service with Entity Framework then consume it on a ASP.NET MVC application
CKEditor – Detect when typing stopped
Useful for saving the data state whenever the user stops or pauses from typing.
Connecting an ASP.NET MVC Application to MySQL
Learn how to connect an ASP.NET MVC application to MySQL
User Login With WordPress using React Native
After seeing a lot of requests about this topic on Google, I’ve decided to make my own tutorial about it. So let’s get started! On the render() method of your React Native component, create a Form with input fields for Username and Password. this.state = { validating: false } render() { return ( <Container> <Content> […]
Authentication with React Native and Redux – Basic Example
Demonstrates a simple user authentication using Redux – the most popular state management module.
Creating a Login Page in Django
In this tutorial we are going to build a simple login using Django Framework. Above photo is exactly how our app will look like when completed, so let’s get started. Note: The codes in this tuturial was developed using Django v1.10.6, it may not work with older versions. Create the base template mymodule/templates/mymodule/base.html: 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152<!DOCTYPE html> […]
Create a Facebook Preloader Style using Bootstrap
Simple preloader similar to Facebook using Bootstrap. Easy to implement and easy to learn.
Organize Diretory Files into Year-Month-Day Heirarchy using PHP
Do you have large amount of files sitting in just one directory? Have you ever thought about organizing them in Year-Month-Day path programatically? Let’s get started.
Ajax Multi File Upload in ASP.NET MVC 5
In this tutorial we will work with uploading files asynchronously via Ajax
Deploying Meteor App to Heroku
How to get your meteor app up and running on Heroku testing environment.
Uploading Rails App with MongoDB to Heroku
How to properly upload your Rails application to Heroku that has MongoDB as database.
Setting up Bcrypt for Rails on Windows
Demonstrates how to properly setup bcrypt on Windows and to solve the error bcrypt_ext.so (LoadError) message in your terminal
Node.js Authentication
A simple user authentication example using Express and Passport.js which includes pages for Login, Register, and Account.
MongoDB Authentication Using PHP
Recently, a client of mine wanted to have an authentication system for their existing Web Application. They are currently using MongoDB as their Database and just wanted to implement a simple Login, Register and Account page for their customers. I did not have much experience working with MongoDB before I accepted the project so I […]
MongoDB AJAX Pagination with Search and Sort using PHP
A simple tutorial which demonstrates how you can paginate your documents using AJAX and apply search and sort features.
Installing MongoDB in XAMPP Windows
Install and configure MongoDB in XAMPP with Windows environment.
Moving Laravel 5.6 from local machine to live server
Shows how to properly transfer your laravel app on a live server
How to make your Tables Responsive
Make your long table columns adapt to smaller screens using Stackable.js.
Using History.js with AJAX
Simple example on how to make History.JS work with dynamically loaded pages.
Build your own Custom File Manager for CKEditor using PHP
Upload files with CKEditor to a custom directory using a simple File Manager PHP Script.
AngularJS – Show route only after all Ajax requests are resolved
Show route page only after Ajax request is complete for single or dynamic routes
AngularJS – Show a loading image on HTTP Requests
Append a loading gif image to your screen while AJAX is fetching data
AJAX Multi File Upload in WordPress Front-End
Uploading Files Asynchronously in WordPress Front-End using AJAX
Clear Browser Cache Every Nth Day(s) in PHP
A simple PHP Script that allows you to clear you cache every nth day(s)
WordPress Front-end AJAX Pagination with Search and Sort
A simple AJAX pagination that includes a search filter and sorting functionality
Loading wp_editor via AJAX
Fix problem with wp_editor showing but missing buttons on Text and Visual tab
Parsing a CSV File using PHP
Describes how you can access the columns of a CSV file and insert the items into the database
Create Posts from WordPress Front-End
Allow visitor to create a post from the front-end of your WordPress blog
Using REPLACE in an UPDATE statement
This tutorials demonstrate the use of REPLACE with UPDATE function to selectively replace text inside a string in SQL Server
Fastest way to Convert Associative Arrays to Objects
No need to create a class or Function to accomplish it.
Simple Database Connection using MySQLi OOP and Procedural
This tutorial demonstrates the use of MySQLi in OOP and Procedural Approach
AJAX Multi-File Upload With Image Preview and Sort [Under Development]
Simple File upload with Preview and Sort Functionality before upload
Disable Update Notifications in WordPress Admin
Stop annoying updates and notifications in your WordPress Admin
Flat Surface Shader Tutorial
The Flat Surface Shader is a simple plugin developed by Matthew Wagerfield which is based on the Lambertian Reflectance model, where the color of a triangle is calculated by a variety of different light sources within a particular scene.
Creating a Facebook Thumbnail Field in your WordPress Post or Page
In this tutorial, I am going to show you how to create a field where you can enter a custom image that you wish to use as your cover image when sharing your posts/pages on Social Sites such as Facebook
Featured Image Shortcode [Plugin]
Creates a shortcode for your featured image to easily embed it within your WP Editor.
AJAX Multi File upload in CodeIgniter
A simple AJAX multi-file upload tutorial that follows CodeIgniter best practices.
Implementing AJAX Pagination with Search in CodeIgnier
Advanced jQuery Pagination using AJAX and PHP
How to do Ajax in Codeigniter
A very basic but powerful implementation of Ajax that complements Codeigniter.
Optimize WordPress Database by Disabling and Removing Revisions
Disable the saving of revisions in your WordPress blog to optimize your Wordpress database.
How to use LazyLoad.Js
Lazy Load is delays loading of images in long web pages. Images outside of viewport are not loaded until user scrolls to them.