為什麼你該用 Sinatra-like framework (以及何時不該用)

[Update on 2017/02/23] 雖然許多人都會從 Ruby on Rails、Laravel 或是其他知名的網頁框架學習網頁程式設計,甚至在不會 Ruby 時就直接學 Rails,我個人非常不推薦這種學習方式。這些框架是給已經有程式設計經驗的開發者快速開發新産品用的,往往都有許多複雜的專案結構和設定,而初學者會以為網頁程式設計一定需要這些複雜的工具。我反而推薦 Sinatra 或是 Flask 這類輕量的替代品。使用這種微框架,不需要學習複雜的專案結構和設定,甚至只要單一的檔案即可執行程式。這種漸進式的過程,其實比較適合初學者。 早期的動態網頁 (dynamic web page) 是以 Perl 或其他語言撰寫的 CGI (Common Gateway Interfa...
「點我閱讀更多」

Why and Why Not Macbook from a Linuxer's Perspective

Mac OS X is a variant of BSD Unix and Macbook becomes popular among Unix/Linux users. Many developers choose Macbook as their development platform as this artile says. This article tells you the pros and cons of Macbook from a Linuxer’s perspective. The the Unix side of Macbook: Shells are choosable and configurable, e.g. Bash or Zsh. N...
「點我閱讀更多」

Is Debian Suitable for Desktop?

Both Ubuntu and Linux Mint are popular desktop Linux distros. They are famous for their simplicity and serviceability. Debian is their common ancestor. Besides, according to DistroWatch.com, there are more than 100 Debian derivated Linux distributions, serving various purposes. Debian is notable for its stability and reliability, suitable fo...
「點我閱讀更多」

Evaluate Whether Chromebook Suits You Or Not

Netbooks failed to thrive because people tried to put every heavyweight applications into a relatively lightweight client. With the flourish of Web-based applications, a web browser becomes a lightweight operating system. Chromebooks show us a possible model of a thin client. It’s workable out-of-box, virus and malware-free, zero-configured, ...
「點我閱讀更多」

Prepare Scheme Environment on Mac

Structure and Interpretation of of Computer Program (SICP) is a classic textbook in computer science. It was formerly used in the introductory programming class of Massachusetts Institute of Technology (MIT) and other schools. Scheme, one of the main dialect of Lisp, was chosen as the language in this book. If you want to “enjoy” this classy ...
「點我閱讀更多」