教學與資訊
[CodeIgniter 4] 使用 Caching Driver
如果有些資料我們需要暫存,特別是從資料庫來的資料,這樣可以加快網站開啟速度也能降低伺服器的資源使用,在 CodeIgniter 4 我們就可以使用其提供的 Caching Driver。
教學與資訊
如果有些資料我們需要暫存,特別是從資料庫來的資料,這樣可以加快網站開啟速度也能降低伺服器的資源使用,在 CodeIgniter 4 我們就可以使用其提供的 Caching Driver。
教學與資訊
說明 CodeIgniter 4 Query Builder Class(查詢生成器類別)的基礎用法。
教學與資訊
在 CodeIgniter 4 使用命名路由讓網址更好管理。
教學與資訊
說明要在 CodeIgniter 4 設定導頁要設定 $baseURL 以及導頁的方法。
教學與資訊
在 CodeIgniter 4 要設定 session 過期時間,可以透過 Tempdata 各別設定。
教學與資訊
說明在 CodeIgniter 4 透過 Model 寫入(insert)資料庫的基礎應用。
教學與資訊
說明在 CodeIgniter 4 透過 Model 的 Where 用法以及取出部分值的方法。
教學與資訊
說明在 CodeIgniter 4 透過 toDateTimeString(), toDateString() 和 toTimeString() 顯示時間的方法。
教學與資訊
說明 CodeIgniter 4 時間的基礎應用,以及取得現在、今天、昨天或明天時間的方法。
教學與資訊
要在 CodeIgniter 4 設定預設時區,需要打開 app/Config/App.php 的檔案,找到 public $appTimezone 並更改值就可以了。
教學與資訊
要在 CodeIgniter 4 取得 post 或 get 的資訊,可以透過 getPost() 和 getGet() 取得。
教學與資訊
說明如何在 CodeIgniter 4 設定、取得以及檢查 session 的方法。
教學與資訊
說明在 CodeIgniter 4 顯示/回傳 JSON 或 XML 格式內容的方法。
教學與資訊
說明要在 CodeIgniter 4 中設定網址(路由)規則與搭配 Controller 的方法。
教學與資訊
說明 CodeIgniter 4 Model 的基礎用法,以及與 Controller 該如何搭配。
教學與資訊
說明在 CodeIgniter 4 開啟除錯模式(debug mode)方便檢查程式錯誤的方法。
教學與資訊
說明 CodeIgniter 4 視圖(View)基礎,以及如何透過視圖建立樣板以及帶入變數。
教學與資訊
說明在 CodeIgniter 4 設定全站共用變數的方法。