Coding and more – Concrete5, Flex, JavaScript

Archive for June, 2009

Smart text trimming with PHP

Have you ever tried to create a short preview text using PHP? Did you just count the characters and ended up having texts with a completely different width like shown on this picture? This tutorial describes a small method which calculates the real width of a string and lets you create better looking preview texts!

Concrete5 – more Speed with eAccelerator

UPDATE: The latest eAccelerator version doens’t contain the PHP API anymore. It therefore does no longer work with Concrete5! The upcoming version 5.4 is going to have support for APC and memcache. Sorry! You want more speed with Concrete5? Make sure you’re using eAccelerator! In this tutorial I’ll explain how to install eAccelerator on a [...]