20120630

阿批現在才開始CodeIgniter

是的,隨著年紀越來越大,阿批也越來越落伍(?!)了,居然現在才開始用CodeIgniter,先來介紹一下這個玩意:

CodeIgniter(是有必要用這麼大個嗎!!!?) 

 官網的說明

CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications. If you're a developer who lives in the real world of shared hosting accounts and clients with deadlines, and if you're tired of ponderously large and thoroughly undocumented frameworks

CodeIgniter is right for you if...

  • You want a framework with a small footprint.
  • You need exceptional performance.
  • You need broad compatibility with standard hosting accounts that run a variety of PHP versions and configurations.
  • You want a framework that requires nearly zero configuration.
  • You want a framework that does not require you to use the command line.
  • You want a framework that does not require you to adhere to restrictive coding rules.
  • You are not interested in large-scale monolithic libraries like PEAR.
  • You do not want to be forced to learn a templating language (although a template parser is optionally available if you desire one).
  • You eschew complexity, favoring simple solutions.
  • You need clear, thorough documentation.

阿批的說明:恩,同上。(被揍)

簡單而言,framework(框架) 的其中一個特點就是,:提供許多讓你快速開發程式的 function(功能), 例如 Database class, 可以用 ActiveRecord 來存取資料庫, 而提供許多的 Database driver, 如: mysql, mssql …等, 即使你換資料庫, 你也只需要更改 Database driver 即可。

而阿批是以wamp來架站且平常就使用PHP+Smarty來整合網站的樣板和程式碼,所以這次要字整合CodeIgniter,就順便記錄起來

沒有留言:

張貼留言

你還在幫別人打造舒適圈?

 師不順路,不好為人師,談何容易.... 人總是在為自己的做法找"理由",找一個漂亮的包裝,找一個可以說服人的方式,找一個立足點....然而,這個為自己所做的一切,往往是一個自私的隱性表現,因為你要達到的就是"滿足"自己。 但要如何滿足自己...