<?xml version="1.0" encoding="gb2312"?><rss version="2.0">
<channel>
<title><![CDATA[HankxCMS-海讯工作室，专注CMS开发]]></title>
        <image>
        <title>http://hi.baidu.com</title>
        <link>http://hi.baidu.com</link>
        <url>http://img.baidu.com/img/logo-hi.gif</url>
        </image>
<description><![CDATA[我想知道我能走多远！]]></description>
<link>http://hi.baidu.com/hankx</link>
<language>zh-cn</language>
<generator>www.baidu.com</generator>
<ttl>5</ttl>


<item>
        <title><![CDATA[单一入口应用程序概述]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/4755b2518437251d367abee7.html]]></link>
        <description><![CDATA[
		
		<strong>什么是单一入口应用程序？<br>
<br>
</strong>在解释什么是单一入口应用程序之前，我们先来看看传统的 web 应用程序。<br>
news.php 显示新闻列表<br>
news_edit.php 显示新闻编辑页面<br>
这两个页面不但分别实现了两个功能，还成为了应用程序的两个入口。<br>
<br>
那什么是入口啊？<br>
打个比方，大家上 WC，都是男生进一个门，女生进一个门。这两个门就是 WC 的两个入口。<br>
<br>
呵呵，上面的例子应该很好理解吧。那稍微变换一下，单一入口的概念就很容易理解了。<br>
现在我们是进一个公共 WC，不管男女都是从最外面的 <a href="http://hi.baidu.com/hankx/blog/item/4755b2518437251d367abee7.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/Php">Php</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/4755b2518437251d367abee7.html#comment">查看评论</a>]]></description>
        <pubDate>2008年06月10日 星期二  21:03</pubDate>
        <category><![CDATA[Php]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/4755b2518437251d367abee7.html</guid>
</item>

<item>
        <title><![CDATA[刚刚发现jquery更新到1.2.4，具体变化尚未可知！]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/f5a73b010689d20b7aec2c6e.html]]></link>
        <description><![CDATA[
		
		jquery的blog还没更新，不知道有什么变化，关注<a href="http://www.jquery.com/">http://www.jquery.com</a> 
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/Javascript">Javascript</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/f5a73b010689d20b7aec2c6e.html#comment">查看评论</a>]]></description>
        <pubDate>2008年05月19日 星期一  22:19</pubDate>
        <category><![CDATA[Javascript]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/f5a73b010689d20b7aec2c6e.html</guid>
</item>

<item>
        <title><![CDATA[今天为 HankxCMS 开发了一个简易的控件编辑器]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/e4765143f469da149313c68b.html]]></link>
        <description><![CDATA[
		
		<p>主要是模型自定义的时候，需要这个东西，不知道叫控件编辑器对不对，反正差不多，呵呵，放出几张图：</p>
<p> </p>
<div forimg="1">
<div forimg="1">
<div forimg="1">
<p><a target="_blank" href="http://hiphotos.baidu.com/hankx/pic/item/2586a586dfa3c62d66096e72.jpg"><img class="blogimg" border="0" width="200" height="97" small="1" src="http://hiphotos.baidu.com/hankx/pic/item/2586a586dfa3c62d66096e72.jpg"></a></p>
<p>点击图片可以查看大图</p>
<div forimg="1">
<p></p></div></div></div></div> <a href="http://hi.baidu.com/hankx/blog/item/e4765143f469da149313c68b.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/Asp">Asp</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/e4765143f469da149313c68b.html#comment">查看评论</a>]]></description>
        <pubDate>2008年05月19日 星期一  11:23</pubDate>
        <category><![CDATA[Asp]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/e4765143f469da149313c68b.html</guid>
</item>

<item>
        <title><![CDATA[面对自然，为什么生命如此的脆弱？]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/eb7eeb24610bfe044c088d83.html]]></link>
        <description><![CDATA[
		
		<p><strong><font size="4">昨天当楼在摇晃，大家都跑到楼下的河边的时候，我就猜到了可能有大的地震发生，后来同事用他的手机上网，才知道是四川汶县发生了大地震！</font></strong></p>
<p><strong><font size="4">今天看见新闻上初步统计，已经有近万人死亡……</font></strong></p>
<p><strong><font size="4">面对自然，为什么生命如此的脆弱？</font></strong></p>
<p><strong><font size="4">愿他们在天堂里面安息！</font></strong></p>
<p> </p> 
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/%C4%AC%C8%CF%B7%D6%C0%E0">默认分类</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/eb7eeb24610bfe044c088d83.html#comment">查看评论</a>]]></description>
        <pubDate>2008年05月13日 星期二  09:04</pubDate>
        <category><![CDATA[默认分类]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/eb7eeb24610bfe044c088d83.html</guid>
</item>

<item>
        <title><![CDATA[FckEditor中文配置手册详细说明]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/d163d62a087a739e033bf6c6.html]]></link>
        <description><![CDATA[
		
		首先,FCKEDITOR的性能是非常好的,用户只需很少的时间就可以载入FCKEDITOR所需文件.对于其他在线编辑器来说,这几乎是个很难解决的难题,因为在开启编辑器<br>
时需要装载太多的文件.比如CUTEEDITOR,虽然功能比FCKEDITOR还要强大,可是,它本身也够庞大了,至于FREETEXTBOX等,其易用性与FCKEDITOR相比,尚有差距,<br>
可以说,FCKEDITOR是一个别具匠心的在线编辑器,它里面融入了作者高深的面向对象的JAVAscrīpt功力,集易用性与强大的功能与一体. <br>
.与编辑器相关的所有图像,脚本以及调用页 <br>
.语言文件 <br>
.编辑器的皮肤文件 <br>
.工 <a href="http://hi.baidu.com/hankx/blog/item/d163d62a087a739e033bf6c6.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/Javascript">Javascript</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/d163d62a087a739e033bf6c6.html#comment">查看评论</a>]]></description>
        <pubDate>2008年05月06日 星期二  18:29</pubDate>
        <category><![CDATA[Javascript]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/d163d62a087a739e033bf6c6.html</guid>
</item>

<item>
        <title><![CDATA[一道面试题，当时没有解出来。（块级元素的垂直居中）]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/3a559f1680d68954f3de32e4.html]]></link>
        <description><![CDATA[
		
		<h2>转载自：<a href="http://www.33lab.cn/demo/200803/ideas_from_an_interview_question.htm">http://www.33lab.cn/demo/200803/ideas_from_an_interview_question.htm</a></h2>
<br>
<div><a href="http://hi.baidu.com/fc/editor/">BTN</a></div>
<br>
<pre>#wrapper {
 border:1px solid #ccc;
 width:400px;
 height:200px;
 <span style="color: red">text-align:center;</span>
 <span style="color: red">line-height:200px;</span>　　<span style="color: gray">// Vertical Align For IE7 &amp; Firefox</span>
 </pre> <a href="http://hi.baidu.com/hankx/blog/item/3a559f1680d68954f3de32e4.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/css%26%2338%3Bjs">css&#38;js</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/3a559f1680d68954f3de32e4.html#comment">查看评论</a>]]></description>
        <pubDate>2008年04月23日 星期三  16:38</pubDate>
        <category><![CDATA[css&#38;js]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/3a559f1680d68954f3de32e4.html</guid>
</item>

<item>
        <title><![CDATA[本日志标题：常用CSS命名参考]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/55c585d62355b82a07088b1a.html]]></link>
        <description><![CDATA[
		
		<div class="adtext">  </div>
在XHTML中定义ID时都用得上，主要是方便CSS定义样式时能一眼看穿。所以，CSS命名仅作参考。<br>
<br>
<strong>(1)页面结构类</strong><br>
<br>
容器: container <br>
页头：header <br>
内容：content/container <br>
页面主体：main <br>
页尾：footer <br>
导航：nav <br>
侧栏：sidebar <br>
栏目：column <br>
页面外围控制整体布局宽度：wrapper <br>
<br>
<strong>(2)导航类</strong><br>
<br>
导航：nav <br>
主导航：mainnav <br>
子导航：subnav <br>
顶导航：topnav <br>
边导航：sidebar <br> <a href="http://hi.baidu.com/hankx/blog/item/55c585d62355b82a07088b1a.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/css%26%2338%3Bjs">css&#38;js</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/55c585d62355b82a07088b1a.html#comment">查看评论</a>]]></description>
        <pubDate>2008年04月23日 星期三  16:33</pubDate>
        <category><![CDATA[css&#38;js]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/55c585d62355b82a07088b1a.html</guid>
</item>

<item>
        <title><![CDATA[河南最美的景区万仙山：www.wanxianshan.net]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/8cbef53646d55a340a55a90f.html]]></link>
        <description><![CDATA[
		
		<p>万仙山的网站：<a href="http://www.wanxianshan.net/">www.wanxianshan.net</a>，万仙山的景色还是非常不错的</p>
<p> </p>
<div forimg="1">
<p><img class="blogimg" border="0" small="0" src="http://www.wanxianshan.net/Page/themes/default/images/headbg.jpg"></p>
<p>万仙山景区为国家AAAA级旅游景区、国家地质公园、国家森&shy;林公园，是国内著名的休闲旅游胜地、避暑基地、影视基地、写生基地和拓展培训基地。景区由中华影视村&mdash;&mdash;郭亮、清幽山乡&mdash;&mdash;南坪、人间仙境&mdash;&mdash;罗姐寨</p></div> <a href="http://hi.baidu.com/hankx/blog/item/8cbef53646d55a340a55a90f.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/%C4%AC%C8%CF%B7%D6%C0%E0">默认分类</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/8cbef53646d55a340a55a90f.html#comment">查看评论</a>]]></description>
        <pubDate>2008年04月22日 星期二  09:55</pubDate>
        <category><![CDATA[默认分类]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/8cbef53646d55a340a55a90f.html</guid>
</item>

<item>
        <title><![CDATA[[基本完美]兼容 IE,Firefox 的图片自动缩放 CSS]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/084d90451826c03a86947366.html]]></link>
        <description><![CDATA[
		
		<div class="PostHead">一直以来有个很头疼的问题困扰着我，那就是图片缩放的问题，写到 JS 里面吧，不太容易修改。写到 CSS 里面吧，IE 6 又不支持 max-width，今天用了很久时间终于解决了这个问题，基本完美了，唯一不完美的就是 IE 6 只有在图片完全下载完成后才会自动调整大小，不过聊胜于无，总比进入页面后看到长长的横向滚动条舒服的多，这里使用了 expression，但是利用了一次加载，所以 expression 不会造成内存泄漏。当然，如果你有更好的解决方案，希望能与我交流。代码如下：</div>
<div class="PostMain">
</div> <a href="http://hi.baidu.com/hankx/blog/item/084d90451826c03a86947366.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/%C4%AC%C8%CF%B7%D6%C0%E0">默认分类</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/084d90451826c03a86947366.html#comment">查看评论</a>]]></description>
        <pubDate>2008年04月16日 星期三  13:38</pubDate>
        <category><![CDATA[默认分类]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/084d90451826c03a86947366.html</guid>
</item>

<item>
        <title><![CDATA[一种PHP设计模式：DPT]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/8288a5ef7f9f6d12fdfa3cbc.html]]></link>
        <description><![CDATA[
		
		<p><strong>一、DPT介绍</strong></p>
<p>PHP为什么在主流的应用中总是那么不出色，总是不如.Net/Java，就是因为在PHP处理大型应用的时候，那些不完整的面向对象机制、数据库处理的单一，不通用性等等，影响了PHP做大型应用。那么，如何来改变这个状况呢？当然就是需要引进一些新的设计方法，把PHP中不健全的面向对象机制完整起来，进行更好的PHP大中型应用的开发。<br>
从Java过来的MVC模式非常流行，而且已经有部分已经引伸进了PHP领域，设计模式的引进，就是为了更好的控制项目开发。今天我要说一种设计模式，类似于MVC，它叫DPT</p> <a href="http://hi.baidu.com/hankx/blog/item/8288a5ef7f9f6d12fdfa3cbc.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/Php">Php</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/8288a5ef7f9f6d12fdfa3cbc.html#comment">查看评论</a>]]></description>
        <pubDate>2008年04月01日 星期二  19:46</pubDate>
        <category><![CDATA[Php]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/8288a5ef7f9f6d12fdfa3cbc.html</guid>
</item>

<item>
        <title><![CDATA[PHP编码规范]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/a20090580c726fda9c8204ab.html]]></link>
        <description><![CDATA[
		
		<p>注：这是从PHPCMS开发文档里看到编码规范，虽名为PHPCMS的开发规范，但我觉得所有的PHP编程都该如此。写了那么多PHP，很多编码对照这规范都感觉欠缺很多，今后一定要对照纠正。</p>
<p>Phpcms 编码规范<br>
1. 引言…. 2<br>
2. 适用范围…. 2<br>
3. 标准化的重要性和好处…. 3<br>
4. PHP编码规范与原则…. 3<br>
4.1. 代码标记… 3<br>
4.2. 注释… 3<br>
4.3. 书写规则… 4<br>
4.3.1. 缩进… 4<br>
4.3.2. 大括号{}、if和switch. 4<br>
4.3.3. 运算符、小括号、空格、关键词和函数… 5<br>
4.3.4. 函数定义… 6<br>
4.3.5. </p> <a href="http://hi.baidu.com/hankx/blog/item/a20090580c726fda9c8204ab.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/Php">Php</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/a20090580c726fda9c8204ab.html#comment">查看评论</a>]]></description>
        <pubDate>2008年03月24日 星期一  09:09</pubDate>
        <category><![CDATA[Php]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/a20090580c726fda9c8204ab.html</guid>
</item>

<item>
        <title><![CDATA[网站页面地址伪装的新思路]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/1d1e372af5a9513c5243c12c.html]]></link>
        <description><![CDATA[
		
		<p>做项目时想到这个，不知道有没有人这么做，姑且称之为新思路</p>
<p>一个页面地址是：<a href="http://www.hankx.com/page.asp?id=1">www.hankx.com/page.asp?id=1</a></p>
<p>伪装成为：1.page.hankx.com</p>
<p>伪装条件：需要泛域名解析支持，即将所有的*.hankx.com 都指向网站的一个页面，这儿加入是hankx.asp</p>
<p>伪装原理：使用server.execute</p>
<p>过程：浏览者访问1.page.hankx.com=&gt;到达<a href="http://www.hankx.com/">www.hankx.com</a>/hankx.asp =》程序获取1.page.hankx.com再转化成真实地址，然后 serve</p> <a href="http://hi.baidu.com/hankx/blog/item/1d1e372af5a9513c5243c12c.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/Asp">Asp</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/1d1e372af5a9513c5243c12c.html#comment">查看评论</a>]]></description>
        <pubDate>2008年01月16日 星期三  10:19</pubDate>
        <category><![CDATA[Asp]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/1d1e372af5a9513c5243c12c.html</guid>
</item>

<item>
        <title><![CDATA[照片生成缩略图时的尺寸计算]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/d15197ca1c52a782c9176889.html]]></link>
        <description><![CDATA[
		
		<div class="postTitle"> </div>
为了能保持住照片在缩小时不变形,所以需要重新计算缩略图的尺寸. 这里默认缩略图的尺寸的应该满足 长 &gt;= 宽, 否则计算规则应有所变化.<br>
<br>
今天突然想明白了，记在这里以后备用.<br>
 <a href="http://hi.baidu.com/hankx/blog/item/d15197ca1c52a782c9176889.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/Net%20Framework">Net Framework</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/d15197ca1c52a782c9176889.html#comment">查看评论</a>]]></description>
        <pubDate>2007年12月20日 星期四  09:02</pubDate>
        <category><![CDATA[Net Framework]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/d15197ca1c52a782c9176889.html</guid>
</item>

<item>
        <title><![CDATA[typeof & GetType in c#]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/c164c45c87118d40fbf2c018.html]]></link>
        <description><![CDATA[
		
		<p>首先明确的是：System.Type type = typeof(Animal);</p>
<p>typeof 返回的是System.Type 对象，返回的对象代表 Animal 类型，获得<a href="http://www.bianceng.cn/OS/">系统</a>原型对象的类型</p>
<p> </p>
<p>Typeof()是运算符而GetType是方法 <br>
GetType()是基类System.Object的方法，因此只有建立一个实例之后才能够被调用（初始化以后） <br>
Typeof()的参数只能是int,string,String,自定义类型，且不能是实例 <br>
<br>
XX.GetType()   这个XX是对象 <br>
typeof(XX)   这个XX是类型<br>
<br>
GetType() 和typeof()都返</p> <a href="http://hi.baidu.com/hankx/blog/item/c164c45c87118d40fbf2c018.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/Net%20Framework">Net Framework</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/c164c45c87118d40fbf2c018.html#comment">查看评论</a>]]></description>
        <pubDate>2007年12月06日 星期四  19:59</pubDate>
        <category><![CDATA[Net Framework]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/c164c45c87118d40fbf2c018.html</guid>
</item>

<item>
        <title><![CDATA[使用反射访问属性（C# 编程指南）]]></title>
        <link><![CDATA[http://hi.baidu.com/hankx/blog/item/1d1e372a507ece3b5343c111.html]]></link>
        <description><![CDATA[
		
		<div class="title">使用反射访问属性（C# 编程指南）</div>

<div >
<div >
<p> </p>
<p>如果没有检索自定义属性的信息和对其进行操作的方法，则定义自定义属性并将其放置在源代码中就没有意义。C# 具有一个反射系统，可用来检索用自定义属性定义的信息。主要方法是 <strong>GetCustomAttributes</strong>，它返回对象数组，这些对象在运行时等效于源代码属性。此方法具有多个重载版本。有关更多信息，请参见 <a href="http://msdn2.microsoft.com/zh-cn/library/e8kc3626(VS.80).aspx">Attribute</a>。</p>
<p>属性规</p></div></div> <a href="http://hi.baidu.com/hankx/blog/item/1d1e372a507ece3b5343c111.html">阅读全文</a>
		
		<br/><b>类别：</b><a href="http://hi.baidu.com/hankx/blog/category/Net%20Framework">Net Framework</a>&nbsp;<a href="http://hi.baidu.com/hankx/blog/item/1d1e372a507ece3b5343c111.html#comment">查看评论</a>]]></description>
        <pubDate>2007年12月06日 星期四  19:50</pubDate>
        <category><![CDATA[Net Framework]]></category>
        <author><![CDATA[hankx_chen]]></author>
		<guid>http://hi.baidu.com/hankx/blog/item/1d1e372a507ece3b5343c111.html</guid>
</item>


</channel>
</rss>