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
ABEMAモバイルアプリが Kotlin Multiplatformと歩んだ5年 ─ 導入と運用、成功と課題 / iOSDC 2025
akkyie
0
310
ИИ-Агенты в каждый дом – Алексей Порядин, PythoNN
sobolevn
0
150
LLMとPlaywright/reg-suitを活用した jQueryリファクタリングの実際
kinocoboy2
4
660
プログラミングどうやる? ~テスト駆動開発から学ぶ達人の型~
a_okui
0
190
10年もののAPIサーバーにおけるCI/CDの改善の奮闘
mbook
0
720
株式会社 Sun terras カンパニーデック
sunterras
0
200
Le côté obscur des IA génératives
pascallemerrer
0
100
ポスターセッション: 「まっすぐ行って、右!」って言ってラズパイカーを動かしたい 〜生成AI × Raspberry Pi Pico × Gradioの試作メモ〜
komofr
0
930
猫と暮らすネットワークカメラ生活🐈 ~Vision frameworkでペットを愛でよう~ / iOSDC Japan 2025
yutailang0119
0
220
プロダクト開発をAI 1stに変革する〜SaaS is dead時代で生き残るために〜 / AI 1st Product Development
kobakei
0
470
メモリ不足との戦い〜大量データを扱うアプリでの実践例〜
kwzr
1
770
CSC305 Lecture 04
javiergs
PRO
0
230
Featured
See All Featured
Unsuck your backbone
ammeep
671
58k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Speed Design
sergeychernyshev
32
1.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
960
Six Lessons from altMBA
skipperchong
28
4k
Practical Orchestrator
shlominoach
190
11k
Thoughts on Productivity
jonyablonski
70
4.9k
Designing Experiences People Love
moore
142
24k
Fireside Chat
paigeccino
40
3.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Scaling GitHub
holman
463
140k
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!