SPA – 使用 Angular.js 實現前後端分離開發應用


簡介

這是一個在台大資管人對於網站開發的心得議程。從我們一年級計算機概論課程就第一次學習簡易的 HTML、CSS 網頁,到大三資料庫系統架設 PHP 以及資料庫環境,接著或許會有些更熱血的同學會在大四接觸到用 Rails 或 Express 開發,才開始有了 MVC 的概念,每個階段對於網站開發又有不同的心得。而這次我想分享今年暑假在實習時接觸的前端框架 Angular.js,以及過程是怎麼將網站做前後端分離的應用開發。不會談論過於細節的實作程式碼,希望給大家一個概觀的架構以及怎麼開始使用 Angular.js。http://www.im.ntu.edu.tw/~b100027/

Slides

GitHub Pages Custom Domains


這邊為一個記錄將 Github Page 自定義到你所擁有的 Domain 下的一個流程。當然這些流程在 Goolge 搜尋 Github Page 就可以直接找到英文的說明文件,非常的詳細,此處就當做漢化的以及我自己碰到情境的過程記錄。

  • CASE I: http://evenchange4.github.io -> http://michaelhsu.tw
  • CASE II: http://about.michaelhsu.tw -> http://evenchange4.github.io/about

Gulp.js-LiveReload 自動刷新頁面


最近又重回學習前端的懷抱,在看蛋頭兄的 Angular.js 的影片邊操作的同時,不斷的 Refresh 網頁真的不是辦法,以前我的想法是就不停的按 CMD+R 就算了,懶得做那麼多自動刷新得設定,但這樣下去真的不是辦法,原來還是會累的,所以就依照目前最潮的方式來學習設置「自動刷新頁面」的功能。於是乎挑選了 Gulp.js + LiveReload with http-server ,或是考慮使用 gulp-connect

C++ Tutorial for the Mac User, Include self-defined header files


For the course of NTU Programming Design, Spring 2014

If you want to compile a C++ program that includes self-defined header files on Mac or other Linux environment. We suggest you the following two ways to do that. One way is using g++ to compile and run programs in terminal (Recommended). Another way is using Xcode to new a project (i.e., a file with filename extension .xcodeproj).
Here, we provide two cpp files, and one header file to you for demonstrating how you can run it on Mac. Just the same as windows’ Dev-C++. Download example code that was mentioned in the class.