Posts

Showing posts from 2010

mod_pagespeed

mod_pagespeed is an open-source Apache module that automatically optimizes web pages and resources on them. It does this by rewriting the resources using filters that implement web performance best practices. Webmasters and web developers can use mod_pagespeed to improve the performance of their web pages when serving content with the Apache HTTP Server. mod_pagespeed includes several filter that optimize JavaScript, HTML and CSS stylesheets. It also includes filters for optimizing JPEG and PNG images. The filters are based on a set of best practices known to enhance web page performance. Webmasters who set up mod_pagespeed in addition to configuring proper caching and compression on their Apache distribution should expect to see an improvement in the loading time of the pages on their websites.

NetBeans IDE 7.0 Beta Download

The new Beta build of NetBeans IDE 7.0 introduces language support for JDK7, enhanced integration with the Oracle WebLogic server, support for Oracle Database, GlassFish 3.1, Maven 3, HTML5 editing, and more. The NetBeans team is pleased to announce the availability of NetBeans IDE 7.0 Beta.

Testing Platform

Site Performance Enhancement

Enhance your site performance with these common practices derived from the web. See what are applicable to you and gain from the benefits. Use mod_pagespeed Use mod_expires Use mod_deflate Avoid .htaccess PHP ob_gzhandler Use CSS Sprites Combine and Minify Compress Components

Combine and Minify CSS and Javascript Files Using Minify

Combine, Minify, Cache CSS and Javascript Files This tutorial will teach us how to combine and minify CSS and javascript files using [http://code.google.com/p/minify/ Minify] thus will help your site regain high performance result and pass the tests of Yahoo!'s YSLow, Google's Page Speed, or AOL's WebPagetest.

PHPUnit Bootstrap with PHP Autoload

I have a scenario wherein after upgrading PHPUnit 3.4.11 to version 3.5.3, an existing bootstrap file for phpunit suddenly encountered an error complaining about class was not found. It seems PHP __autoload is not working.

CSV to Graph - Convert Siege Log into Bar Graph

Image
CSV to Graph - Convert Siege Log into bar Graph - a simple perl script that reads a csv file and converts it into bar graph.

How to View the Remote Desktop of a Headless Server

This is applicable to those people who do most of their works on CLI. But how about if a certain task requires that your server has a running X windows which is frequently not available on most linux-based servers? The answer is a virtual X server together with VNC. We'll not tackle what is X server nor what is VNC, instead you may use the power of Google or just visit Wikipedia.

Writing Unit Tests - Front and Back end

PHPUnit Test Case * Skeleton Test

Find Replace String with Sed

Dealing with copying file and modify it's content replacing strings over and over again? Some of us uses the approach of editing files using vim then executes find and replace command.

How to Install Huawei E220 on SliTaz

My primary objective is to resurrect my old laptop (Toshiba 1065cds) using SliTaz , an open source free operating system, and have an internet connection using Sun Broadband post-paid plan. Installing SliTaz is very easy, because it is very small, light and easy to use. But now the challenge begins, how will I able to make the modem work on my newly resurrected laptop? I've been looking over the net for 3 days and yet no solution. Not until I read efrenefren's post. Thanks man!!!

Solution for Flash Cookie Bug

Flash cookie bug can be solved by creating `.htaccess` for `uploadify.php`. .htaccess removes any authentication of uploadify.php and prevents firefox from crashing. First, create .htaccess file within the same folder with uploadify.php.

Disable startx on Ubuntu

I was having an issue starting up my Ubuntu (installed on a VMware) on a command line instead of it's default Desktop. After some googling, I was able to solve my problem with these simple steps on how to disable startx. First it is important you create a backup copy of your file.

Selenium Remote Control on Linux

This a tutorial about front-end unit testing using Selenium Remote Control and Firefox on a headless Linux server. Requirements Selenium Remote Control Firefox Xvfb (X Windows Virtual Frame Buffer) PHPUnit

How to Configure phpUnderControl

http://docs.google.com/present/view?id=dfc724c8_4cmdtpqhs Configuring phpUnderControl This an overview of configuring phpUnderControl. This includes adding projects using phpUnderControl's command line, enabling PHP Mess Detector, enabling Artifacts, and adding new tab on phpUnderControl's menu.

CruiseControl Common Build Process

Cron automatically switches project's working directory into the latest tag or branch based on which of them has the latest revision number. Project's SVN log were constantly checked by CruiseControl and once detected build process will start.

Remote Deployment with Ant and Rsync

Remote Deployment with Ant and Rsync - this tutorial will teach us how to deploy projects on a remote server. This is very suitable especially for those who implements Continuous Integration where you will deploy projects upon every successful build or after passing all through unit tests, code analysis, and load testing.

How to Install phpUnderControl

Setting Up and Configuring phpUnderControl - this tutorial will teach us how to install phpUnderControl. phpUnderControl is an addon application for the continuous integration tool CruiseControl, which integrates some of the best PHP development tools. This project aims to make your first steps with CruiseControl and PHP as easy as possible. Therefore phpUnderControl comes with a command line tool that performs all modifications to an existing CruiseControl installation.

How to Install CruiseControl

Setting Up and Configuring CruiseControl - learn how to install cruisecontrol. This page is primarily focused on installing and configuring CruiseControl on Linux which includes - Procedures on Running Your Very First CruiseControl Server - Implementation of phpUnderControl - Adding New Projects on CruiseControl - Integration of Some of the Best PHP Development Tools.

How to Fetch YSlow Beacon Result and Save as HTML

How to Fetch YSlow Beacon Result and Save as HTML Introduction YSlow analyzes web page performance by examining all the components on the page, including components dynamically created by using `JavaScript`. It measures the page's performance and offers suggestions for improvement. YSlow is integrated into the Firebug web development tool for Firefox. On this tutorial, we will learn how to fetch YSlow beacon result and save it as html.

Graphical Plot of Xdebug Cachegrind

Graphical Plot of Xdebug Cachegrind - Update for How to Create Graphical View of Xdebug's Cachegrind Output . This a command line approach of profiling a single php script using Xdebug. Running Xdebug profiler from CLI is simply by executing your php script along with xdebug directives using `-d` option, this will then create a cachegrind file which we're going to convert into a visual plot using xdebugtoolkit and Graphviz.

Setting Up and Configuring Xdebug

Setting up and Configuring Xdebug Install Xdebug There are three ways you can install Xdebug. - Installing precompiled modules. - Install through PEAR/PECL. - Compiling from source.

Continuous Integration

Frontend Unit Testing using PHPUnit and Selenium RC

How to Implement Frontend Unit Testing using PHPUnit and Selenium RC - on this tutorial we'll learn how to implement UnitTesting, UnitTesting which is known to be applicable only on server side scripts. On this article we'll tackle ways of using PHPUnit and Selenium RC so as to test the output of our sites on any browsers.

How to Create Graphical View of Xdebug's Cachegrind Output

This tutorial will teach us how to create graph out of xdebug's cachegrind file. The concept is very simple, Convert cachegrind into dot then convert dot into graph PNG format. First is create the cachegrind file using xdebug, then parse the cachegrind with dot to generate dot file, then convert dot file into PNG format. The advantage of this is that you can easily view your scripts performance.