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
360
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Desenvolvimento ágil com AngularJS
Ciro Nunes
August 03, 2013
More Decks by Ciro Nunes
See All by Ciro Nunes
Rust Front-end with Yew
cironunes
0
100
Type safe CSS with Reason
cironunes
0
150
What I've learned building automated docs for Ansarada's design system
cironunes
0
100
Beyond ng new
cironunes
2
250
Animate your Angular apps
cironunes
0
470
Sweet Angular, good forms never felt so good
cironunes
0
110
Sweet Angular, good forms never felt so good
cironunes
0
320
Progressive Angular apps
cironunes
3
950
Angular: Um framework. Mobile & desktop.
cironunes
1
610
Other Decks in Programming
See All in Programming
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
640
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
130
自分的「カンファレンスの楽しみ方」
syumai
0
190
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
260
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
0
390
AIに既存システムを理解させる技術 ~レガシーを見捨てないハーネスエンジニアリング入門~
ochtum
0
210
Go を使い始めて 2 ヶ月の学び / My first two months with Go
contour_gara
0
420
片田舎のおっさん、 Swift Buildのダイアモンド問題解決の不具合修正PRを出すが、解決方法がキャッシュをしないようにすることであり、ビルド時間が伸びると言われてマージされないので高速化もする/swiftbuild
yimajo
0
360
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
4.3k
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
750
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
660
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
200
Featured
See All Featured
HDC tutorial
michielstock
2
850
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
490
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.2k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
480
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
290
Thoughts on Productivity
jonyablonski
76
5.4k
It's Worth the Effort
3n
188
29k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
The Pragmatic Product Professional
lauravandoore
37
7.4k
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?