翻译的Smarty手册前十章

allkill 2003-11-04 12:17:07
www.allkill.cn.st

由于外语水平有限,所以有些地方翻译的不是很到位。希望大家多多包涵。

剩下的十章可能是由我和shg918一起完成。前面翻译完的部分,我个人加入了一些自己的

看法。大家帮忙查查Bugs,可以提点意见,看看有哪些地方翻译的不到位的。给我发

Email(allkill@21cn.com),后十章翻译、除Bugs完事之后将打包提供大家下载。
...全文
138 26 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
26 条回复
切换为时间正序
请发表友善的回复…
发表回复
hongmaohouzi 2004-02-02
  • 打赏
  • 举报
回复
up
xingxingailulu 2004-02-02
  • 打赏
  • 举报
回复

太好啦~!

万分感谢~!

期待更多的翻译和心得~!

好好学习%……
pmaster 2004-01-17
  • 打赏
  • 举报
回复
jsp31@msn.com
ricochen 2003-11-24
  • 打赏
  • 举报
回复
我也找到自己的空间了,就是小点儿,下载链接:http://ricochen.updays.com/Smarty_PHP_manual.pdb
shg918 2003-11-20
  • 打赏
  • 举报
回复
我可以提供空间。shg918@sina.com
ricochen 2003-11-20
  • 打赏
  • 举报
回复
感谢搂主,我现在正把它做成.pdb的,pda版,希望可以上传给大家用,放在哪儿呢?
dragonsdg3 2003-11-19
  • 打赏
  • 举报
回复
好 谢谢虾米带我来 谢谢搂主 所有人
fish21cn 2003-11-07
  • 打赏
  • 举报
回复
up
eagle_gui 2003-11-07
  • 打赏
  • 举报
回复
谢谢,明白了.学习
eagle_gui 2003-11-06
  • 打赏
  • 举报
回复
比起phplib有什么优势?
多菜鸟 2003-11-06
  • 打赏
  • 举报
回复
好啊,好啊。
先收下了。多谢楼主,敬礼!!!
Cain 2003-11-06
  • 打赏
  • 举报
回复
up
allkill 2003-11-06
  • 打赏
  • 举报
回复
测试的结果比phplib快20%。

Smarty的运行原理和JSP的第一次运行编译意思一直。

而且Smarty内置缓冲机制。

使用上比Phplib方便。

有利于开发大型项目。

etc.
allkill 2003-11-05
  • 打赏
  • 举报
回复
感谢bonniewater(陪你去看海)的热心。

空间我有,这点你不用担心。只不过那个域名指向太烂了。

如果大家对访问速度不满意可以访问

http://218.7.49.120/hgxy/myself/manual/

只不过这样不是很好记罢了。
bonniewater 2003-11-05
  • 打赏
  • 举报
回复
我也有空间,愿意提供!
shg918 2003-11-05
  • 打赏
  • 举报
回复
三蚂蚁:你说什么?你上www.cirrt.com试试。随时随地都能打开
allkill 2003-11-04
  • 打赏
  • 举报
回复
搭了个临时论坛,专门讨论Smarty翻译的问题。

http://218.7.49.120/hgxy/myself/forum/
ydyd 2003-11-04
  • 打赏
  • 举报
回复
很好,学习
allkill 2003-11-04
  • 打赏
  • 举报
回复
其实不是空间烂了。那个空间是Dell的服务器,而且速度也很快。

忙是因为域名解析那头很烂了。

不知道这里还有没有人加入一起翻译后面的十章。

有的话十分欢迎。
episome 2003-11-04
  • 打赏
  • 举报
