phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [phpGroupWare-developers] Tuning: compability and speed


From: Dave Hall
Subject: Re: [phpGroupWare-developers] Tuning: compability and speed
Date: Fri, 23 Mar 2007 01:35:30 +1100

On Thu, 2007-03-22 at 15:09 +0100, Sigurd Nes wrote:
> Hi all,
> 
> 1)
> The utf-encoding is a real pain for IE.
> Half of the times IE won't recognise the charset given in the meta-tag
> - causing the page to freeze when redirecting.
> A sollution is to set "AddDefaultCharset utf-8" in httpd.conf (not
> sure what to do with non-apache-serves).
> 
> I propose a configurable charset - either "iso-8859-1" or "utf-8" to
> choose from when installing the system - given by a variable like:
> $GLOBALS['phpgw_info']['server']['charset']
> 

I do not support this at all.  UTF8 is the future.  We support languages
which use charsets other than iso-8859-1/15.  By switching to utf8 we
can mix languages on the same page without a problem.  Keeping the lang
files in sync for both charsets is a lot of extra work and has the
potential to cause real problems.

We should look at fixing the UTF8 issues, not avoiding them.  

> 2)
> The db-abstraction (referred to as phplib) from .16 is faster (about
> 34%) than adodb used in head.

What is the peformance trade off of the additional layer that you are
proposing here?  Have the tests been run on a range of data sets on both
mysql and pgsql?  Running the same test 3 times on pgsql with 1 data set
is hardly comprehensive testing and comparison.

34% is a big difference.  At the same time added flexibility of ADOdb,
not to mention that it is maintained are pretty big positives in my
book.

Cheers

Dave
-- 
Dave Hall (aka skwashd)
API Coordinator
phpGroupWare
e address@hidden
w phpgroupware.org
j address@hidden
sip address@hidden
       _            ____                    __        __             
 _ __ | |__  _ __  / ___|_ __ ___  _   _ _ _\ \      / /_ _ _ __ ___ 
| '_ \| '_ \| '_ \| |  _| '__/ _ \| | | | '_ \ \ /\ / / _` | '__/ _ \
| |_) | | | | |_) | |_| | | | (_) | |_| | |_) \ V  V / (_| | | |  __/
| .__/|_| |_| .__/ \____|_|  \___/ \__,_| .__/ \_/\_/ \__,_|_|  \___|
|_|         |_|                         |_|Web based collaboration platform






reply via email to

[Prev in Thread] Current Thread [Next in Thread]