Chapter 08. Implementation Support
Chapter 08. Implementation Support
(Pendukung implementasi)
Implementation
support (pendukung implementasi)
programming tools (perangkat pemograman)
levels of services for programmers (tingkat
pelayanan untuk programer)
windowing systems (sistem windowing)
core support for separate and simultaneous user-
system activity (dukungan utama untuk terpisah dan simultan user-sistem
kegiatan)
programming the application and control of
dialogue (pemrograman aplikasi dan pengendalian dialog)
interaction toolkits (interaksi toolkits)
bring programming closer to level of user perception
(membawa pemograman mendekati tingkat persepsi pengguna)
user interface management systems (manajemen
sistem antarmuka pengguna)
controls relationship between presentation and
functionality (mengontrol hubungan antara presentasi dan fungsionalitas)
Introduction (pengenalan)
read-evaluation loop
(membaca evaluasi lingkaran)
repeat
read-event(myevent)
case myevent.type
type_1:
do type_1 processing
type_2:
do type_2 processing
...
type_n:
do type_n processing
end case
end repeat
Programming the application - 1
notification-based
(Pengetahuan dasar)
int mySave(Event e) {
// save the current file
}
int myQuit(Event e) {
// close down
}
going with the grain
system style affects the interfaces
(model sistem akan mempengaruhi antarmuka)
modal dialogue box (modal dialog box)
easy with event-loop (mudah
menggunakan Event loop ) (just have extra read-event loop)
(hanya memiliki ekstra membaca-peristiwa loop)
hard with notification
(pemberitahuan dengan drive ) (need lots of mode flags)
(perlu banyak mode flags)
beware! (berhati-hatilah!)
if you dont explicitly design it will just happen
implementation should not drive design
(jika Anda tidak secara tegas mendesainnya hanya akan terjadi pelaksanaan tidak harus drive desain)
Using toolkits
Swing toolkit
built on top of AWT higher level features (dibangun di
atas AWT - fitur tingkat yang lebih tinggi)
improves: (Penambahan)
portability runs on different systems (portabilitas -
dijalankan pada sistem yang berbeda)
Seeheim:
presentation dialogue application
Arch/Slinky
dialogue
func. core
adaptor lexical
functional
core physical
Seeheim model
(model seeheim)
Functionality
Dialogue
USER
USER Presentation (application APPLICATION
Control
interface)
switch
conceptual vs.
implementation
(konsep vs implementasi)
Seeheim
arose out of implementation experience (timbul
dari implementasi pengalaman)
Application
Dialogue
USER Presentation Interface APPLICATION
Control
Model
the bypass/switch
(pemintas / switch)
Application
Dialogue
USER Presentation Interface APPLICATION
Control
Model
direct communication
rapidsemantic between application
and presentation
feedback but regulated by
(komunikasi secara langsung
antara aplikasi dan persentasi)
dialogue control
(tetapi diatur oleh
Dialog pengendalian)
more layers!
dialogue
func. core
adaptor lexical
functional
core physical
Arch/Slinky
dialogue
func. core
adaptor lexical
functional
core physical
monolithic vs. components
(monolitik vs komponen)
view
model
controller
MVC issues
(Isu MVC)
MVC is largely pipeline model: (MVC adalah Model
sebagian besar saluran jaringan)
A P A P
C C
abstraction presentation
control
A P
C A P
C
Implementation of UIMS
(Pelaksanaan UIMS)
(ALV - abstractionlinkview)
in use (kegunaan)
UIMS
conceptual architectures for separation (konsep
arsitektur untuk pemisahan)
techniques for expressing dialogue (teknik untuk menyampaikan dialog)