回复
国万网 什么破空间,最垃圾的地方了
加载更多回复(6)
Table of Contents [内容列表] Preface [序] I. Getting Started [开始] 1. What is Smarty? [什么是Smaty?] 2. Installation [安装] Requirements [安装] Basic Installation [基本安装] Extended Setup [扩展设置] II. Smarty For Template Designers [模板设计者篇] 3. Basic Syntax [基本语法] Comments [注释] Functions [函数] Attributes [属性] Embedding Vars in Double Quotes [双引号里值的嵌入] Math [数学运算] 4. Variables [变量] Variables assigned from PHP [从PHP分配的变量] Variables loaded from config files [从配置文件读取的变量] {$smarty} reserved variable [{$smarty}保留变量] 5. Variable Modifiers [变量调节器] capitalize [首字符大写] count_characters [字符计数] cat [连接字符串] count_paragraphs [计算段数] count_sentences [计算句数] count_words [计算词数] date_format [格式化日期] default [默认值] escape [编码] indent [缩进] lower [小写] nl2br [换行符替换成
] regex_replace [正则替换] replace [替换] spacify [插空] string_format [字符串格式化] strip [去除(多余空格)] strip_tags [去除html标签] truncate [截取] upper [大写] wordwrap [行宽约束] 6. Combining Modifiers [组合修改器] 7. Built-in Functions [内建函数] capture config_load foreach,foreachelse include include_php insert if,elseif,else ldelim,rdelim literal php section,sectionelse strip 8. Custom Functions [自定义函数] assign counter cycle debug eval fetch html_checkboxes html_image html_options html_radios html_select_date html_select_time html_table math mailto popup_init popup textformat 9. Config Files [配置文件] 10. Debugging Console [调试控制台] III. Smarty For Programmers [程序员篇] 11. Constants [常量] SMARTY_DIR [Smarty目录] 12. Variables [变量] $template_dir [模板目录变量] $compile_dir [编译目录变量] $config_dir [配置目录变量] $plugins_dir [插件目录变量] $debugging [调试变量] $debug_tpl [调试模板] $debugging_ctrl [调试控制变量] $global_assign [全局配置变量] $undefined [未定义变量] $autoload_filters [自动加载过滤器变量] $compile_check [编译检查变量] $force_compile [强迫编译变量] $caching [缓存变量] $cache_dir [缓存目录变量] $cache_lifetime [缓存生存时间变量] $cache_handler_func [缓存处理函数变量] $cache_modified_check [缓存修改检查变量] $config_overwrite [配置覆盖变量] $config_booleanize [配置布尔化变量] $config_read_hidden [配置读取隐藏变量] $config_fix_newlines [配置固定换行符变量] $default_template_handler_func [默认模板处理函数变量] $php_handling [php处理变量] $security [安全变量] $secure_dir [安全目录变量] $security_settings [安全配置变量] $trusted_dir [信任目录变量] $left_delimiter [左结束符变量] $right_delimiter [右结束符变量] $compiler_class [编译类变量] $request_vars_order [变量顺序变量] $request_use_auto_globals [自动全局变量] $compile_id [编译id变量] $use_sub_dirs [子目录变量] $default_modifiers [默认修正器变量] $default_resource_type [默认源类型变量] 13. Methods [方法] append [添加] append_by_ref [引用添加] assign [赋值] assign_by_ref [引用赋值] clear_all_assign [清除所有赋值] clear_all_cache [清除所有缓存] clear_assign [清除赋值] clear_cache [清除缓存] clear_compiled_tpl [清除已编译模板] clear_config [清除配置] config_load [加载配置] display [显示] fetch [取得输出的内容] get_config_vars [取配置变量的值] get_registered_object [取得已注册的对象] get_template_vars [取得模板变量的值] is_cached [是否已被缓存] load_filter [加载过滤器] register_block [注册一个块] register_compiler_function [注册编译函数] register_function [注册函数] register_modifier [注册修饰器] register_object [注册对象] register_outputfilter [注册输出过滤器] register_postfilter [注册提交过滤器] register_prefilter [注册预过滤器] register_resource [注册资源] trigger_error [触发错误] template_exists [模板是否存在] unregister_block [注销一个块] unregister_compiler_function [注销编译函数] unregister_function [注销函数] unregister_modifier [注销修饰器] unregister_object [注销对象] unregister_outputfilter [注销输出过滤器] unregister_postfilter [注销提交过滤器] unregister_prefilter [注销预过滤器] unregister_resource [注销资源] 14. Caching [缓存] Setting Up Caching [建立缓存] Multiple Caches Per Page [每页多个缓存] Cache Groups [缓存集合] Controlling Cacheability of Plugins' Output [控制插件输出的缓冲能力] 15. Advanced Features [高级特点] Objects [对象] Prefilters [预过滤器] Postfilters [后过滤器] Output Filters [输出滤镜] Cache Handler Function [缓冲处理函数] Resources [资源] 16. Extending Smarty With Plugins [以插件扩展Smarty] How Plugins Work [插件如何工作] Naming Conventions [命名约定] Writing Plugins [编写插件] Template Functions [模板函数] Modifiers [修正器] Block Functions [块函数] Compiler Functions [编译函数] Prefilters/Postfilters [预滤器/后滤器] Output Filters [输出过滤器] Resources [资源] Inserts [插入] IV. Appendixes [附录] 17. Troubleshooting [疑难解答] Smarty/PHP errors [Smarty/PHP 错误] 18. Tips & Tricks [使用技巧和经验] Blank Variable Handling [空白变量处理] Default Variable Handling [默认变量处理] Passing variable title to header template [传递变量标题给头模板] Dates [日期] WAP/WML Componentized Templates [组合的模板] Obfuscating E-mail Addresses [拒绝电子邮件地址] 19. Resources [相关资源] 20. BUGS [漏洞] 21. LIST 翻译人员列表

21,890

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