$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
golang at m.elcolombiano.com
Search
Juan Felipe Alvarez Saldarriaga
September 03, 2015
Programming
0
58
golang at m.elcolombiano.com
Juan Felipe Alvarez Saldarriaga
September 03, 2015
Tweet
Share
More Decks by Juan Felipe Alvarez Saldarriaga
See All by Juan Felipe Alvarez Saldarriaga
UI Tests con Espresso
nebiros
0
80
Aplicaciones Cocoa Touch con Swift 2
nebiros
1
63
Appcelerator's Titanium, native apps via JavaScript
nebiros
0
63
Apache Cordova or best called PhoneGap
nebiros
0
44
Other Decks in Programming
See All in Programming
ハイパーメディア駆動アプリケーションとIslandアーキテクチャ: htmxによるWebアプリケーション開発と動的UIの局所的適用
nowaki28
0
150
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 1
philipschwarz
PRO
0
120
20 years of Symfony, what's next?
fabpot
2
240
sbt 2
xuwei_k
0
130
[堅牢.py #1] テストを書かない研究者に送る、最初にテストを書く実験コード入門 / Let's start your ML project by writing tests
shunk031
11
6.5k
Herb to ReActionView: A New Foundation for the View Layer @ San Francisco Ruby Conference 2025
marcoroth
0
230
関数の挙動書き換える
takatofukui
4
760
30分でDoctrineの仕組みと使い方を完全にマスターする / phpconkagawa 2025 Doctrine
ttskch
3
660
Querying Design System デザインシステムの意思決定を支える構造検索
ikumatadokoro
1
1.2k
Stay Hacker 〜九州で生まれ、Perlに出会い、コミュニティで育つ〜
pyama86
2
3.3k
モデル駆動設計をやってみよう Modeling Forum2025ワークショップ/Let’s Try Model-Driven Design
haru860
0
210
宅宅自以為的浪漫:跟 AI 一起為自己辦的研討會寫一個售票系統
eddie
0
410
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.1k
A designer walks into a library…
pauljervisheath
210
24k
A Tale of Four Properties
chriscoyier
162
23k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
The Invisible Side of Design
smashingmag
302
51k
Become a Pro
speakerdeck
PRO
30
5.7k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
Transcript
golang at m.elcolombiano.com Juan Felipe Alvarez Saldarriaga @nebiros
Software engineer at @ride I'm in the iOS Team, YAY!,
;-)
What is m.elcolombiano.com? A mobile website made in PHP. Reads
RSS feeds. Last month they had like 2.791.914 page views. elcolombiano.com
How it works? A background process run every X time.
This program get feeds from and process each one, also, it saves that information into a DB. The program is made in PHP. elcolombiano.com golang fits in here!
None
Rewriting a PHP program into golang… The PHP program is
OOP. All models and business logic is in PHP too. Project structure is totally different.
SHOW ME THA CODE!
And… voilà! sindyk-feeds-reader
Some stupid numbers…
PHP ✔ ~/Drive/Projects/elcolombiano-mobile-ng/bin [master|✚ 3…1] 08:14 $ APPLICATION_ENV=development time php
worker.php real 54.74 user 0.45 sys 0.19
golang ✘-1 ~/Drive/Projects/GoLang/src/github.com/nebiros/sindyk-feeds-reader [master|…2] 08:33 $ time go run main/sindyk-feeds-reader.go
-dbname elcolombiano-mobile_development real 0m8.783s user 0m2.597s sys 0m0.838s
Simple is better… Dig into other golang projects at github.
Start moving small chunks of code into golang. Stop thinking in OOP. Look first in the standard library. Avoid too much dependencies.
Thank you! Juan Felipe Alvarez Saldarriaga
[email protected]
@nebiros