Review, php|architect’s Guide to Programming with Zend Framework

The zend.com are initiating a beta certification program on Zend Framework. I received an email informed me that I could get a 50% discount on the exam fee and a free study guide if I schedule and attention the exam before the end of this month. I do have some working experience on the Zend Framework before ( I have built a small project use it recently ), but I feel my knowledge on Zend Framework is still not adequate for passing the exam. So, I have ordered the PHP Architect’s book: Guide to Programming with Zend Framework. 继续阅读本文的多内容 »

Use Writer, the online Darkroom version!

As a blogger, you probably already knew Darkroom, a minimalist full-screen text editor( inspired by the WriteRoom a similar processor offer on Mac OS). What’s good about Darkroom is that it forces your focus your writing content and nothing else. It has no window caption bar, status bar, menu bar, tool bar or window borders. Sitting on your screen nakely with its full dark background and green text, you will feel as if you are the famous hacker in “Matrix”. :)

While Darkroom can help your write better content, it is a desktop tool. And moreover, it is only available on Windows. For those like me use a *nix box, there is a Java-Version of Darkroom, JDarkRoom, which is still in beta. I tried install it on my OpenSUSE laptop, but it seems has some problems to start up.

So, here comes the Writer! A online clone of the Darkroom. 继续阅读本文的多内容 »

Learn to Design Web Themes and Templates with New Wiki

ThemesWiki.org is a new website designed to provide users with comprehensive, free guides for designing Web Themes and Templates. This site intends to ease the web design process by providing tutorials for a large number of systems at a common location.

It is often difficult to find a resource that is focused on providing quality, relevant and free information for designing themes and templates; specifically one that covers a wide range of applications. This is where ThemesWiki.org intends to step in. Launched initially with tutorials covering over 20 Content Management Systems, ThemesWiki.org is expected to grow into an exhaustive resource for the theming community, with users generating most of the content. 继续阅读本文的多内容 »

国谷哥发布: 四川震区急需 260 万顶帐篷

对不起,本篇文章的中文版本还没有

WordPress problem: Url encoding on Tag’s slug.

When you define or assinge tags in wordpress, here is what WordPress does:

1. Every tag must have a name.

2. Every tag must have a slug, the url of the tag.

3. By default, WordPress will automatically generate the tag slug based on the name of the tag you entered.

4. However, if either the value of the tag name or the tag slug is new, then Wordpress will consider it is a new tag in the system.

So, a problem will arise, when your blog has non-western language characters or terms been used as tags. 继续阅读本文的多内容 »

Curl better than simplexml_load_file when web screen scrapping

As in my previous post, I briefly introduced how you can use SimpleXML object to load various web services’ API query urls, if you so choose to mashup a website with data provided by the various websites, such as YouTube and Amazon. Of course, the pay off comes when you use some affiliate code in your query, such as the famouse Amazon’s ECS and you did a pretty well job on your page layout & design, and seo to attract many visitors to you sites. 继续阅读本文的多内容 »

How to use SimpleXML parsing XML data with namespace and CDATA

There are many social network websites (e.g. YouTube) and big brand websites(e.g. Amazon, Yahoo) use REST or SOAP or even RSS web services to provide the enormous data for developers. Using these data, we can build a website virtually with no own database at all, all the information are come from these big sites. The nice thing is that, virtually all of the data returned for your web service client request are a XML data stream. So, we can use the nice PHP5 built in SimpleXML object to parsing the XML data stream, and format the representation of the data according our own website needs. However, the XML data format vary from site to site, some of the XML data returned from the sever, includes namespace and CDATA; if this is the case, you need find a way to access a sub item in the XML data use the same ” -> ” syntax. 继续阅读本文的多内容 »

关于生活的哲学

生活,我想,就像一列运行在高速铁轨上的高速列车,并且你就是它的驾驶者;还有,你也有能力控制该列车在你所想行使的轨道上运行。时间过得很快;事情发生着。如果有一天,你发现你的生活运行在一个错误的轨道上怎么办?或者,只是怀疑并对自己说:“也许,我的生活没有导向一个正确的方向?”当然,只是意识到上面的问题已经需要一个人对生活有一些思考。所以,让我们只是说我们想用这个“高速列车行驶”的隐喻(并且,实际上,我真认为这是一个“非常好”的隐喻),如果你的生活实际上确实导向了一个错误的方向你又会做什么决定呢? 继续阅读本文的多内容 »

Zend PHP5 认证考试研究之12: 附三

Ok, this is the last part of my reviews. This post listed some WEIRD and STRANGE questions I found in the phparch’s simulator exam. You may think these are some advanced features of the PHP5 language, but some of them are actually mention in the GUIDE also. However, some of the questions, I found that there maybe some errors in the question itself; in this case, I marked with the “*” in front of the question. Therefore, some of the answer I gave maybe not right, or maybe I get the meaning of the questions wrong. So, if you have any comment on this post, please feel free to comment or send me a message. Thanks!
继续阅读本文的多内容 »

Zend PHP5 认证考试研究之11: 附二

In this and the up-coming Post, I listed some extra questions I found during I took the phparch’s Vulcan Zend PHP 5 Certification Testings. This post listed some EASIER but will not be frequently asked in the actual exam I think. But, they are worthy noted here, they can also serve as check points for you previously learned knowledge.
继续阅读本文的多内容 »

Pages (4): [1] 2 3 4 »