<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://wiki.cjcht.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://wiki.cjcht.com/feed.php">
        <title>Seagull PHP Framework chinese document</title>
        <description></description>
        <link>http://wiki.cjcht.com/</link>
        <image rdf:resource="http://wiki.cjcht.com/lib/images/favicon.ico" />
       <dc:date>2010-05-30T08:15:37+08:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/modules/cms/releasenotes/1.1?rev=1235975451&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/modules/cms/i18n?rev=1235975363&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/modules/comment2?rev=1235974639&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/modules/emailqueue?rev=1235550310&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/modules/ecomm/api?rev=1235543461&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/modules/user/integratingwithotherprojects?rev=1235533905&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/general/modules?rev=1235529735&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/integration/serendipity?rev=1235527849&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/integration/gallery?rev=1235456453&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/integration/pdf/dompdf?rev=1235375881&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/integration/pdf/html_topdf?rev=1235374517&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/integration/yaml_css?rev=1235373744&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/howto/managingentitieswithdbdataobject?rev=1235373469&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/howto/db?rev=1235373194&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/howto/optimisingperformance/example?rev=1235358051&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/howto/caching?rev=1235357658&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/howto/optimisingperformance?rev=1235115181&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/howto/ajax?rev=1235114413&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.cjcht.com/doku.php/howto/setadminguiforotherroles?rev=1235114242&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://wiki.cjcht.com/lib/images/favicon.ico">
        <title>Seagull PHP Framework chinese document</title>
        <link>http://wiki.cjcht.com/</link>
        <url>http://wiki.cjcht.com/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://wiki.cjcht.com/doku.php/modules/cms/releasenotes/1.1?rev=1235975451&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-02T14:30:51+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>modules:cms:releasenotes:1.1 - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/modules/cms/releasenotes/1.1?rev=1235975451&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Modules/Cms/ReleaseNotes/1.1&gt;



Release 1.1

新特性

	*  integration with categories, single or one-to-many assignments possible
		*  categories and content are linked to file association manager, so media assets can be linked with any category or item of content
		*  new link widget for creating internal and external links within your content items
		*  improved inline editing and ajax-load of attributes for long content type lists
		*  added list attribute…</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/modules/cms/i18n?rev=1235975363&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-02T14:29:23+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>modules:cms:i18n - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/modules/cms/i18n?rev=1235975363&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Modules/Cms/i18n&gt;



CMS国际化

概述


Seagull CMS模块可以根据你选择你语言生成内容以供显示。内容可以是


	*  预先定义好的文本内容
		*  导航菜单项
		*  分类菜单项</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/modules/comment2?rev=1235974639&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-02T14:17:19+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>modules:comment2 - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/modules/comment2?rev=1235974639&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Modules/Comment2&gt;



Comment2模块

	*  requires &gt;= Seagull 0.6.5 

概述


comment2模块是为现有的任意模块添加评论功能的快捷方式。 

它对现有的comment模块做了很多改进，包括</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/modules/emailqueue?rev=1235550310&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-25T16:25:10+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>modules:emailqueue - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/modules/emailqueue?rev=1235550310&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Modules/EmailQueue&gt;



Email Queue模块

概述


这个模块允许选择发送邮件的后台，并且可以控制它们发送的速度。默认包含了DB后台驱动器。

例子


如何添加到队列</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/modules/ecomm/api?rev=1235543461&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-25T14:31:01+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>modules:ecomm:api - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/modules/ecomm/api?rev=1235543461&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Modules/Ecomm/Api&gt;



产品


产品灵气可以使用任何后台保存，目前支持CMS和最简单的product表。



// $config set for CMS product
$myProduct = ECM_Product::getByType('t-shirt')
    -&gt;title = 'Foo Shirt'
    -&gt;description = 'this is my tshirt'
    -&gt;save();</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/modules/user/integratingwithotherprojects?rev=1235533905&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-25T11:51:45+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>modules:user:integratingwithotherprojects - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/modules/user/integratingwithotherprojects?rev=1235533905&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Modules/User/IntegratingWithOtherProjects&gt;



概述


这边假设你把你的用户数据放在表foo_user中。


	*  复制表和内容到seagull数据库
		*  在全局配置文件中找到
    $conf['table']['user'] = 'usr';
	*  改成</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/general/modules?rev=1235529735&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-25T10:42:15+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>general:modules</title>
        <link>http://wiki.cjcht.com/doku.php/general/modules?rev=1235529735&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Modules&gt;



