JavaScript: Asynchronous Script Loading and Lazy Loading
Most of the time remote scripts are included at the end of an HTML document, right before the closing body tag. This is because browsers are single threaded and when they encounter a script tag, they...
View Article101 Tips to MySQL Tuning and Optimization
MySQL Server Hardware and OS Tuning: 1. Have enough physical memory to load your entire InnoDB file into memory – InnoDB is much faster when the file can be accessed in memory rather than from disk. 2....
View ArticleImage Upload, Crop and Create thumbnail in PHP
I used the following component which is really useful and easy to use. Check it here (http://bakery.cakephp.org/articles/klagoggle_myopenid_com/2010/08/25/jquery-image-upload-crop) Filed under:...
View ArticleMinify Javascript in CakePHP using Combinator
In order to boost performance in a website, one of the steps to follow is to minify js and css files to decrease time to receive them. I used Combinator helper found at...
View ArticleJquery Location Picker
I used the location picker during working on Bosletak. It’s awesome. It allows people to easily find a location and save the longitude and latitude to a form text input. It utilizes JQuery and Google...
View ArticleValidate uploaded file is an image in PHP
In the following tutorial It will show you how to create an image validator script. It will verify if the file is actually an image, by checking the file’s mime-type. check validation method 1....
View Article10 online tools to simplify HTML5 coding
HTML5 is definitely going to revolutionize the way we create website and web apps. In this article, I have compiled 10 awesome tools to simplify and enhance your HTML5 coding. Initializr Starting...
View ArticlePHP and Jquery Upload with progressbar
With the controllable jQuery Progress Bar, writing a form upload progress bar seems like a piece of cake now. Hypothetically, all we need is to create the bar, poll for the progress of the file upload,...
View Article