liu cougar

› EditMonkey Pre Tag Bugfix Patch

As a big fan for PRE tags, I use it a lot in blog. Unfortunately, the WYSIWYG editor deployed in this blog, EditMonkey 2.5 does not like PRE so much: once stored in database, all the new line in the PREs are missing, which is quite annoying. Thus I prepared a fix here.Only modifing one [...]
15/05/2006 12:07 am (UTC)   Liu Cougar   View entry   Digg!  digg it!   del.icio.us  del.icio.us

liu cougar

› About Google Adsence Setup

I had some tough time to setup google adsence here. (You can see it at the right bottom of this page)The application procedure was ok and the approval went back in less than 2 hours, although It is stated in their application page that it normally takes 1 to 2 days to reply Then [...]
14/05/2006 3:02 am (UTC)   Liu Cougar   View entry   Digg!  digg it!   del.icio.us  del.icio.us

liu cougar

› Upgrade eZ publish 3.5 to 3.8

Yesterday, I upgraded the eZ publish setup in SCIM project website from 3.5 to latest stable version 3.8. For your references, here I will present the details about how to achieve this.Before anything else, first make your eZ offline in case users want to access it. You can achieve this [...]
13/05/2006 10:45 pm (UTC)   Liu Cougar   View entry   Digg!  digg it!   del.icio.us  del.icio.us

liu cougar

› Upgrade eZ publish 3.5 to 3.8

Yesterday, I upgraded the eZ publish setup in SCIM project website from 3.5 to latest stable version 3.8. For your references, here I will present the details about how to achieve this. Before anything else, first make your eZ offline in case users want to access it. You can achieve this [...]
13/05/2006 10:45 pm (UTC)   Liu Cougar   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› SitePoint PHP Blog: __halt_compiler() - how nuts?

On the SitePoint PHP Blog, Harry Fuecks has a look at the "new(ish) __halt_compiler function" in PHP.

Simon blogmarked PHP's new(ish) __halt_compiler function which, according to the packet: "halts the execution of the compiler. This can be useful to embed data in PHP scripts, like the installation files. Byte position of the data start can be determined by the __COMPILER_HALT_OFFSET__ constant which is defined only if there is a __halt_compiler() presented in the file."

It may or may not be an elegant solution (it's certainly relatively simple) but it does have a very valid use case-to allow PHP applications which install themselves from a single script, all related pieces (other PHP scripts, CSS, HTML, images, etc.) being packed at the end of the script in a binary form.

Herry also mentions some specific examples of cases that could use it, including Ilia's fudforum software, which makes use of it to perform its installation.

13/05/2006 1:26 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› Kore Nordmann's Blog: Image_3D Performance

Kore Nordmann has made a post on his blog with more details on the Image_3D package and some of the rendering times he noticed (and the improvements) with the Zend Guard product.

The ZendGuard offers optimization and encoding for your PHP code. I visited a friend who ownes a license of ZendGuard so that we had the idea to test it with something CPU intesinve like Image_3D. The results were quiet surprising.

According to his results, the Zend Guard optimizer actually dropped the effectiveness and speed of rendering an image with his package - up to a 30% drop!

13/05/2006 1:22 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

liu cougar

› Auto Disconnect from SSH server within half minute!

Since several days ago, whenever I connect to this server via ssh, it freezes very easily. To my impression, it seems that the idle timeout is set to a very short period. However, after checking the sshd_config file, it has not been changed for several months. Confused…Today, I was working on upgrading the eZ publish [...]
13/05/2006 5:26 am (UTC)   Liu Cougar   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› Zend: Extension Writing Tutorials - Resources (Part 3)

The Zend site has published part three of their "Extension Writing" tutorials, this time focusing on the management of resources in your extensions.

Up until now, you've worked with concepts that are familiar and map easily to userspace analogies. In this tutorial, you'll dig into the inner workings of a more alien data type - completely opaque in userspace, but with behavior that should ultimately inspire a sense of deja vu.

They start things off by describing what resources are in the Zend Engine, initializing your resources, using them, and destroying them. They mention different kinds of resources, including normal and persistent resources. There's code for each step of the way, including a sanity check at the end.

12/05/2006 11:30 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

liu cougar

› Captcha for Fighting Comment SpaM

As for every open blog (open as in everyone can post comment without register first), anti-spam is of high priority.Googling around for a WP plugin which implments Captcha, I found a list.With further investigation, I decided to try out Captcha! (BTW: there is an open contest sponsored by eZ among others, in which one of [...]
12/05/2006 7:00 pm (UTC)   Liu Cougar   View entry   Digg!  digg it!   del.icio.us  del.icio.us

community news (ez.no)  eZ systems employee

› Community newsletter 12/05/2006

In this week's newsletter, we bring you news about the beta 2 version of eZ components and an update on eZ publish 4.0 development. We also have news about eZ publish sub-releases and an announcement of the first release candidate of the Online Editor version 4.1. The newsletter also includes an update on the current bug status.

12/05/2006 2:29 pm (UTC)   Community news (ez.no)   View entry   Digg!  digg it!   del.icio.us  del.icio.us

eZ publish™ copyright © 1999-2005 eZ systems as