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
Membuat Single Page Application menggunakan Ang...
Search
Yanuar Waskito
August 26, 2014
Programming
0
780
Membuat Single Page Application menggunakan AngularJS
Presentation for JogjaJS event, introducing AngularJs
Yanuar Waskito
August 26, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
ゲームの物理 剛体編
fadis
0
390
Patterns of Patterns
denyspoltorak
0
390
PostgreSQLで手軽にDuckDBを使う!DuckDB&pg_duckdb入門/osc25hi-duckdb
takahashiikki
0
210
Navigating Dependency Injection with Metro
l2hyunwoo
1
200
Deno Tunnel を使ってみた話
kamekyame
0
280
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
470
生成AI時代を勝ち抜くエンジニア組織マネジメント
coconala_engineer
0
35k
ThorVG Viewer In VS Code
nors
0
460
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
1k
生成AIを利用するだけでなく、投資できる組織へ
pospome
2
430
認証・認可の基本を学ぼう後編
kouyuume
0
260
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
280
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
21k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
From π to Pie charts
rasagy
0
97
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
78
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
120
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
74
Mind Mapping
helmedeiros
PRO
0
42
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
170
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
180
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
400
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
0
1.8k
Transcript
Single Page Application by @jeguwaskito nganggo
Yanuar Galih Waskito • SMA 3 Yogyakarta 2007-2009 • IT
Telkom ( Telkom University) 2009-2013 • Front-end Web Developer @ Qiscus 2013-sekarang Twitter: @jeguwaskito Github: http://github.com/waskito
JavaScript ?
JavaScript is a dynamic computer programming language most commonly used
as part of web browsers, whose implementations allow client-side scripts to “interact with the user” . . . . . It's for better user experience
Note! Note! Client-Side Server-Side
Contoh
Perkembangan Javascript Library Framework
None
Apa itu angularJS ? MVW [Model View Wathever] Javascript Framework
untuk membuat 'web apps' khususnya Single Page Application
History • Created by Miško Hevery • Open source since
2009 • Supported by Google • Large & fast-growing
Kok milih ?
Well Documented
Modular http://ngmodules.org
Trending Topic
Many Tutorials
Angular Main Concepts • 2 Way Data Binding • Directive
• Expression • Model • View / Template • Controller • Filter
2 Way Data Binding View View Template Template Model Model
Continuous updates Model is Single-Source-of-Truth Compile Changes to Model updates View Changes to View updates Model T wo-Way Data Binding
Directive Directive : angular marker pada element DOM (cth: html
attribute, html element, comment, atau CSS class) Digunakan sesuai fungsi directive yang dideklarasikan, bisa untuk: - manipulasi DOM, - manipulasi data di angular
Expression • Kode Javascript seperti biasanya yang ditempatkan dalam curly-
brackets {{ expression }} • Dapat berupa: - angular variable - filter - function
Model • Data yang ditampilkan kepada user dimana user tersebut
berinteraksi
View / Templates • Di angular, template ditulis dengan format
HTML, dan dapat mengandung directive, expression, atau filter index.html partials/template1.html
Controller • Fungsi konstruktor javascript untuk mengolah data ($scope)
Filter Memformat value dari expression yang diperlihatkan ke user
Warning • Angular tidak direkomendasikan untuk SEO • Butuh trik
khusus: http://prerender.io • Jangan buka di IE7
Get Started Bower: • bower install angular • Kalau belum
ada bower Download di sini
Demo Source Code Link: https://github.com/waskito/JogjaJSAngular
Thank You