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
Desenvolvimento ágil com AngularJS
Search
Ciro Nunes
August 03, 2013
Programming
5
340
Desenvolvimento ágil com AngularJS
Ciro Nunes
August 03, 2013
Tweet
Share
More Decks by Ciro Nunes
See All by Ciro Nunes
Rust Front-end with Yew
cironunes
0
65
Type safe CSS with Reason
cironunes
0
140
What I've learned building automated docs for Ansarada's design system
cironunes
0
84
Beyond ng new
cironunes
2
220
Animate your Angular apps
cironunes
0
440
Sweet Angular, good forms never felt so good
cironunes
0
90
Sweet Angular, good forms never felt so good
cironunes
0
310
Progressive Angular apps
cironunes
3
920
Angular: Um framework. Mobile & desktop.
cironunes
1
600
Other Decks in Programming
See All in Programming
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
280
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
990
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
140
Codex の「自走力」を高める
yorifuji
0
1.2k
モジュラモノリスにおける境界をGoのinternalパッケージで守る
magavel
0
3.6k
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
420
AI 開発合宿を通して得た学び
niftycorp
PRO
0
140
モダンOBSプラグイン開発
umireon
0
150
へんな働き方
yusukebe
0
390
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
120
20260313 - Grafana & Friends Taipei #1 - Kubernetes v1.36 的開發雜記:那些困在 Alpha 加護病房太久的 Metrics
tico88612
0
210
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
1
260
Featured
See All Featured
The Curse of the Amulet
leimatthew05
1
10k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
150
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
410
Code Review Best Practice
trishagee
74
20k
My Coaching Mixtape
mlcsv
0
75
The Invisible Side of Design
smashingmag
302
51k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
980
Paper Plane (Part 1)
katiecoart
PRO
0
5.7k
What's in a price? How to price your products and services
michaelherold
247
13k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
180
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Transcript
None
desenvolvimento ágil com o angular.js ciro nunes
- front-end engineer ~4 anos - agile coach - javascript,
angular.js, tools & workflow @cironunesdev / cironunes.github.io
None
None
http://meetup.com/AngularJS-Sao-Paulo
hoje vamos falar sobre agilidade no desenvolvimento de aplicações web
agenda - olá angular.js - introdução ao mundo ágil -
user stories - por que testar meu código? - workflow ágil - cart-app
full-feature framework para web apps
hello world index.html 1. <!doctype html> 2. <html ng-app="frontinbh" >
3. <head> 4. <meta charset="utf-8"> 5. <title>Hello World</title> 6. </head> 7. <body ng-controller="HelloCtrl" > 8. <p>Hello {{ name }} !</p> 9. <script src="//ajax.(...)/angular.min.js"></script> 10. <script src="app.js"> 11. </body> 12. </html>
1. angular.module( 'frontinbh' , []) 2. .controller('HelloCtrl' , function( $scope
) { 3. $scope.name = 'world'; 4. }); app.js (plunker) hello world
model = dados view = ui controller = lógica (plunker)
$scope 'cola' o controller na view single responsibility principle +
dependency injection
outras features
routes services directives modules http (ajax) filters data-binding (2 way)
resource (restful) factory providers config
o que é desenvolvimento ágil?
http://agilemanifesto.org/
user stories
user stories encorajam a modularizar e guiar o desenvolvimento pelos
testes
agilizam a escrita dos testes user stories
mas por que devo testar o código?
- confiabilidade - documentação (para humanos) - garantia incríveis poderes!
1. interpretar a user story 2. escrever um teste 3.
fazer o teste passar 4. refatorar 5. repetir a partir do #2 6. declarar os templates workflow
cart app github.com/cironunes/cart live coding
None
ferramentas de workflow
angular-mocks.js ferramentas de testes
bando de dados + api
#1 - como usuário - quero ver a lista de
produtos - para escolher qual vou comprar - nome, preço, imagem, qtde* - busca pelo nome
#2 - como usuário - quero adicionar produtos no carrinho
- para saber o valor total da compra - atualizar o carrinho - calcular o valor total da compra
#3 - como usuário - quero remover produtos do carrinho
- atualizar o carrinho - calcular o valor total da compra
#4 - como usuário - quero finalizar a compra -
limpar o carrinho - mostrar mensagem de carrinho vazio
- fundamentos do angular.js - introdução aos métodos ágeis -
um workflow simples e poderoso - incríveis ferramentas - como testar aplicações angular.js com persistência no mongodb o que aprendemos?
próximos passos
http://thinkster.io/
http://github.com/jmcunningham/AngularJS-Learning
http://meetup.com/AngularJS-Sao-Paulo
obrigado! @cironunesdev
perguntas?