<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title> - PHP编程</title><link>http://www.net-note.cn/</link><description> - </description><generator>RainbowSoft Studio Z-Blog 1.8 Walle Build 91204</generator><language>zh-CN</language><copyright>Leather Goods-一次性换药盒-Women Gloves-上海亿闻-SANTA HAT-GRAY-移民加拿大-加拿大冰酒var gaJsHost = ((&amp;quot;https:&amp;quot; == document.location.protocol) ? &amp;quot;https://ssl.&amp;quot; : &amp;quot;http://www.&amp;quot;);document.write(unescape(&amp;quot;%3Cscript src='&amp;quot; + gaJsHost + &amp;quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&amp;quot;));try {var pageTracker = _gat._getTracker(&amp;quot;UA-11947519-6&amp;quot;);pageTracker._trackPageview();} catch(err) {}</copyright><pubDate>Sun, 05 Sep 2010 13:00:58 +0800</pubDate><item><title>PHP数据库连接类--DB类</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/DB-class-connect-database.html</link><pubDate>Sat, 27 Feb 2010 10:49:14 +0800</pubDate><guid>http://www.net-note.cn/post/DB-class-connect-database.html</guid><description><![CDATA[<p>对于PHP的应用程序来说，90%以上需要和数据库来打交道。那么，你是如何操纵数据库的？当你的后端数据库升级或变迁后，你的这些程序是否能够随之平滑地升级和挂接呢？如果你正在考虑这个问题，那么不妨和我来讨论一下，如何使用PEAR中的DB类来创建与数据库无关的数据库应用层。<br />什么是DB类</p><p>我们首先简单地了解一下DB类。DB类是PEAR中进行数据操作的几个类的集合，它的主要目的是提供一个统一的，抽象的数据接口，这个接口与后端的数据库是无关的。因此，如果你的应用程序使用这个通用的接口来进行数据库的操作，那么就能够平滑地切换到不同的数据库下面，如MYSQL，SQL，SYBASE等等。实际上，DB类希望能够起到简单的类似ODBC或者是PERL中的DBI的作用。说到这里，不得不提一下PHP中的另一个优秀的库：ADODB。ADODB也和DB一样，提供了一个抽象的中间层，而且ADODB所支持的后端数据库要比DB多（至少目前如此），不过ADODB没有直接使用PEAR的一些特性，只是吸取了PEAR的许多思想，包括DB，因此二者的使用方法有许多相似的地方。我不想评论二者孰优孰劣，大家可以根据个人的喜好来使用。</p>...]]></description><category>PHP编程</category><comments>http://www.net-note.cn/post/DB-class-connect-database.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=19</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=19&amp;key=36e86fba</trackback:ping></item><item><title>用PEAR来写你的下一个php程序</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/use-pear-to-develop-next-php-pro.html</link><pubDate>Sat, 27 Feb 2010 10:05:16 +0800</pubDate><guid>http://www.net-note.cn/post/use-pear-to-develop-next-php-pro.html</guid><description><![CDATA[<p><a name="1"><span class="atitle">什么是ＰＥＡＲ</span></a></p><p>ＰＥＡＲ是ＰＨＰ扩展与应用库（the PHP Extension and Application Repository）的缩写。它是一个ＰＨＰ扩展及应用的一个代码仓库，简单地说，ＰＥＡＲ就是ＰＨＰ的ＣＰＡＮ。</p><p><br /><table cellspacing="0" cellpadding="0" width="100%" border="0" sizset="37" sizcache="2">    <tbody>    </tbody></table></p>]]></description><category>PHP编程</category><comments>http://www.net-note.cn/post/use-pear-to-develop-next-php-pro.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=15</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=15&amp;key=4b004f71</trackback:ping></item><item><title>五种常见的 PHP 设计模式</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/5-kinds-of-php-model.html</link><pubDate>Sat, 27 Feb 2010 09:58:07 +0800</pubDate><guid>http://www.net-note.cn/post/5-kinds-of-php-model.html</guid><description><![CDATA[<p><i>设计模式</i> 一书将设计模式引入软件社区，该书的作者是 Erich Gamma、Richard Helm、Ralph Johnson 和 John Vlissides Design（俗称 &ldquo;四人帮&rdquo;）。所介绍的设计模式背后的核心概念非常简单。经过多年的软件开发实践，Gamma 等人发现了某些具有固定设计的模式，就像建筑师设计房子和建筑物一样，可以为浴室的位置或厨房的构造方式开发模板。使用这些模板或者说<i>设计模式</i> 意味着可以更快地设计更好的建筑物。同样的概念也适用于软件。</p><p>...</p>]]></description><category>PHP编程</category><comments>http://www.net-note.cn/post/5-kinds-of-php-model.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=14</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=14&amp;key=73f367c9</trackback:ping></item><item><title>PHP 面向对象开发的 分页类</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/php-turnpage-class.html</link><pubDate>Sun, 21 Feb 2010 08:45:28 +0800</pubDate><guid>http://www.net-note.cn/post/php-turnpage-class.html</guid><description><![CDATA[<h1 id="subject_tpc">分享自己完成的一个分页类</h1><div class="c">&nbsp;</div><div class="tpc_content"><div class="c" id="p_tpc">&nbsp;</div><div class="f14" id="read_tpc">学习PHP 有一段时间了，很感谢PHP100的教学视频，原来是用ASP 的，现在学了PHP 发现比ASP 好用的多。最近在用PHP开发一个后台，今天做了一个分页类，功能是&ldquo;共 X 页 X 条记录 首页 上一页 下一页 尾页&rdquo;加一个下跳转框。第一次用OO的方法来实现一个功能，拿出来希望给初学者看看，交流一下。带的是SQLITE 文件型数据库，用PDO 做的连接，可以直接运行，我的环境是WAMP 2.0版本。</div>...</div>]]></description><category>PHP编程</category><comments>http://www.net-note.cn/post/php-turnpage-class.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=10</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=10&amp;key=78a6ab68</trackback:ping></item></channel></rss>
