Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How We Use Go To Do Web Development
Search
Jinzhu
November 15, 2015
Programming
19
5.7k
How We Use Go To Do Web Development
GDG DevFest 2015 @ HangZhou
Jinzhu
November 15, 2015
Tweet
Share
Other Decks in Programming
See All in Programming
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
CSC307 Lecture 05
javiergs
PRO
0
490
2年のAppleウォレットパス開発の振り返り
muno92
PRO
0
200
Grafana:建立系統全知視角的捷徑
blueswen
0
320
AIエージェントの設計で注意するべきポイント6選
har1101
7
3.4k
Vibe codingでおすすめの言語と開発手法
uyuki234
0
210
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
260
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
150
CSC307 Lecture 06
javiergs
PRO
0
680
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
660
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
370
Featured
See All Featured
Amusing Abliteration
ianozsvald
0
92
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
The Cult of Friendly URLs
andyhume
79
6.8k
Marketing to machines
jonoalderson
1
4.6k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
50
Google's AI Overviews - The New Search
badams
0
900
Balancing Empowerment & Direction
lara
5
880
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
Transcript
How we use Go to do web development Jinzhu @
The Plant github.com/jinzhu
About Me
Design Pattern
MVC - Controller • Full Featured Framework ? • Minimalistic
Framework ?
MVC - Controller • Full Featured Framework • Minimalistic Framework
-> Gin github.com/gin-gonic/gin
MVC - Controller middleware route controller
MVC - Model • Hand Written SQL ? • ORM
?
MVC - Model • Hand Written SQL • ORM ->
Gorm github.com/jinzhu/gorm
MVC - Model
MVC - View • Browser Side Views ? • Server
Side Views ?
MVC - View • Browser Side Views -> React •
Server Side Views -> Go Template
API • RESTful API • GraphQL
Front End Stuff WebPack • css/sass • javascript • image
sprites
Deployment • Single Binary File -> Bindata github.com/jteeuwen/go-bindata • Deploy
binary file to server -> Harp github.com/bom-d-van/harp
Zero Downtime • Endless -> port github.com/fvbock/endless • Grace ->
port / socket github.com/facebookgo/grace
Data Administration QOR Demo: demo.getqor.com/admin Github Repoғgithub.com/qor/qor
QOR
QOR Initialize Add Resource Authorization
Not Only About Administration But everything about Web Development
Publish
Publish Just one line code
Localization
Localization Also one line code
Localization
Sorting
Sorting
Media Library
Media Library upload to filesystem upload to s3
How it works? No Magic
How it works? GORM Callbacks & Duck Programming
GORM CRUD Callbacks Plugin System github.com/jinzhu/gorm/blob/master/doc/development.md
Create Callbacks As Example
Create Callbacks As Example
Create Callbacks As Example do things that the plugin want
to do
Lets create more things!
Thank You ‣ Jinzhu @ The Plant ‣ github.com/jinzhu ‣
[email protected]
We are hiring!