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
790
0
Share
Membuat Single Page Application menggunakan AngularJS
Presentation for JogjaJS event, introducing AngularJs
Yanuar Waskito
August 26, 2014
Other Decks in Programming
See All in Programming
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
290
Feature Toggle は捨てやすく使おう
gennei
0
400
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
5.3k
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
250
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
290
AI-DLC 入門 〜AIコーディングの本質は「コード」ではなく「構造」〜 / Introduction to AI-DLC: The Essence of AI Coding Is Not “Code” but “Structure”
seike460
PRO
0
150
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
270
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
300
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
210
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
180
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
580
The free-lunch guide to idea circularity
hollycummins
0
390
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
200
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
120
Between Models and Reality
mayunak
2
250
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
97
The Curse of the Amulet
leimatthew05
1
11k
BBQ
matthewcrist
89
10k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
53k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
ラッコキーワード サービス紹介資料
rakko
1
2.8M
Facilitating Awesome Meetings
lara
57
6.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