Neo's Blog

首頁 相本 討論 書籤

分類目錄
本站日誌 (51)
碎碎唸啦 (173)
網站架設 (84)
程式設計 (161)
軟體使用 (69)
電子商務 (126)
經營奇想 (48)
基金理財 (11)
聰明消費 (87)
電影心得 (47)
開放原碼 (16)
工作記錄 (2)
毛毛小記 (9)
就是不同 (2)




歷史資料
 




September 02, 2006
Akelos Framework

今天在 Rails-inspired PHP frameworks 裡面看到有人留了一個支援多國語言的 Akelos Framework

Akelos Framework 就像 CakePHP 一樣,是把 Ruby on Rails 搬到 PHP 上來的 MVC Framework。

目前還沒有正式釋出,但列出來的東西還真不少。

Features ported from Ruby on Rails Active Record
  • Associations
      • belongs_to
      • has_one
      • has_many
      • has_and_belongs_to_many
  • Finders (not so cool as Ruby on Rails but you can still do $Project->findFirstBy('language AND start_year:greater', 'PHP', '2004'); )
  • Acts as
      • nested_set
      • list
  • Callbacks
  • Transactions
  • Validators
  • Locking
  • Observer
  • Versioning
  • Scaffolds
  • Support for MySQL, PostgreSQL and SQLite (might work with other databases supported by ADOdb)
Action Controller
  • Filters
  • Pagination
  • Helpers
  • Mime Type
  • Mime Response
  • Code Generation
  • Flash messages
  • URL Routing
  • Response handler
  • Url rewriter
Action View
  • Templates (using Sintags)
  • Web 2.0 javascript using prototype and script.aculo.us
  • Helpers
  • Partials
  • Template Compilers
Additional Akelos Framework Features
  • Multilingual Models and Views
  • Locale alias integrated on URLS (example.com/spanish will load the es_ES locale)
  • Database migrations using DB Designer files
  • Pure PHP support for Unicode (no extensions required)
  • Unit Tested source code
  • Code Generators
  • Built in XHTML validator
  • Automated locale management
  • Clean separation from HTML and Javascript using CSS event selectors.
  • Ajax file uploads.
  • Format converters.
  • File handling using SFTP for shared host running Apache as user nobody (as most CPanel server do).
  • Distributed sessions using databases.


Rails-inspired PHP frameworks 的作者先前還很興奮的寫了一篇「Akelos Framework: too good to be true?」,但是玩過之後似乎有點失望,因為實在跟 CakePHP 太像了。

不過我覺的差別還是有的,像 Template engine 就是用自製的 Sintags,雖然是採 WYSIWYG,但是功能感覺就陽春不少。

至於 AJAX 則還沒有看到,但也是我最想看的地方。不過看起來目前的進度都還在製作當中,並沒有正式提供下載,有興趣嘗鮮的人就從官方的 SVN 下載下來玩看看吧。

Akelos Framework:
http://www.akelos.org/

 
由 Neo 發表於 September 2, 2006 12:42 PM 收進你的MyShare個人書籤  

這是甚麼?


Mark 發表於 September 2, 2006 04:34 PM

真的很像Cakephp,這兩個都像是對Rails作翻譯,覺得是一個非常尷尬的產物。


kuni 發表於 September 11, 2007 08:58 AM
發表迴響  
(*星號開頭為必填欄位)











(請輸入您看到的數字,看不到請按右鍵->顯示圖片)


記住我的資訊?







Copyright 2005 Neo's Blog All rights reserved.