Jasper Blog

千里之行,始於足下

Angular Learning - 1

NgModule -1

Module Angular 中Module 為功能模組,用意為邏輯的處理 透過NgModule 實現模組化 通常根模組(Root Module) 會取名為 AppModule => app.module.ts Module 檔案結構 模組檔案通常可分為

Angular Learning - 2

NgModule -2


Django - 5 Migrations

Models 的概念 建立一個可重複性使用,且明確的後端資料的存取/處理行為 實現DRY(Don’t repeat yourself) 在APP中建立一個新的Modle 修改setting.

Django - 4 Introduce django urls

Django URLs 說明 App在建立完成後,需要建立一個urls.py 並將使urls.py 引入到Web的專案中。 在此專案範例中,HelloWorld為網頁設

Django - 3 Create initial project

初始專案建立 透過Django -1 設定 建立一個Django專案資料夾 建立 app 在manage.py 同資料夾層別下執行py manage.py startapp polls ,此條指令可建立一個A