Labels

2005 (136) 2004 (99) 2006 (84) 2007 (41) 2008 (41) 簡單生活 (24) 2012 (14) 網頁設計 (14) 電腦技巧 (13) 2009 (12) 2010 (10) PHP (10) 台灣晃一晃 (9) Learn Note (7) 地球這麼大 (6) 2011 (5) Mysql (3) Smarty (3) Vista (3) 手機待吐 (2) 2014 (1) 2021 (1) Composer (1) Laravel (1) MAC (1) MAMP (1) 新新人類新科技 (1)

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,就順便記錄起來

0 意見:

張貼留言