0%

什麼是Factory(工廠)呢?

定義:建立一個接口,讓子類自己決定實現哪一個Factory,其重點是繼承了Simple Factory Patterns的優點,同時解決了它的問題

什麼是Simple Factory(簡單工廠)呢?

簡單而言就是: 由一個工廠來生產全部產品 定義:建立一個接口,讓子類自己決定實現哪一個Factory,重點在於工廠,透過工廠的Static method 進行生成的Object

什麼是Design Pattern(設計模式)呢?

設計模式(Design Pattern) 是對軟體設計中普遍存在(反覆出現)的各種問題,所提出的解決方案。用於描述在各種不同的情況下,如何解決問題的一種方案

What is JWT(Json Web Token)?

The full name of JWT is Json Web Token. Acccording to the definition, JWT is a proposed Internet standard for creating data with optinal signature and/or opntional encryption whose payload holds JSON that asserts some number of clamis.
It’s used for identity authentication between client and the server that allows accessing resources in the server.

The Structure of JWT

JWT consists of three parts including: