Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Archive for February, 2011

Speed up your website – Part 4: JavaScript

Monday, February 28th, 2011 by Servage
This is the fourth part of a simplified explanation of the "Yahoo best practices for speeding up your web site". Read the third part here. The third part is about CSS related optimization. Preferably place scripts at the bottom Scripts block parallel downloads of multiple items in the browser. Therefore you might want to place the scripts at the bottom of the page, if possible. It is a problem if your scripts alter the content of your document on the initial load, since you might want those scripts at the top. Make JavaScript (and CSS) external Including JavaScript and CSS in the HTML document reduces the amount of requests, but also ...

Revised PHP convenience functions (as an object)

Monday, February 21st, 2011 by Servage
In this recent article I discussed the usage of PHP convenience functions in a class based, object oriented environment. Thanks to some great feedback from Rick Hambrook, I have revised the example, so it fits Rick's suggestion. This implementation essentially gives the same functionality and usability, but wraps the convenience functions in a nice class. It looks better, and makes it easier to implement in other projects as well. <? // Conv class (Convenience function collection) class Conv { // Timestamp method function timestamp($time = false) { if(!$time) { $time = time(); } return date('Y-m-d ...

Speed up your website – Part 3: CSS

Friday, February 18th, 2011 by Servage
This is the third part of a simplified explanation of the "Yahoo best practices for speeding up your web site". Read the second part here. The third part is about CSS related optimization. Include stylesheets in the head section Use the <link> tags in the <head> section of your HTML code to include CSS files. This enables your website to load progressively, instead of waiting for style information in the middle, or at the bottom of your page. It means that content can be rendered when it is ready, because the style information has already been loaded in the beginning. This makes the page appear to load faster. Do not ...

Smooth content management for everyone

Thursday, February 10th, 2011 by Servage
The web has a plethora of content management systems (CMS) available. Many are similar: Require installation, complex functionality, difficult to use. Few are easy and straightforward. Even fewer are hosted. Almost none of them are for free. I am not going to present the regular candidates like Typo3, Drupal etc., but I would like to direct your attention towards a never, more innovative way of managing the content of your website. CushyCMS offers quite a cool way of managing your website. It requires nothing but FTP access to your hosting account, and a few attributes in your HTML code (templates). CushyCMS works in a way, that allows you ...

Modern Valentines Day Preparations

Wednesday, February 9th, 2011 by Servage
And here we go again... Valentines Day 2011 is coming up, and yet again many females set high expectations and wishes for this day, which males run around all confused with all this emotional, flowery stuff and try to fulfill. It's one of those typical situations where male and female in many cases are predetermined to end up in conflict, because their views on certain aspects of life are just so fundamentally different. Now please, don't be insulted that this article is taking a very conservative view of the whole Valentines Day concept and relations between men and women. Not to forget about same-sex couples etc. This is merely meant ...

Speed up your website – Part 2: Server

Sunday, February 6th, 2011 by Servage
This is the second part of a simplified explanation of the "Yahoo best practices for speeding up your web site". Read the first part here. The second part is about server related optimization. I am aware that some settings are not available to all developers, depending on their development and deployment infrastructure. Use Content Delivery Networks Where possible you should take advantage of servers closer to your users than your own. TO get started quickly with some major improvements, try to load JavaScript sources like Google APIs, jQuery or similar code you might use in your project, directly from their servers, or suggested CDN. Add expires header to utilize ...

Let’s make it 2,000 likes on the Servage Facebook page

Saturday, February 5th, 2011 by Servage
The Servage Facebook page has been around for about two years now. Initially it got quite a lot of members, reaching the first 1,000 quite fast. Unfortunately the amount of fans has been somewhat boringly constant for a while now, moving up and down around 1,900 people. It's nice to get so much feedback here and on Facebook, and it would be nice to see Servage pass the 2,000 mark on the Facebook page soon! Servage on Facebook: Click here! Please join our efforts and share our page with people you know use Servage, or people you might think could benefit from using Servage. Don't forget to give them ...