6 個使用「軟體框架」(Framework)前,你該自問的事情
首先解釋何謂「軟體框架」。如果你寫程式,從頭到尾不用軟體框架,一切都是自己來,如同你用「夯土法」蓋大樓,每一吋都是用手工打造成的。如果使用軟體框架,猶如你向鋼鐵廠購買房屋的「鋼樑」,建造速度不但快很多,也比「夯土法」結實。所以用「軟體框架」寫程式,就是在自己程式內,使用別人事先寫好的「函式庫(Library)」或「類別庫(Class Library)」,站在巨人的肩膀上挑戰世界屋脊一樣,較為輕鬆省力。常見的軟體框架有:微軟的 .NET Framework、JavaScript 裡的 jQuery、PHP 裡的 Zend Framework、Java 裡的 Spring、Ruby 裡的 Rail、Python 裡的 Django...詳細的軟體框架列表,可以參考本文末端的連結。
這六個你該自問的事情包括:
1. 你到底想從這個軟體框架,得到什麼功能:切記不要因為「流行」而使用,要為「需要」而使用。
2. 我是否需要軟體框架,讓整個團隊的程式碼架構,有個共通的基本結構(又稱「維持一致性」):就像電器可以隨便做,插頭規格可得統一!這「插頭規格」,就如同「軟體架構」一樣,會成為每個人自由發揮之餘,需要共同遵循的一致性架構。
3. 該軟體框架的使用說明是否豐富:主站應該有非常詳細、從安裝一直到參考手冊的文件。
4. 該軟體框架是否常常更新?是否有很多程式師使用它:超過兩年以上沒更新,或者到官方論壇一看,最近一次發文是一個月以上的軟體框架最好不要用。
5. 該軟體框架是否能執行於我要的環境裡:舉例來說,你可能會希望 JavaScript 的 jQuery,能執行於 IE、Firefox、Chrome、Safari 四大瀏覽器。
6. 是否有任何需要考慮的「政治因素」,來決定我要使用的軟體框架:如某公司就是要你使用 PHP 裡的 Zend,因為他們的舊系統通通使用這個軟體框架。此時你就不能一意孤行,硬要用自己喜歡的軟體框架。
原文連結在此:
http://phpmaster.com/6-things-to-consider-when-choosing-a-framework/
常見的軟體框架列表:
http://coding.smashingmagazine.com/2008/01/04/frameworks-round-up-when-to-use-how-to-choose/
「php round up」的推薦目錄:
- 關於php round up 在 紀老師程式教學網 Facebook 的最讚貼文
- 關於php round up 在 Belle Nuntita Facebook 的最佳解答
- 關於php round up 在 How to round up value in PHP? - Stack Overflow 的評價
- 關於php round up 在 `round(): Argument #1 ($num) must be of type int|float, string ... 的評價
- 關於php round up 在 avex taiwan - THE RAMPAGE from 放浪一族新曲《ROUND ... 的評價
- 關於php round up 在 Round Product Price In magento 2 的評價
- 關於php round up 在 TOP 100 PHP Functions ( 61 - 70 ) | Learn PHP Programming 的評價
php round up 在 Belle Nuntita Facebook 的最佳解答
Okay guys,, here is a direct message from Bell herself to all the international fans..
She said..
" I'm now preparing for my next round of Thailand's Got Talents that will be on air (live) on May 1st.. so cheers me up. Thanks for all the compliments and supports, I'm really appreciated them.. "
Anyone who want to watch the show can go to http://www.tlcthai.com/tv_online/tv_ch3.php on that day,,
php round up 在 `round(): Argument #1 ($num) must be of type int|float, string ... 的推薦與評價
Description The following code works fine if I'm using PHP 7.4, but if I change it to 8, I get round(): Argument #1 ($num) must be of type ... ... <看更多>
php round up 在 avex taiwan - THE RAMPAGE from 放浪一族新曲《ROUND ... 的推薦與評價
THE RAMPAGE from 放浪一族新曲《ROUND UP feat. MIYAVI》10/31數位搶先發行! 由THE RAMPAGE from 放浪一族演唱在韓國觀影人次突破1200萬,不斷刷新票房紀錄的熱門 ... ... <看更多>
php round up 在 How to round up value in PHP? - Stack Overflow 的推薦與評價
... <看更多>