jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript. It’s the definition from the author of JQuery. And JQuery also a cross browser javascript library, which means write once and run in every browser.There are a lot of other AJAX frameworks out there, such as Prototype, Mootools, Ext library, Google Webtoolkit … Read more...
Use And Tweak timthumb Script For WordPress Blog
Update: I don't use Timthumb script anymore because it has security vulnerability. So please use it with your own risk.TimThumb is a small open source library which is aimed to provide resized copies of given images. TimThumb is developed by Ben Gillbanks which is firstly create this script for the WordPress themes Mimbo Pro. It handles cropping, zooming and resizing web images in several formats such as jpg, png, and gif. It’s very useful and simple enough.Follow the guide below to … Read more...
504 Gateway Timeout With Nginx And Apache
Well these couple days i spent a lot of my time debugging the nginx 504 gateway timeout error. As far as my understanding this error 504 caused by proxy timeout, or nginx wait too long for apche response. By the way i installed nginx as reverse proxy with Apache to server my static files. You can refer to my previous post: Install nginx as Reverse Proxy With Apache.As i’m digging with Google, there are lot of possibilities of this problem. Some says because of fastcgi_read_timeout, but … Read more...
Upgrade Nginx Without Downtime
It’s been more than 2 months now i have been using Nginx (read: Engine X) as reverse proxy server with Apache to server static files such as javascripts, css, images, etc. You can refer to my previous post about how to install nginx as reverse proxy in your web server. The result is, my website loading time is much faster.Well at first installation i used nginx v0.7.63 and the latest stable as i write this post is v0.8.53. There are lot of changes and bug fixes. So i decided to upgrade it … Read more...
Bring Your WordPress Blog To Local Server For Testing Environment
As a WordPress bloggers, plugin developers or themes designers you should have a local server for a testing environment. In Ubuntu you can easily install apache and mysql as it is bundled in default installation cd. And in Windows you can use XAMPP as a handy web server (you can refer to my previous post Local Server For Testing Environment With XAMPP On Windows for more details). And you can use XAMPP for Mac as well. But the point is you need a local server environment to designing, developing … Read more...
Hardening Your Server Security With ConfigServer Security & Firewall
Talking about server side security will come down to firewall or filter connections from and to your server. Close unnecessary ports, block unwanted connection and blacklist spammers are the things that your server admin should do in their everyday life. If you pay attention to your server log, you will found that lot of malicious request and brute force bot attack to find your server vulnerabilities. You should block it with firewall.One of the good and free Firewall module is ConfigServer … Read more...
Install Or Update PEAR On Xampp For Windows
PEAR is short for “PHP Extension and Application Repository” which provide a repository for PHP community extensions that will make your PHP installation more powerful and easy to develop web application. The project that founded by Stig S. Bakken in 1999 was to promote the re-use of code that performs common functions. The project seeks to provide a structured library of code, maintain a system for distributing code and for managing code packages, and promote a standard coding style.The … Read more...
Local Server For Testing Environment With XAMPP On Windows
If you are a php web developer or want to be, it is a must that you need to have a testing environment. A testing environment means you have our own local server and test and run your application that you are developing before you go live on your production server. You need to develop, and testing your application in your local rather than testing it in your production server.So to have your local server in Windows environment you can use XAMPP. XAMPP is a free and open source cross-platform … Read more...
Improve Your Server Performance With Nginx
Apache is one of the best well known web server, that run in all platform, but usually on Linux in production mode. Apache supports a variety of features, many implemented as compiled modules which extend the core functionality. Both static files (css, js, html, image files) and dynamic files (php, pl, py, etc.) are served equally using same amount of resources. Which will cause bottleneck in system performance when your website have lot of static files and lot of traffic.To prevent this, we … Read more...