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
技術的負債と向き合うカイゼン活動を1年続けて分かった "持続可能" なプロダクト開発
yuichiro_serita
0
300
『改訂新版 良いコード/悪いコードで学ぶ設計入門』活用方法−爆速でスキルアップする!効果的な学習アプローチ / effective-learning-of-good-code
minodriven
28
4.2k
Androidアプリのモジュール分割における:x:commonを考える
okuzawats
1
280
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
0
100
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
1.1k
Androidアプリの One Experience リリース
nein37
0
1.2k
いりゃあせ、PHPカンファレンス名古屋2025 / Welcome to PHP Conference Nagoya 2025
ttskch
1
180
Swiftコンパイラ超入門+async関数の仕組み
shiz
0
170
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
130
HTML/CSS超絶浅い説明
yuki0329
0
190
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
1.4k
混沌とした例外処理とエラー監視に秩序をもたらす
morihirok
13
2.3k
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
510
110k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
98
18k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
How STYLIGHT went responsive
nonsquared
96
5.3k
Designing for humans not robots
tammielis
250
25k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
How GitHub (no longer) Works
holman
312
140k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Making the Leap to Tech Lead
cromwellryan
133
9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
570
Designing on Purpose - Digital PM Summit 2013
jponch
116
7.1k
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!