zend Framework
当前位置:首页 ----> Web开发 ----> Php
leslee:
zend Framework      Zend_Controller and Zend_View
These components provide the base for a simple MVC website and are already used on this site and several others. A front controller dispatches requests to page controllers. It is as minimalist as possible and we're working to make it even simpler. The Zend_View component provides encapsulation for view logic. It can use templates written in PHP or can be combined with a third-party template engine. 

Zend_Db
Database access is a very light layer on top of PDO. Solutions existing systems not using PDO (such as mysqli or oci8) are presently under development. Included are adapters, a profiler, a tool to assist with building everyday SELECT statements, and simple objects for working with table row data. 

Zend_Feed
The links on the sidebars of our home page are generated using Zend_Feed. This component provides a very simple way to consume RSS and Atom data from feeds. It also includes utilities for discovering feed links, importing feeds from different sources, and feeds can even be modified and saved back as valid XML. 

Zend_HttpClient
This component provides a client for the HTTP protocol and does not require any PHP extensions. It drives our web services components. In time, we will develop support for extension-based backends such as cURL. 

Zend_InputFilter
The input filtering component encourages the development of secure websites by providing the basic tools necessary for input filtering and validation. 

Zend_Json
Easily convert PHP structures into JSON for use in AJAX-enabled applications. 

Zend_Log
Log data to the console, flat files, or a database. Its no-frills, simple, procedural API reduces the hassle of logging to one line and is perfect for cron jobs and error logs. 

Zend_Mail and Zend_Mime
Almost every internet application needs to send email. Zend_Mail, assisted by Zend_Mime, creates email messages and sends them. It supports attachements and does all the MIME dirty work. 

Zend_Pdf
Portable Document Format (PDF) from Adobe is the de facto standard for cross-platform rich documents. Now, PHP applications can create PDF documents on the fly, without the need to call utilities from the shell, depend on PHP extensions, or pay licensing fees. Zend_PDF can even modify existing PDF documents. Create a sharp customer invoice in Adobe Photoshop, fill in the order from Zend_Pdf, and send it with Zend_Mail. 

Zend_Search_Lucene
The Apache Lucene engine is a powerful, feature-rich Java search engine that is flexible about document storage and supports many complex query types. Zend_Search_Lucene is a port of this engine written entirely in PHP 5, allowing PHP-powered websites to leverage powerful search capabilities without the need for web services or Java. Zend_Search_Lucene's file format is fully binary with its Java counterpart. 

Zend_Service: Amazon, Flickr, and Yahoo!
Web services are becoming increasingly important to the PHP developer as mashups and composite applications become the standard for next generation web applications. The Zend Framework provides wrappers for service APIs from three major providers to make the as simple to use as possible. We're working on more and engaging API vendors directly to make PHP the premier platform for consuming web services. 

Zend_XmlRpc
PHP 5's SOAP extension dramatically lowered the bar for communicating with SOAP services from PHP. Zend_XmlRpc brings the same capabilities to XML-RPC, mimmicking the SOAP extension and making these services easier to use than ever from PHP 5. 


网站: http://framework.zend.com


leslee:
个人以为提供了Flickr, yahoo,amazon这三个附属的Zend_Service 挺爽的,挺有意思


szy_session1987:
到底是个什麽东西??


Bantu:
引用:原帖由 leslee 于 2006-3-6 16:31 发表
个人以为提供了Flickr, yahoo,amazon这三个附属的Zend_Service 挺爽的,挺有意思 怎样没google的service ......


szy_session1987:
.............


Phzzy:
谁能提供具体使用方法么?
我看DEMO就那么几个.


徐风:
又一个学习的好材料


leslee:
我猜 3个service中有2个yahoo的service 的原因是: PHP的一个创始人在yahoo,呵呵

纯属个YY,没任何凭据


hrtsea:
DeMo到底怎样用??怎样安装??老是报错

Warning: main(Zend/Feed.php): failed to open stream: No such file or directory in c:"program files"easyphp1-8"www"zendframework-0.1.1"demos"zend"feeds"consume-feed.php on line 7

Fatal error: main(): Failed opening required 'Zend/Feed.php' (include_path='.;C:"PROGRA~1"EASYPH~1""php"pear"') in c:"program files"easyphp1-8"www"zendframework-0.1.1"demos"zend"feeds"consume-feed.php on line 7


Phzzy:
楼上的,您要把library那个弄过去,demo里面的例子的路径是错的


szy_session1987:
看不懂。


MeteorRain:
不知道什麽时候出个zend_wxwindows就好了……


HRTSEA:
知道了,要把library加到php.ini的路径里面
不过好象那个search 不能工作

Warning: require_once(Zend/Search/Lucene.php) [function.require-once]: failed to open stream: No such file or directory in h:"xhp"apmxe"htdocs"zendframework-0.1.2"demos"Zend"Search"Lucene"indexing"php"createindex.php on line 8

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene.php' (include_path='H:"xhp"apmxe"htdocs"ZendFramework-0.1.2"library') in h:"xhp"apmxe"htdocs"zendframework-0.1.2"demos"Zend"Search"Lucene"indexing"php"createindex.php on line 8


Protocols也不行
Fatal error: Uncaught exception 'Zend_XmlRpc_Client_Exception' with message 'Failed to parse response: String could not be parsed as XML' in H:"xhp"apmxe"htdocs"ZendFramework-0.1.2"library"Zend"XmlRpc"Client.php:376 Stack trace: #0 H:"xhp"apmxe"htdocs"ZendFramework-0.1.2"library"Zend"XmlRpc"Client.php(322): Zend_XmlRpc_Client->_parseResponse('<!DOCTYPE HTML ...') #1 H:"xhp"apmxe"htdocs"ZendFramework-0.1.2"library"Zend"XmlRpc"Client.php(127): Zend_XmlRpc_Client->_sendRequest('meerkat.getCate...', Array) #2 [internal function]: Zend_XmlRpc_Client->__call('getCategories', Array) #3 h:"xhp"apmxe"htdocs"zendframework-0.1.2"demos"Zend"webservices"protocols"xmlrpc-meerkat.php(11): Zend_XmlRpc_Client->getCategories() #4 {main} thrown in H:"xhp"apmxe"htdocs"ZendFramework-0.1.2"library"Zend"XmlRpc"Client.php on line 376

看来还有好多错误,或我不会??? [ 本帖最后由 HRTSEA 于 2006-3-10 17:05 编辑 ]


Phzzy:
好像是有很多错误
有人说要在PHP5下.
呵呵.现在版本又更新了
0.1.2了


帅的不能再输啦:
................      好东西..


sandysong:
想试一下ZSearch,也就是php的lucene,结果发现这个东西还没开发完,文档和程序都对不上,hoho
原文出处:http://bbs.phpchina.com/viewthread.php?tid=2876