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時代のUIはどこへ行く?
yusukebe
18
8.9k
@Environment(\.keyPath)那么好我不允许你们不知道! / atEnvironment keyPath is so good and you should know it!
lovee
0
120
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
3
1.5k
Android端末で実現するオンデバイスLLM 2025
masayukisuda
1
160
250830 IaCの選定~AWS SAMのLambdaをECSに乗り換えたときの備忘録~
east_takumi
0
390
複雑なフォームに立ち向かう Next.js の技術選定
macchiitaka
2
160
go test -json そして testing.T.Attr / Kyoto.go #63
utgwkk
3
310
今だからこそ入門する Server-Sent Events (SSE)
nearme_tech
PRO
3
240
OSS開発者という働き方
andpad
5
1.7k
Oracle Database Technology Night 92 Database Connection control FAN-AC
oracle4engineer
PRO
1
460
JSONataを使ってみよう Step Functionsが楽しくなる実践テクニック #devio2025
dafujii
1
530
Updates on MLS on Ruby (and maybe more)
sylph01
1
180
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Context Engineering - Making Every Token Count
addyosmani
3
50
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
Docker and Python
trallard
46
3.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.7k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Side Projects
sachag
455
43k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
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!