在下载时选择完整下载时压缩包内会包含有下列所有的模块，请看&lt;http://seagullproject.org/download/&gt;。关于CMS的资料，请看下面。有关于ecomm的信息，目前该模块还末公开。</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/integration/serendipity?rev=1235527849&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-25T10:10:49+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>integration:serendipity - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/integration/serendipity?rev=1235527849&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Integration/Serendipity&gt;



集成Serendipity博客


Serendipity被广泛认为是PHP中的最好BLOG之一，它有可能已经被移植到所有的语言平台。现在你可以将它集成到你的seagull项目中：</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/integration/gallery?rev=1235456453&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-24T14:20:53+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>integration:gallery - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/integration/gallery?rev=1235456453&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Integration/Gallery&gt;



Gallery2 Image Gallery


by Matti Tahvonen and revised on 24 Aug 06 by Karl Tiedt.

介绍


按照下列步骤你可以无缝集成著名的Gallery2应用程序到Seagull中。

安装
 1. 解压缩gallery-2&lt;version&gt;-typical.tar.gz到seagull/www/
 2. Follow detailed installer instructions 按照安装程序的指示一步下安装
 3. 在gallery2文件夹中或在（最好是在webroot目录上）webroot以上创建g2data目录，如seagull/g2data
 4. 在'Admin User Setup'界面，将你的管理员命名为'g2_admin'以避免名称冲突（不过要注意名称的最大长度）
 5. 像平常那样完成安装
 6. 设置一个测试相册（gallery）
 7. 以管理员登陆seagull
…</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/integration/pdf/dompdf?rev=1235375881&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-23T15:58:01+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>integration:pdf:dompdf - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/integration/pdf/dompdf?rev=1235375881&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Integration/PDF/DOMPDF&gt;



使用DOMPDF生成PDF文件


