Lara
含有「Lara」共 15 篇內容
全部內容
發佈日期由新至舊
一位偉人的文庫
2026/04/11
現代後端開發的靈魂:深入理解依賴注入 (DI)
在軟體開發中,依賴注入 (Dependency Injection, DI) 不僅是一個技術名詞,更是一種解耦的藝術。它改變了物件獲取資源的方式,讓程式碼從「親力親為」轉變為「定義需求」。 什麼是依賴注入? 簡單來說,DI 是一種設計模式,核心思想是:「物件不應該自己建立它所需要的依賴,而是由外
含 AI 應用內容
#
Lara
#
開發
#
設計
喜歡
留言
翰克想一下
2026/04/02
CI 是什麼?Junior 工程師也能跟著體驗的 GitHub Actions 流程
你有沒有遇過加班打錯字、改 A 功能導致 B 功能壞掉,或是 AI 寫的程式碼爆炸的情況?這些問題的核心,都是程式碼在上線前沒有被自動化驗證。本文將介紹 CI的概念,以及如何使用 GitHub Actions 這個 GitHub 內建的 CI/CD 工具
含 AI 應用內容
#
程式
#
測試
#
執行
1
留言
文藝沙龍_by Brian
2025/09/27
1966#64 - Somewhere My Love - Ray Conniff Singers
Life is a long song - 197 1966#64 - Somewhere My Love - Ray Conniff Singers 2025-09-28
含 AI 應用內容
#
音樂
#
搖滾樂
#
Billboard
喜歡
留言
Learn or Die
2025/06/22
Laravel 週報 12.18
# Encrypt and decrypt Str helper methods 12.18 支援 fluent string chain <?php // Before $encryptedToken = str('secret-api-token') ->pipe(fn(String
#
Laravel
#
開發
#
Lara
1
留言
Learn or Die
2025/06/14
Laravel 週報 12.16
# in_array_keys Validaiton Rule 12.16 新增 in_array_keys validation rule,驗證指定 array 必須包含指定 keys <?php $validator = Validator::make($request->all(), [
#
Laravel
#
開發
#
Lara
喜歡
留言
Learn or Die
2025/06/04
Laravel 週報 12.15
# Locale-aware Number Parsing 12.15 新增 Number class 新增 method,支援 parse with different locale <?php use Illuminate\Support\Number; Number::parse($s
#
laravel
#
新增
#
Lara
喜歡
留言
Learn or Die
2025/06/04
Laravel 週報 12.14
# Arr::from() Method 12.14 新增 Arr::from(),可從多種資料結構取得 array of items <?php use Illuminate\Support\Arr; Arr::from(collect(['name' => 'Laravel'])); /
#
laravel
#
Lara
#
新增
1
留言
Learn or Die
2025/05/26
Laravel 週報 12.3
# JSON Unicode Cast Type 12.3 Eloquent Attributes 新增 json:unicode cast type,允許 JSON encoding JSON_UNESCAPED_UNICODE <?php protected $casts = [ '
#
Laravel
#
開發
#
Lara
喜歡
留言
Learn or Die
2025/05/05
Laravel 週報 12.2
# Community Starter Kit Support in laravel new 12.2 Laravel new command,新增支援 community starter kit,支援的清單可 參考 laravel new --using statamic/statamic m
#
laravel
#
開發
#
Lara
喜歡
留言
Learn or Die
2025/04/27
Laravel 週報 12.9
# Memoized Cache Driver 12.9 新增 memo cache driver,可以對 cache 在做一層 memory cache,比如第一次從 Redis cache 撈,但在同一個 req 當中,之後都可從 PHP Process memory 當中撈 <?php C
#
laravel
#
Lara
#
新增
1
留言