<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>六月麦田 &#187; 工巧</title>
	<atom:link href="http://blog.wangxiaoxing.net/category/%e5%b7%a5%e5%b7%a7/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.wangxiaoxing.net</link>
	<description>阳光和风穿过身体，谁也没留下痕迹</description>
	<lastBuildDate>Wed, 28 Jul 2010 09:09:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>最好的语言</title>
		<link>http://blog.wangxiaoxing.net/2010/05/the-best-programming-langudge/</link>
		<comments>http://blog.wangxiaoxing.net/2010/05/the-best-programming-langudge/#comments</comments>
		<pubDate>Mon, 24 May 2010 08:30:46 +0000</pubDate>
		<dc:creator>Wang Xiaoxing</dc:creator>
				<category><![CDATA[工巧]]></category>
		<category><![CDATA[程序语言]]></category>

		<guid isPermaLink="false">http://blog.wangxiaoxing.net/?p=10271</guid>
		<description><![CDATA[没有程序语言是完美的，甚至没有一个唯一最好的语言，只有对于特定目的，比较适合和不适合的程序语言。 Herbert Mayer 以前和朋友聊起程序语言常表达这个意思，终于找到一个表述得当的版本和出处。此人在wiki上尚没有英文介绍。]]></description>
			<content:encoded><![CDATA[<blockquote><p>没有程序语言是完美的，甚至没有一个唯一最好的语言，只有对于特定目的，比较适合和不适合的程序语言。</p></blockquote>
<p style="text-align: right;"><a href="http://eo.wikipedia.org/wiki/Herbert_Mayer">Herbert Mayer</a></p>
<p>以前和朋友聊起程序语言常表达这个意思，终于找到一个表述得当的版本和出处。此人在wiki上尚没有英文介绍。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wangxiaoxing.net/2010/05/the-best-programming-langudge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Client ACL&#8221; in RIA</title>
		<link>http://blog.wangxiaoxing.net/2009/10/client-acl-in-ria/</link>
		<comments>http://blog.wangxiaoxing.net/2009/10/client-acl-in-ria/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 07:31:03 +0000</pubDate>
		<dc:creator>Wang Xiaoxing</dc:creator>
				<category><![CDATA[工巧]]></category>
		<category><![CDATA[ACL]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://blog.wangxiaoxing.net/2009/10/client-acl-in-ria/</guid>
		<description><![CDATA[We always use an ACL module to control if a UI component displays in the screen for current user. For example, Client ACL attend to prevent a read-only user from creating new object by hiding &#8220;New&#8221; button. But considering that the client application is actually an user interface which runs on client machine and communicates [...]]]></description>
			<content:encoded><![CDATA[<p>We always use an ACL module to control if a UI component displays in the screen for current user. For example, Client ACL attend to prevent a read-only user from creating new object by hiding &#8220;New&#8221; button. But considering that the client application is actually an user interface which runs on client machine and communicates with the server through the Internet, data can be changed easily in the long way from browser to the server. Although client code, Javascript for example, do hide the &#8220;New&#8221; button, the user is able to display it with browser tool like firebug. One even doesn&#8217;t need the button but just calls the Javascript function directly to invoke the hidden feature. So the real ACL must be built on the server side &#8211; &#8220;safe area&#8221;, instead of client side which is out of control.<br />
Never see &#8220;client ACL&#8221; as an ACL issue &#8211; it&#8217;s indeed an business logic. It&#8217;s just data set by which client code can decide whether show UI component &#8211; nothing else.<br />
It sounds easy, but unfortunately, we came to such an issue today on a product released months before.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wangxiaoxing.net/2009/10/client-acl-in-ria/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JDoc Tag of Type &#8220;module&#8221;</title>
		<link>http://blog.wangxiaoxing.net/2009/09/jdoc-tag-of-type-module/</link>
		<comments>http://blog.wangxiaoxing.net/2009/09/jdoc-tag-of-type-module/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 11:57:25 +0000</pubDate>
		<dc:creator>Wang Xiaoxing</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[jdoc]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://blog.wangxiaoxing.net/?p=10105</guid>
		<description><![CDATA[There are only a few words about jdoc tag of type &#8220;module&#8221; In Joomla! online docs. The docs shows attributes such as name, style, id by code snippet without any description on that. So I was confused when I tried this tag in my template. The problem is, as the name attribute refers to the [...]]]></description>
			<content:encoded><![CDATA[<p>There are only a few words about jdoc tag of type &#8220;module&#8221; In Joomla! online docs. <a href="http://docs.joomla.org/Jdoc_statements#Module" target="_blank">The docs</a> shows attributes such as name, style, id by code snippet without any description on that. So I was confused when I tried this tag in my template. The problem is, as the name attribute refers to the module type, how can I specify the module instance I want? I searched google for many articles and <a href="http://blog.opensourcenetwork.eu/tutorials/advanced/jdocinclude-typemodule-single" target="_blank">got a anwser</a> that when there are more than one modules of the type, the first one in order will be taken by Joomla!. Yes, that&#8217;s silly. At last I fount a related tracker item in JoomlaCode on which the author impied that&#8217;s a defect of Joomla! docs. There&#8217;s an attribute named &#8220;title&#8221; refering to the instance title actually.</p>
<p>As a newbie of Joomla! framework, I feel Joomla! docs are not friendly enough for a newer. Some of contents are out of date, while some features are not even mentioned in docs. For example, by common sense I guess I can pass parameters to module instance in my template, but I can&#8217;t find it in docs, either in sample templates. Just like what I did in recent days with Joomla!, I dug into the framework code to see what happend on the tag. The anwser is Joomla! sets a variable named &#8220;attribs&#8221; in the scope of the module which contains attributes in the tag in the form of name-value pairs. Well, Joomla! code is much more friendly to read then docs, although there are few inline comments&#8230;</p>
<p>Documents and community are really very important for an open source project.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wangxiaoxing.net/2009/09/jdoc-tag-of-type-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
