Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Estendendo o HTML com diretivas AngularJS
Search
Evaldo Barbosa
March 31, 2015
Technology
40
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Estendendo o HTML com diretivas AngularJS
Palestra realizada na UNDB no dia 28 de março de 2015
Evaldo Barbosa
March 31, 2015
Transcript
15 slides
estendendo o html com diretivas AngularJS Um exemplo de como
construir aplicações HTML componentizadas
/apresentação Evaldo Barbosa Analista de Sistemas Presidente do PHP Maranhão
Membro da diretoria da ABRAPHP
/estabelecendo_o_problema Uma todo list Um problema, alguns dados e dois
componentes.
/estabelecendo_o_problema Uma todo list Um problema, alguns dados e dois
componentes. <todo-list title=”Título da lista”> <task title=”Task” done=”boolean” blocked=”boolean”> </todo-list>
/dependencias Bower.json Preparando o campo para o jogo bower install
–save angular font-awesome bootstrap bower init
/meio_de_campo O módulo e o controller Um controller simples: basicamente
dados. /app/app.js
/html Template das diretivas Como usar as diretivas na página
/app/view/todo-list.html /app/view/task.html
/implementação Criando as diretivas Como chamaremos a diretiva no HTML
Restrict
/implementação Criando as diretivas Qual a forma de implementar o
HTML da diretiva Template e TemplateUrl
/implementação Criando as diretivas Substitui o HTML da tag pelo
do template Replace
/implementação Criando as diretivas Reserva uma área do template para
receber dados da chamada Transclude
/implementação Criando as diretivas Interceptando dados e alterando a saída
Link
/github O repositório O código e as referências https://github.com/evaldobarbosa/diretivasAngularjs Pronto
para deploy README com referências
Obrigado Perguntas?
br.linkedin.com/in/evaldobarbosa github.com/evaldobarbosa twitter.com/evaldobarbosa facebook.com/evaldo.barbosa.902
More Decks by Evaldo Barbosa
See All by Evaldo Barbosa
Vamos falar a mesma língua
evaldobarbosa
0
37
Conhecendo o Firebase
evaldobarbosa
0
110
Web Apis
evaldobarbosa
0
53
Dicas de Orientação a Objetos
evaldobarbosa
0
58
Montagem de equipes de software
evaldobarbosa
0
42
GET /AngularJS 200 OK
evaldobarbosa
0
71
Other Decks in Technology
See All in Technology
Go でトランザクション、どう書いてますか?
knwoop
1
580
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
130
落とし穴にハマってわかった 開発生産性を測るときに気をつけたいこと
munakata
3
490
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
150
コピーオンライト型ファイルシステムと ランダム書き込み
sat
PRO
2
140
人の努力に頼らないセキュリティをエンジニアリングする在り方 / An approach to engineering security that does not rely on human effort
carta_engineering
0
240
認知の質も文化醸成も。数年取り組んで見えてきた技術広報のKPI設計 / Tech PR KPIs: Lessons on Awareness Quality and Culture After Several Years
bitkey
PRO
0
210
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
500
セキュリティチームは どのコンテナイメージの脆弱性対応を優先すべきか 〜CISA新指針とSCCで作る脆弱性トリアージ〜
swdtkuy
0
330
HTTP通信に使おうとすると実はめんどくさいfile_get_contents
maguroalternative
0
260
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
2
470
Re:ゼロから始めるシェアハウスのペットな鯖
silmin_
0
270
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
310
sira's awesome portfolio website redesign presentation
elsirapls
0
520
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
We Are The Robots
honzajavorek
0
460
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
880
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Side Projects
sachag
456
43k
Tell your own story through comics
letsgokoyo
1
1.1k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Designing for humans not robots
tammielis
254
26k