Building Microservices with Lumen PHP Framework ( lumen | 14 hours )

Prerequisites:
  • PHP 程式設計經驗。

觀眾

  • 開發人員
Overview:

Lumen 是基於 Laravel 的開源微服務框架。它用於使用 PHP 微框架構建快速、高性能的 Web 應用程式和 API。

此講師指導的即時培訓(在線或現場)面向希望使用 Lumen 構建基於 Laravel 的微服務和應用程式的開發人員。

在本次培訓結束時,參與者將能夠:

  • 設置必要的開發環境以開始使用 Lumen 開發微服務。
  • 瞭解使用 Lumen 和 PHP 實現微服務的好處。
  • 使用 Lumen 框架執行和實現微服務功能和操作。
  • 通過構建安全層來保護和控制對微服務架構的訪問。

課程形式

  • 互動講座和討論。
  • 大量的練習和練習。
  • 在即時實驗室環境中動手實施。

課程自定義選項

  • 要申請本課程的定製培訓,請聯繫我們進行安排。
Course Outline:

介紹

  • Lumen 功能和體系結構概述
  • 基本概念和元件

開始

  • 安裝 Lumen
  • 定義路由參數
  • 設置中間件
  • 配置控制器
  • HTTP 請求和回應

建立 Microservices

  • 建立作者模型
  • 生成測試數據
  • 使用控制器管理作者
  • 為 CRUD 操作創建路由
  • 標準化回應

實現 Microservices 函數

  • 顯示微服務作者清單
  • 創建新的創作實例
  • 識別具有給定ID的作者
  • 編輯現有作者
  • 從微服務中刪除作者

實現閘道功能

  • 使用 Composer 為 API Gateway 設置專案
  • 通過閘道控制器獲取作者清單
  • 使用閘道控制器和服務建立作者
  • 顯示、編輯和刪除創作實例
  • 使用微服務執行操作
  • 處理閘道錯誤

保護 Microservices 體系結構

  • 啟用 Lumen Passport 元件
  • 配置 Lumen 以使用 Passport
  • 保護閘道路由
  • 使用 API Gateway 的訪問令牌
  • 對 API Gateway 請求進行身份驗證
  • 限制對創作服務的直接訪問

管理使用者和 Access 令牌

  • 從Laravel 遷移使用者
  • 創建用於管理使用者的控制器和路由
  • 細化使用者操作的詳細資訊
  • 創建使用者並使用其憑據獲取令牌
  • 通過訪問令牌識別經過身份驗證的使用者

故障排除提示和最佳實踐

摘要和後續步驟

Sites Published:

United Arab Emirates - Building Microservices with Lumen PHP Framework

Qatar - Building Microservices with Lumen PHP Framework

Egypt - Building Microservices with Lumen PHP Framework

Saudi Arabia - Building Microservices with Lumen PHP Framework

South Africa - Building Microservices with Lumen PHP Framework

Brasil - Building Microservices with Lumen PHP Framework

Canada - Building Microservices with Lumen PHP Framework

中国 - Building Microservices with Lumen PHP Framework

香港 - Building Microservices with Lumen PHP Framework

澳門 - Building Microservices with Lumen PHP Framework

台灣 - Building Microservices with Lumen PHP Framework

USA - Building Microservices with Lumen PHP Framework

Österreich - Building Microservices with Lumen PHP Framework

Schweiz - Building Microservices with Lumen PHP Framework

Deutschland - Building Microservices with Lumen PHP Framework

Czech Republic - Building Microservices with Lumen PHP Framework

Denmark - Building Microservices with Lumen PHP Framework

Estonia - Building Microservices with Lumen PHP Framework

Finland - Building Microservices with Lumen PHP Framework

Greece - Building Microservices with Lumen PHP Framework

Magyarország - Building Microservices with Lumen PHP Framework

Ireland - Building Microservices with Lumen PHP Framework

Luxembourg - Building Microservices with Lumen PHP Framework

Latvia - Building Microservices with Lumen PHP Framework

España - Building Microservices with Lumen PHP Framework

Italia - Building Microservices with Lumen PHP Framework

Lithuania - Building Microservices with Lumen PHP Framework

Nederland - Building Microservices with Lumen PHP Framework

Norway - Building Microservices with Lumen PHP Framework

Portugal - Building Microservices with Lumen PHP Framework

România - Building Microservices with Lumen PHP Framework

Sverige - Building Microservices with Lumen PHP Framework

Türkiye - Building Microservices with Lumen PHP Framework

Malta - Building Microservices with Lumen PHP Framework

Belgique - Building Microservices with Lumen PHP Framework

France - Building Microservices with Lumen PHP Framework

日本 - Building Microservices with Lumen PHP Framework

Australia - Building Microservices with Lumen PHP Framework

Malaysia - Building Microservices with Lumen PHP Framework

New Zealand - Building Microservices with Lumen PHP Framework

Philippines - Building Microservices with Lumen PHP Framework

Singapore - Building Microservices with Lumen PHP Framework

Thailand - Building Microservices with Lumen PHP Framework

Vietnam - Building Microservices with Lumen PHP Framework

India - Building Microservices with Lumen PHP Framework

Argentina - Building Microservices with Lumen PHP Framework

Chile - Building Microservices with Lumen PHP Framework

Costa Rica - Building Microservices with Lumen PHP Framework

Ecuador - Building Microservices with Lumen PHP Framework

Guatemala - Building Microservices with Lumen PHP Framework

Colombia - Building Microservices with Lumen PHP Framework

México - Building Microservices with Lumen PHP Framework

Panama - Building Microservices with Lumen PHP Framework

Peru - Building Microservices with Lumen PHP Framework

Uruguay - Building Microservices with Lumen PHP Framework

Venezuela - Building Microservices with Lumen PHP Framework

Polska - Building Microservices with Lumen PHP Framework

United Kingdom - Building Microservices with Lumen PHP Framework

South Korea - Building Microservices with Lumen PHP Framework

Pakistan - Building Microservices with Lumen PHP Framework

Sri Lanka - Building Microservices with Lumen PHP Framework

Bulgaria - Building Microservices with Lumen PHP Framework

Bolivia - Building Microservices with Lumen PHP Framework

Indonesia - Building Microservices with Lumen PHP Framework

Kazakhstan - Building Microservices with Lumen PHP Framework

Moldova - Building Microservices with Lumen PHP Framework

Morocco - Building Microservices with Lumen PHP Framework

Tunisia - Building Microservices with Lumen PHP Framework

Kuwait - Building Microservices with Lumen PHP Framework

Oman - Building Microservices with Lumen PHP Framework

Slovakia - Building Microservices with Lumen PHP Framework

Kenya - Building Microservices with Lumen PHP Framework

Nigeria - Building Microservices with Lumen PHP Framework

Botswana - Building Microservices with Lumen PHP Framework

Slovenia - Building Microservices with Lumen PHP Framework

Croatia - Building Microservices with Lumen PHP Framework

Serbia - Building Microservices with Lumen PHP Framework

Bhutan - Building Microservices with Lumen PHP Framework

Nepal - Building Microservices with Lumen PHP Framework