amfphp milestone 2 今晚正式釋出

In flash   July 23, 2005 - 12:25 am

想玩的人請直接進 cvs 取用:

cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/amfphp checkout sources

裏面多了幾個範例,例如 pageable recordset.

CHANGELOG FOR MS2

– Added new methodTable option (per method) “fastArray” => true|false for fast array serializing on return (will only make a difference for large multidimensional nested voodoo arrays)

– Added new method Headers::getHeader($key) available from all services, also HeadersFilter.php added

– Added FrontBase support

– Added Pear::db support

– Added CSV-based recordsets support (to use, set returns => “csv recordset” in methodTable and return an associative array containing keys “cols” => array(“colname1″, “colname2″) and “filename” => “filename.csv”)

– Renamed sql folder to adapters to fit with the CSV recordsets

– Various bugfixes for PHP4 MethodTable class

– Major overhaul of service browser, should work much better now

– New actionscript template system for service browser, see browser/templates/ for examples

– Added new return type binary that will write the value as a string but without charsetHandling

– Added new return type raw that will write to the output stream directly (careful)
↑這點挺驚人的,仔細分析它的code會發現許多小密技…

– SSL with ie hopefully works now

– Bugfixes

有趣的一點:本來我一直想擺脫 method table的牽絆,也找好對應的class來自動產生這些table, 但照patrick目前的implement手法來看,將來 method table 的地位只會越來越重要,比較像是朝 coldfusion的方向前進,所以恐怕得打消這個念頭了。

anyway, amfphp真是日日有長進,並且速度驚人,這也是OSS開花結果的地方不是嗎?在享受這麼多好處之後,最近我開始認真思考該如何回饋一些給這個體系…

by admin

留言回應

hidden

您的留言會先經過站長認証後才刊登在網站上。
your comments will be approved by Administrator before appearing on the page.

Trackback this post  |  Subscribe to the comments via RSS Feed

mobile phone