下面是在Seagull内使用DOMPDF将HTML生成pdf文件的步骤(&lt;http://www.digitaljunkies.ca/dompdf/&gt;：


	*  创建目录: lib/other/Dompdf 

	*  从dompdf复制文件到Dompdf:</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/integration/pdf/html_topdf?rev=1235374517&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-23T15:35:17+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>integration:pdf:html_topdf - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/integration/pdf/html_topdf?rev=1235374517&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Integration/PDF/HTML_ToPDF&gt;



集成HTML_ToPDF

概述


HTML_ToPDF是用来动态将HTML页面转换成PDF格式输出的一个PHP类。

&lt;http://www.rustyparts.com/pdf.php&gt;

使用HTML_ToPDF将HTML转换成PDF非常容易 。所以可以使用Flexy创建相应的模板以达到相应的输出格式。</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/integration/yaml_css?rev=1235373744&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-23T15:22:24+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>integration:yaml_css - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/integration/yaml_css?rev=1235373744&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Integration/YAML_CSS&gt;



集成YAML CSS框架

概述


在Seagull中集成YAML是非常简单的：

 1. 创建一个新主题，命名为foo
 2. 在你的sgl/www/themes/foo/css目录添加yaml源代码，目录结构如下:    	sgl/www/themes/foo/css/navigation
    	sgl/www/themes/foo/css/patches
    	sgl/www/themes/foo/css/screen
    	sgl/www/themes/foo/css/yaml
    	sgl/www/themes/foo/css/my_root_yaml_file.css 3. 在sgl/www/themes/foo/default/header.html添加如下这行:   {makeCssOptimizerLink(##,#my_root_yaml_file.css#):h}

把这行代码放在文件头部的javascript变量定义…</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/howto/managingentitieswithdbdataobject?rev=1235373469&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-23T15:17:49+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>howto:managingentitieswithdbdataobject</title>
        <link>http://wiki.cjcht.com/doku.php/howto/managingentitieswithdbdataobject?rev=1235373469&amp;do=diff</link>
        <description>使用实体


实体简单的讲就是你的应用程序中主要概念的代码代表，也是你将要使用的数据结构。你如果你已经了解实体，请直接跳到DB_DataObjects部分。

什么是实体?


如果你正在创建一个web应用程序，比如说blog，你会用到下列这些实体：</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/howto/db?rev=1235373194&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-23T15:13:14+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>howto:db</title>
        <link>http://wiki.cjcht.com/doku.php/howto/db?rev=1235373194&amp;do=diff</link>
        <description>来源:&lt;http://trac.seagullproject.org/wiki/Howto/DB&gt;


Database主题

	*  DB 数据库主题
	*  Howto/DB/CodeExamples/Extended DB Queries
	*  Howto/DB/CodeExamples/Simple DB
	*  Howto/DB/MaxDB|Howto/DB/MaxDB SGL使用MaxDB
	*  Howto/DB/ModifyingPagerAppearance 修改分页的外观
	*  Howto/DB/MultipleDbs 如何使用多个数据库源
	*  Howto/DB/Oracle 在SGL中使用Oracle
	*  Howto/DB/PagingDataobjects 将数据对象分页
	*  Howto/DB/PagingRecordsets 将记录集分页
	*  Howto/DB/PostgresSQL  PostgreSQL故障处理
	*  Howto/DB/WorkingWithPostgres 使用Postgres…</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/howto/optimisingperformance/example?rev=1235358051&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-23T11:00:51+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>howto:optimisingperformance:example - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/howto/optimisingperformance/example?rev=1235358051&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Howto/OptimisingPerformance/Example&gt;



优化实例

服务器环境


Linux version 2.6.20-1.2320.fc5smp
Dual-core Xeon 3060
4GB DDR2 RAM


软件


Seagull 0.6.3 [3405]
Apache 2.2.2
PHP 5.1.6
MySQL  5.0.27</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/howto/caching?rev=1235357658&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-23T10:54:18+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>howto:caching - 创建</title>
        <link>http://wiki.cjcht.com/doku.php/howto/caching?rev=1235357658&amp;do=diff</link>
        <description>来源：&lt;http://trac.seagullproject.org/wiki/Howto/Caching&gt;



概述

	*  since Seagull 0.6.3 


Seagull框架通过SGL_Cache类实现对缓存的支持。SGL_Cache类事实上只是PEAR的Cache_Lite类的封装类。它支持下列的缓存类型</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/howto/optimisingperformance?rev=1235115181&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-20T15:33:01+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>howto:optimisingperformance</title>
        <link>http://wiki.cjcht.com/doku.php/howto/optimisingperformance?rev=1235115181&amp;do=diff</link>
        <description>来源:&lt;http://trac.seagullproject.org/wiki/Howto/OptimisingPerformance&gt;



简介


你可以对Seagull做许多调整以优化性能。

优化配置


在目录的&lt;server-name&gt;.conf.php文件中：


	*  用mysql替代ysql_SGL，mysql_SGL将所有的sequences放在一张表中。它可能会给繁忙站点的带来负面影响
	*  从0.6.3开始你可以使用各种SGL加强的DB driver（数据库驱动器），并且选择不将所有的sequences保存在一个表当中 -- 请参考配置选择中的DB部分。
	*  开始你可以使用系统默认的/tmp目录来保存session文件 － 当你不是在共享主机上工作的时候（译者注：即你有权限这么做）建议你将session文件放在这里因为linux系统会为你删除旧的session文件，否则堆积过多的session文件将会使你的站点反应变慢
	*  将[site][outputBuffering]设置成true--这样Apache会立即将所有内容输出到浏览器，这样做会更有效…</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/howto/ajax?rev=1235114413&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-20T15:20:13+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>howto:ajax</title>
        <link>http://wiki.cjcht.com/doku.php/howto/ajax?rev=1235114413&amp;do=diff</link>
        <description>AJAX

集成AJAX到您的项目的一些技术


	*  Howto/AJAX AJAX
	*  Howto/AJAX/AjaxIntegration集成Ajax
	*  Howto/AJAX/AjaxProvider AJAX Provider
	*  Howto/AJAX/AjaxRequests Ajax Requests and Responses
	*  Howto/AJAX/Auto_completion Ajax auto completion
	*  Howto/AJAX/dojo dojo</description>
    </item>
    <item rdf:about="http://wiki.cjcht.com/doku.php/howto/setadminguiforotherroles?rev=1235114242&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-20T15:17:22+08:00</dc:date>
        <dc:creator>鑫豪</dc:creator>
        <title>howto:setadminguiforotherroles</title>
        <link>http://wiki.cjcht.com/doku.php/howto/setadminguiforotherroles?rev=1235114242&amp;do=diff</link>
        <description>来源:&lt;http://trac.seagullproject.org/wiki/Howto/UI/SetAdminGuiForOtherRoles&gt;



如何为其它角色用户设置使用管理员的界面


这是&lt;http://trac.seagullproject.org/wiki/RFC/AdminGui&gt;这篇文章的扩充版本以帮助解决同样的问题。这里的代码只适用于2006年7月05日的SGL0.6 RC3版本。</description>
    </item>
</rdf:RDF>
