Simple and effective techniques for speeding up your web pages

It’s important for our website to load as fast as possible.

The following are Simple and effective techniques for speeding up your web pages.

1. Use YSlow

YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. YSlow is a Firefox add-on integrated with the Firebug web development tool. YSlow grades web page based on one of three predefined ruleset or a user-defined ruleset. It offers suggestions for improving the page’s performance, summarizes the page’s components, displays statistics about the page, and provides tools for performance analysis.

https://addons.mozilla.org/en-US/firefox/addon/5369

yslow

2. Add future Expires Header

Adding an Expires header to your components with a date in the future makes them cacheable, reducing the load time of your pages.
<FilesMatch “\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$”>
Header set Expires “Thu, 15 Apr 2010 20:00:00 GMT”
</FilesMatch>

3.  Lay out your pages with CSS, not tables

Because CSS downloads faster than tables.

4. Use shorthand CSS properties

Example:

Use:

padding: 20px 10px 30px 40px (top, right, bottom, left)

…instead of:

padding-top: 20px;
padding-right: 10px;
padding-bottom: 30px;
padding-left: 40px

5. Put CSS and JavaScript into external documents

To place CSS in an external document use:

<link type="text/css" rel="stylesheet" href="style.css" />

To place JavaScript in an external document use:

<script src=”file.js” type=”text/javascript”></script>

PHP 5.3 gets GOTO operator

The goto operator can be used to jump to another section in the program. The target point is specified by a label followed by a colon, and the instruction is given as goto followed by the desired target label. This is not a full unrestricted goto. The target label must be within the same file and context, meaning that you cannot jump out of a function or method, nor can you jump into one. You also cannot jump into any sort of loop or switch structure. You may jump out of these, and a common use is to use a goto in place of a multi-level break.

for($i=0,$j=50; $i<100; $i++) {
while($j–) {
if($j==17) goto end;
}
}
echo “i = $i”;
end:
echo ‘j hit 17′;
?>

DCS Team Proves Its Excellence In Physics Olympics

As part of the celebration of the College of Arts and Science’s Week, Foundation University held the Physics Olympics at the CAS Department yesterday, September 7, 2007. Every department sent out its best team to prove its wits and cleverness in the world of physics inventions. There where eight categories for the competition. Two members served as the represented for each category: Egg Drop (by Edwin Briones & Elnelyn Caparida – 2nd place), Paper Tower (by Calvin King Enjambre & Joefil Beranio – 1st place), Bridge Building (by Julius Tiongco & John Joseph Adigue – 1st place), Large Barge(by Analisa Mediano & Marjorie Sajulga – 1st place), Paper Airplane (by Ivan Lazaga – 2nd place), Egg Transport (by John Audi Bato & Yendy Sevilla – 1st place), Super Magnet (by Mark Piñero & Bern Calumpang – 1st place) and Master Robot (by Rodney Balasabas & Joevil Malones – 1st place).

As the competition grew tougher, the DCS team of the College of Business Economics and Accountancy was very exemplary in its unsurpassed wits in every category. Finally, the competition ended and the winning prizes went to the DCS team under the guidance of Mr. Percival Cariño and the valuable support of the DCS chairman, Mrs. Dae P. Habalo.

Let us all be proud for the Physics Olympics Champ! The College of Business Economics and Accountancy has proven its excellence in physics.

Congratulations to the DCS Team!

- Analisa C. Mediano

Foundation University Reigns Inter-School Open-Source Programming Competition

YEHS Outsourcing Corporation and McDonald’s Dumaguete City sponsored the first Inter-School Open-Source Programming Competition in Dumaguete City. The main goal of the competition is to uncover the IT intellectuals from the different schools in the city. Through collaborative efforts and undying support of McDonald’s Managing Director himself, Mr. Hernando “Jerry” Esquivel, YEHS Chief Technology Officer, Mr. Deo Dax Cordova, the challenge to develop the best “Order Taking and Fulfillment System” successfully pushed through.

There were only four teams who bravely registered themselves during the orientation last July 14, 2007. There was one team from AMA Computer College, one from Negros Oriental State University, and two from Foundation University, respectively. These teams were allotted six consecutive weeks for the system’s development, in which the gradual progress is rated every Sunday at McDonald’s Dumaguete City starting July 22nd, 2007.

The three teams namely “I’m Yours” from Negros Oriental State University, “WebTech Team” and “Rapidz Solution” from Foundation University made it to the fourth elimination round. As the race went on tougher, the two teams from Foundation University made it to the final round.

it_champion

The long wait was put to an end last August 22nd, 2007 at McDonald’s Dumaguete City. The Foundation University family, headed by the institution’s President, “Dr. Mira Sinco”, Vice-President for Student Life and External Affairs, “Mr. Dinno Depositario”, and ESL Supervisor, “Ms. Kate Johnson”, witnessed the final presentation and the proclamation of the winner. The “WEBTECH TEAM” was proclaimed and awarded as the winning team. The team’s members of Mr. Percival Cariño’s advisory were “Joevil S. Malones (BSIT 4)”, “John Joseph A. Adigue (BSIT 4)”, “Julius Tiongco (BSIT 4)”, “Analisa C. Mediano (BSIM 4)”, “Marjorie R. Sajulga (BSIT 4)”, and “Rodney M. Balasabas (BSIT 4)”. The “Rapidz Solution” ranked the second.

Mr. Esquivel said and I quote, “The best source of Open-Source Programmers is found at Foundation University.”

- Analisa C. Mediano