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
Twelve Apps
Search
Lindolfo Rodrigues
March 30, 2013
Programming
0
56
Twelve Apps
YAPC::Brasil 2012
Lindolfo Rodrigues
March 30, 2013
Tweet
Share
More Decks by Lindolfo Rodrigues
See All by Lindolfo Rodrigues
Optimize for Happiness
lorn
1
110
Big data: Muito além do MapReduce
lorn
1
61
Perl para Sysadmins e DBAs
lorn
1
160
A busca pelo deploy continuo
lorn
1
88
Palestra de testes
lorn
1
71
Other Decks in Programming
See All in Programming
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
3
980
CSC509 Lecture 08
javiergs
PRO
0
250
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
190
Google Opalで使える37のライブラリ
mickey_kubo
3
150
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
920
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
4
16k
CSC305 Lecture 09
javiergs
PRO
0
310
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
440
ドメイン駆動設計のエッセンス
masuda220
PRO
2
280
AI駆動で0→1をやって見えた光と伸びしろ
passion0102
1
850
O Que É e Como Funciona o PHP-FPM?
marcelgsantos
0
200
Building, Deploying, and Monitoring Ruby Web Applications with Falcon (Kaigi on Rails 2025)
ioquatix
4
2.5k
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
890
Gamification - CAS2011
davidbonilla
81
5.5k
Thoughts on Productivity
jonyablonski
70
4.9k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
The World Runs on Bad Software
bkeepers
PRO
72
11k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
Transcript
Saturday, March 30, 13
Fazendo uma App usando a metodologia dos ’12 elementos’ Saturday,
March 30, 13
Backgroung • IaaS e PaaS • O mundo nas nuvens
• Idealizados por usuários de PaaS Saturday, March 30, 13
Codebase Saturday, March 30, 13
Saturday, March 30, 13
Saturday, March 30, 13
Dependencies • Declare suas dependências no Makefile.PL • bin/bootstrap.sh •
http://bit.ly/thesetup_vimeo Saturday, March 30, 13
Saturday, March 30, 13
Dependencies • local::lib • cartoon • Use versões de modulos
que você testou Saturday, March 30, 13
Config • Guarde suas configs em variáveis de ambiente •
$ENV[‘FOO’] Saturday, March 30, 13
Saturday, March 30, 13
Backing Services Saturday, March 30, 13
Build, Release and run Saturday, March 30, 13
Processes • Trate cada parte de sua aplicação como uma
aplicação unica que não compartilha estado • Evite “Sticky Session” Saturday, March 30, 13
Port Binding • Aplicações auto-contidas • Consegue rodar em userspace
• Coloque o starman no seu Makefile.PL Saturday, March 30, 13
Concurrency Saturday, March 30, 13
Disposability • Sua App precisa ter um start/restart/stop script •
Inicia sozinha e bem rápido • monit Saturday, March 30, 13
Saturday, March 30, 13
Dev/Prod parity • Devops • deploy continuo Saturday, March 30,
13
Logs • event stream • pipeline Saturday, March 30, 13
Saturday, March 30, 13
logstash Saturday, March 30, 13
Saturday, March 30, 13
Saturday, March 30, 13
Logs • Metricas para eventos • https://github.com/heroku/pulse • logrouters •
http://github.com/heroku/logplex • http://github.com/heroku/fluentd Saturday, March 30, 13
Admin Process • Processos em administrativos deve usar a mesma
base de codigo da App • bin/cleanoldstuff.pl • Aproveita o seu DB::Schema Saturday, March 30, 13
Conclusão • Nem tudo aqui pode se aplicar para você.
• ...mas algumas coisas já são mais que ‘Boas Praticas’ e já caem no “Você não faz assim?” Saturday, March 30, 13