Archive for the ‘Project Manament’ Category

敏捷过程方法

Friday, March 5th, 2010

1.Sometimes it’s worth spending time finding the best possible approach. Sometimes it’s enough to find an approach that works.

2.不要过度折腾性能

3.总结现代model和patten并且广泛使用

4.松散的技术堆栈进行强约束,紧凑的技术堆栈进行弱约束

5.所有的开源软件都有bug,必须重新测试

Something about agility development

Thursday, January 14th, 2010

We will not publish new features before holiday or afternoon, because there is not enough time to do testing.
Rodemap is very important, wrong rodemap may cause endless problems.
We will not fare about bugs, find them and correct them but not conceal. Every thing has a reason.
Focus to the current problem when do testing.
Separte different feature into different modules.

Question: How to edit the svn file muti-person?

Missing arrow symbol of XML (xml_parse_into_struct)

Friday, December 4th, 2009

When relate to the following codes:

$p = xml_parser_create();
xml_parse_into_struct($p, $xml, $vals, $index);
xml_parser_free($p);

The arrow symbol are missing, this is Bug of libxml2 with php,

when using PHP <= 5.2.6 with libxml2 >= 2.6.32.

This is due to an intentional change in the behaviour of libxml2 after version 2.6.32. Some sites suggest reverting to libxml2-2.6.30 – while this works as a temporary solution, it is no longer necessary or advisable.

PHP 5.2.7 or higher works with the new behaviour of libxml2 ( see: http://bugs.php.net/bug.php?id=45996 ). Simply upgrading PHP corrects the problem.

Now replace these special characters with HTML Entity. And can be rightly treated by libxml2.

Do the following repacement before parser the xml can resolve this problem:

$xml =str_replace(“<”,”<”,$xml);
$xml =str_replace(“>”,”>”,$xml);
$xml =str_replace(“&”,”&”,$xml);