Dokumen tersebut membahas tentang pemrograman integratif XML yang mencakup pengantar XML, struktur dasar seperti prolog, elemen, atribut, komentar, validasi dokumen, model pohon, DTD, jenis data pada DTD dan Schema XML, entitas, dan penggunaan namespace.
Tugas 2 – rekayasa web (nico nandika 1111511125)Nico Nandika
Ìý
Dokumen tersebut memberikan penjelasan tentang XML, JSON, perbedaan HTML dan XML, Javascript, serta istilah front-end dan back-end dalam pengembangan perangkat lunak.
Bagi anda yang ingin memulai mempelajari teknologi XML. Terdapat 10 point awal yang akan memudahkan anda untuk 'kenal akrab' dengan teknologi XML. Hope you enjoy it..
Dokumen ini membahas pengantar tentang XML (eXtensible Markup Language) yang merupakan bahasa markup standar untuk mendeskripsikan data. Dokumen ini juga menjelaskan sintaksis dasar XML, DTD untuk mendefinisikan validitas tag, XML Schema, serta alat-alat terkait XML seperti XLink, XPath, XSLT, dan XQuery.
Dokumen tersebut membahas tentang desain web statis dan HTML, mulai dari konsep dasar teknologi web, standar teknologi web yang terdiri dari structural layer, presentation layer, dan behavioral layer, penjelasan mengenai web statis dan web dinamis, persiapan pembuatan web, membuat dan menguji halaman web, penggunaan berbagai tag HTML untuk format tampilan dokumen seperti heading, paragraph, list, font, image, table, dan link antar dokumen, serta contoh tugas pembuatan 10
Dokumen ini membahas tentang web service dan XML. Secara singkat, dokumen ini menjelaskan pengenalan XML dan bagian-bagiannya seperti element dan atribut, kemudian menjelaskan beberapa Java API untuk memproses XML seperti DOM, SAX, dan JAXP. Dokumen ini juga menjelaskan tentang web service seperti SOAP, WSDL, dan UDDI serta cara membuat web service client menggunakan J2ME.
Dokumen ini membahas tentang web service dan XML. Secara singkat, dokumen ini menjelaskan pengenalan XML dan bagian-bagiannya seperti element dan atribut, kemudian menjelaskan beberapa Java API untuk memproses XML seperti DOM, SAX, dan JAXP. Dokumen ini juga menjelaskan tentang web service standar seperti SOAP, WSDL, dan UDDI serta cara membuat web service client menggunakan J2ME.
Dokumen tersebut membahas tentang rekayasa web dan mencakup pertanyaan mengenai XML, JSON, perbedaan HTML dan XML, JavaScript, serta istilah front end dan back end pada pengembangan perangkat lunak. Jawaban mencakup contoh-contoh kode dan penjelasan mengenai masing-masing topik.
Dokumen tersebut membahas pengertian front end dan back end development. Front end development bertugas mengembangkan tampilan website yang dapat dilihat pengguna, sedangkan back end development bertugas mengatur proses jalannya website dan pengambilan data dari database."
Bab 8 membahas tentang web services dan XML. Topik utama yang dibahas meliputi pengenalan XML sebagai bahasa markup untuk merepresentasikan data, Java APIs untuk memproses XML seperti DOM dan SAX, standar-standar utama dalam web services seperti SOAP, WSDL, dan UDDI, serta Web Services API untuk J2ME."
Teori bahasa dan otomata membahas model mesin komputer menggunakan model matematika seperti otomata dan tata bahasa formal. Konsep dasar meliputi simbol, string, bahasa, pohon sintaks, dan derivasi untuk membentuk kalimat dalam bahasa.
PHP adalah bahasa script yang berjalan pada server side. PHP mendukung berbagai tipe data seperti integer, string, array, objek, dan boolean. Variabel dalam PHP bersifat dinamis dan case sensitive. Terdapat berbagai operator yang dapat digunakan untuk mengolah variabel seperti operator aritmatika, increment, decrement, dan logika.
[/ringkasan]
PHP adalah bahasa script yang berjalan pada server side. PHP mendukung berbagai tipe data seperti integer, string, array, objek, dan boolean. Variabel dalam PHP bersifat dinamis dan case sensitive. Terdapat berbagai operator aritmatika, increment/decrement, dan logika untuk melakukan perhitungan dan pengolahan data dalam PHP.
[/ringkasan]
This document discusses COM+ and creating COM+ serviced components. It introduces COM+ as a programming model that provides services like security, queuing, and transactions for distributed applications. COM+ serviced components inherit from the ServicedComponent class and can be configured and registered to access COM+ services. The document provides examples of using attributes to implement services like just-in-time activation, role-based security, and synchronization in a COM+ component. It also discusses registering components and creating COM+ applications to group related components. An exercise is included to build a loan calculation COM+ component and client application.
Distributed Application Development (Introduction)Dudy Ali
Ìý
The document discusses distributed application architectures and technologies. It describes the key characteristics of single-tier, two-tier, three-tier/n-tier, and service-oriented architectures. It also outlines some technologies that can be used to develop distributed applications in .NET, including COM+ services, .NET Remoting, and web services. The document provides information on distributed application architectures and technologies to identify their components and advantages.
Java CRUD Mechanism with SQL Server DatabaseDudy Ali
Ìý
This document discusses Java database connectivity (JDBC) and CRUD operations using JDBC and SQL Server. It covers how to configure a JDBC-ODBC data source name to connect to an SQL Server database, use the JDBC API to connect to the database and execute basic SQL statements to perform CRUD operations. It also demonstrates how to use prepared statements to query and modify data in a more efficient way by binding parameters at runtime. Code examples are provided to show how to connect to a database, insert, update, delete and retrieve rows from a table.
This document discusses network programming concepts in Java, including client-server architecture, internet protocols, IP addresses and ports, sockets, and implementing UDP applications. It provides code examples of sending and receiving data using UDP datagram packets and sockets in Java. Specifically, it shows how to create a client-server application where the server can broadcast messages to clients in a multicast group using UDP multicast sockets.
- The document discusses consuming web services in web applications, including invoking web services, consuming Windows Communication Foundation services, and the architecture of ASP.NET AJAX. It also covers implementing internationalization in applications by discussing globalization, localization, and factors to consider like language, formatting, strings, and user interfaces.
This document discusses declaring attributes in XML schemas. Attributes can be declared in schemas to facilitate validating XML documents. Attributes are declared using an attribute element, which can specify the attribute's name, type, allowed values, etc. Attributes can be declared globally to enable reuse across elements. Schemas also allow restricting attribute and element values using simple type definitions and the restriction element. Examples are provided of restricting age to a numeric range and gender to a fixed set of options.
This document discusses XML schemas and their components. It begins by defining what an XML schema is and its purpose in specifying elements, attributes, and data types in an XML document. It then discusses the advantages of using XML Schema Definition (XSD) to define schemas and provides examples of parsers that support XML schemas. The document outlines the different data types in XSD like primitive, derived, atomic, list and union, as well as how to define simple and complex elements. It concludes with explanations of namespaces in XML and how they are declared in XSD.
This document discusses transforming XML documents through Cascading Style Sheets (CSS) and Extensible Stylesheet Language (XSL). It introduces CSS syntax for defining element styles and applying CSS to XML. It then introduces XSL and its components XSLT and XPath for more advanced formatting like reordering elements. The document explains common XSLT elements like template, value-of, and apply-templates used to select data and define formatting rules. It provides examples of creating CSS and XSLT stylesheets to format product details from XML.
Dokumen tersebut membahas tentang desain web statis dan HTML, mulai dari konsep dasar teknologi web, standar teknologi web yang terdiri dari structural layer, presentation layer, dan behavioral layer, penjelasan mengenai web statis dan web dinamis, persiapan pembuatan web, membuat dan menguji halaman web, penggunaan berbagai tag HTML untuk format tampilan dokumen seperti heading, paragraph, list, font, image, table, dan link antar dokumen, serta contoh tugas pembuatan 10
Dokumen ini membahas tentang web service dan XML. Secara singkat, dokumen ini menjelaskan pengenalan XML dan bagian-bagiannya seperti element dan atribut, kemudian menjelaskan beberapa Java API untuk memproses XML seperti DOM, SAX, dan JAXP. Dokumen ini juga menjelaskan tentang web service seperti SOAP, WSDL, dan UDDI serta cara membuat web service client menggunakan J2ME.
Dokumen ini membahas tentang web service dan XML. Secara singkat, dokumen ini menjelaskan pengenalan XML dan bagian-bagiannya seperti element dan atribut, kemudian menjelaskan beberapa Java API untuk memproses XML seperti DOM, SAX, dan JAXP. Dokumen ini juga menjelaskan tentang web service standar seperti SOAP, WSDL, dan UDDI serta cara membuat web service client menggunakan J2ME.
Dokumen tersebut membahas tentang rekayasa web dan mencakup pertanyaan mengenai XML, JSON, perbedaan HTML dan XML, JavaScript, serta istilah front end dan back end pada pengembangan perangkat lunak. Jawaban mencakup contoh-contoh kode dan penjelasan mengenai masing-masing topik.
Dokumen tersebut membahas pengertian front end dan back end development. Front end development bertugas mengembangkan tampilan website yang dapat dilihat pengguna, sedangkan back end development bertugas mengatur proses jalannya website dan pengambilan data dari database."
Bab 8 membahas tentang web services dan XML. Topik utama yang dibahas meliputi pengenalan XML sebagai bahasa markup untuk merepresentasikan data, Java APIs untuk memproses XML seperti DOM dan SAX, standar-standar utama dalam web services seperti SOAP, WSDL, dan UDDI, serta Web Services API untuk J2ME."
Teori bahasa dan otomata membahas model mesin komputer menggunakan model matematika seperti otomata dan tata bahasa formal. Konsep dasar meliputi simbol, string, bahasa, pohon sintaks, dan derivasi untuk membentuk kalimat dalam bahasa.
PHP adalah bahasa script yang berjalan pada server side. PHP mendukung berbagai tipe data seperti integer, string, array, objek, dan boolean. Variabel dalam PHP bersifat dinamis dan case sensitive. Terdapat berbagai operator yang dapat digunakan untuk mengolah variabel seperti operator aritmatika, increment, decrement, dan logika.
[/ringkasan]
PHP adalah bahasa script yang berjalan pada server side. PHP mendukung berbagai tipe data seperti integer, string, array, objek, dan boolean. Variabel dalam PHP bersifat dinamis dan case sensitive. Terdapat berbagai operator aritmatika, increment/decrement, dan logika untuk melakukan perhitungan dan pengolahan data dalam PHP.
[/ringkasan]
This document discusses COM+ and creating COM+ serviced components. It introduces COM+ as a programming model that provides services like security, queuing, and transactions for distributed applications. COM+ serviced components inherit from the ServicedComponent class and can be configured and registered to access COM+ services. The document provides examples of using attributes to implement services like just-in-time activation, role-based security, and synchronization in a COM+ component. It also discusses registering components and creating COM+ applications to group related components. An exercise is included to build a loan calculation COM+ component and client application.
Distributed Application Development (Introduction)Dudy Ali
Ìý
The document discusses distributed application architectures and technologies. It describes the key characteristics of single-tier, two-tier, three-tier/n-tier, and service-oriented architectures. It also outlines some technologies that can be used to develop distributed applications in .NET, including COM+ services, .NET Remoting, and web services. The document provides information on distributed application architectures and technologies to identify their components and advantages.
Java CRUD Mechanism with SQL Server DatabaseDudy Ali
Ìý
This document discusses Java database connectivity (JDBC) and CRUD operations using JDBC and SQL Server. It covers how to configure a JDBC-ODBC data source name to connect to an SQL Server database, use the JDBC API to connect to the database and execute basic SQL statements to perform CRUD operations. It also demonstrates how to use prepared statements to query and modify data in a more efficient way by binding parameters at runtime. Code examples are provided to show how to connect to a database, insert, update, delete and retrieve rows from a table.
This document discusses network programming concepts in Java, including client-server architecture, internet protocols, IP addresses and ports, sockets, and implementing UDP applications. It provides code examples of sending and receiving data using UDP datagram packets and sockets in Java. Specifically, it shows how to create a client-server application where the server can broadcast messages to clients in a multicast group using UDP multicast sockets.
- The document discusses consuming web services in web applications, including invoking web services, consuming Windows Communication Foundation services, and the architecture of ASP.NET AJAX. It also covers implementing internationalization in applications by discussing globalization, localization, and factors to consider like language, formatting, strings, and user interfaces.
This document discusses declaring attributes in XML schemas. Attributes can be declared in schemas to facilitate validating XML documents. Attributes are declared using an attribute element, which can specify the attribute's name, type, allowed values, etc. Attributes can be declared globally to enable reuse across elements. Schemas also allow restricting attribute and element values using simple type definitions and the restriction element. Examples are provided of restricting age to a numeric range and gender to a fixed set of options.
This document discusses XML schemas and their components. It begins by defining what an XML schema is and its purpose in specifying elements, attributes, and data types in an XML document. It then discusses the advantages of using XML Schema Definition (XSD) to define schemas and provides examples of parsers that support XML schemas. The document outlines the different data types in XSD like primitive, derived, atomic, list and union, as well as how to define simple and complex elements. It concludes with explanations of namespaces in XML and how they are declared in XSD.
This document discusses transforming XML documents through Cascading Style Sheets (CSS) and Extensible Stylesheet Language (XSL). It introduces CSS syntax for defining element styles and applying CSS to XML. It then introduces XSL and its components XSLT and XPath for more advanced formatting like reordering elements. The document explains common XSLT elements like template, value-of, and apply-templates used to select data and define formatting rules. It provides examples of creating CSS and XSLT stylesheets to format product details from XML.
The document discusses JDBC (Java Database Connectivity), which allows Java applications to connect to databases. It covers:
- The layers of the JDBC architecture including the application layer and driver layer.
- The four types of JDBC drivers that translate between SQL and database formats.
- How to use the JDBC API classes and interfaces like DriverManager, Connection, and Statement.
- The steps to create a JDBC application including loading drivers, connecting to databases, executing statements, and handling exceptions.
- How to perform operations like querying, inserting, updating, deleting and creating/altering database tables.
- That ResultSet objects store results and have different types like scrollable and
This document discusses using XSLT for conditional formatting and displaying data. It covers the <if> and <choose> elements used for conditional formatting. It also discusses XPath expressions and operators that can be used to retrieve and filter XML data based on conditions. Examples of comparison operators like =, !=, <, <=, >=, > and logical operators like and, or are provided.
Dokumen ini membahas tentang algoritma dan struktur data, termasuk definisi algoritma dan struktur data, contoh struktur data seperti list, stack, dan queue, serta penjelasan mengenai efisiensi algoritma dan penggunaan struktur data untuk meningkatkan efisiensi program.
Object Oriented Programming - Value Types & Reference TypesDudy Ali
Ìý
The document discusses value types and reference types in C# programming. It explains that value types contain data directly, while reference types contain references to memory locations where data is stored. It provides examples of how value types and reference types are allocated in memory. It also covers topics like enumerations, arrays, and displaying array values.
This document discusses inheritance and related object-oriented programming concepts in C#, including:
- Inheritance allows a derived class to inherit attributes from a base class.
- Relationships between classes include inheritance, composition, utilization, and instantiation.
- Abstract classes cannot be instantiated but provide partial implementation for derived classes to complete. Abstract methods have no body and must be overridden in derived classes.
- Sealed classes cannot be inherited from, while sealed methods cannot be overridden in derived classes.
- Interfaces declare method signatures that classes implement, allowing multiple interface implementation.
Object Oriented Programming - File Input & OutputDudy Ali
Ìý
The document discusses file input/output in C# and .NET. It describes how streams are used for input and output operations and the common classes in the System.IO namespace used for file operations. It then discusses the FileStream and StreamReader/StreamWriter classes in more detail and provides examples of how to use them to write data to and read data from files. It also covers using delimiters to separate data elements and storing them in arrays.
Object Oriented Programming - Constructors & DestructorsDudy Ali
Ìý
1) Constructors are special methods that are invoked when a new instance of a class is created. They are used to initialize member variables and have the same name as the class.
2) Destructors are special methods that are used to perform cleanup actions like releasing memory when an object is destroyed. They are prefixed with a tilde symbol and have the same name as the class.
3) The document provides examples of using constructors with and without parameters, and destructors. It explains that destructors are automatically called by the .NET framework to destroy objects in memory.
Object Oriented Programming - Abstraction & EncapsulationDudy Ali
Ìý
This document discusses abstraction and encapsulation in object-oriented programming. It defines abstraction as extracting only relevant information and gives an example of displaying a car without needing to know if insert or delete functions are available. Encapsulation is defined as an object's ability to hide data and behavior not necessary to its user. It provides examples of public and private access specifiers to restrict access to properties and methods. Access specifiers like public, private, protected and internal are also explained with examples.
Dokumen ini memberikan penjelasan tentang PHP (Hypertext Preprocessor), bahasa skrip server sisi yang digunakan untuk membuat konten web menjadi dinamis. PHP dapat mengeksekusi kode pada server dan mengembalikan halaman web dalam bentuk HTML ke browser. File PHP dapat berisi teks, HTML, CSS, Javascript atau kode PHP dan dieksekusi di server. PHP mampu membuat halaman web menjadi dinamis, mengolah data form, berinteraksi dengan basis data, dan mengirim serta m
1. 3SC4 PNJ – Q5 Dudy Fathan Ali S.Kom
XML DOM
3SC4 PNJ – Q5
Dudy Fathan Ali, S.Kom (DFA)
2014
CEP - CCIT
Fakultas Teknik Universitas Indonesia
2. XML DOM?
3SC4 PNJ – Q5 Dudy Fathan Ali S.Kom
"The W3C Document Object Model (DOM) is a
platform and language-neutral interface that allows
programs and scripts to dynamically access and update
the content, structure, and style of a document."
• DOM = Document Object Model
• Standard Object Model for XML
• Standard Programming Interface for XML
• Platform- and Language- Independent
• W3C Standard
The XML DOM is a standard for how to get, change, add, or
delete XML elements.
3. XML DOM Nodes
3SC4 PNJ – Q5 Dudy Fathan Ali S.Kom
Merujuk kepada Document Object Model, maka semua
yang ada pada XML adalah Node.
• Dokumen XML adalah Document Node.
• Setiap elemen XML adalah Element Node.
• Setiap text pada XML adalah Text Node.
• Setiap atribut pada XML adalah Attribute Node.
• Setiap komentar adalah Comment Node.
4. XML DOM Nodes
3SC4 PNJ – Q5 Dudy Fathan Ali S.Kom
• Root Node pada kode XML diatas adalah <pegawai>. Semua node yang
lain adalah bagian dari Root Node.
• Root Node memiliki 4 node lain yaitu <idpegawai>, <nama>, <alamat>
yang mana setiap node tersebut memiliki 1 Text Node.
• P001, Andini, dan Jakarta merupakan Text Node dan bukan merupakan
value dari setiap Element Node yang ada.
5. XML DOM Node Tree
3SC4 PNJ – Q5 Dudy Fathan Ali S.Kom
• XML DOM membaca XML Dokumen dalam bentuk Tree Structure yang
biasa disebut sebagai Node Tree.
• Semua node bisa dibaca dan dimodifikasi bahkan bisa ditambahkan lewat
Node Tree.
• Semua node didalam Node Tree memiliki relasi kepada node yang lain.
Beberapa contoh relasinya adalah : Parent, Child, dan Siblings.
6. XML DOM Node Tree
3SC4 PNJ – Q5 Dudy Fathan Ali S.Kom
Root Element
<pegawai>
Element
<idpegawai>
Element
<nama>
Element
<alamat>
Parent Node
firstChild
lastChild
nextSibling
previousSibling
childNodes
and leafNodes
• Node paling atas adalah Root Node
• Setiap node memiliki parent
(kecuali Root Node)
• Node bisa memiliki sejumlah Child
Node
• Leaf Node adalah node yang tidak
memiliki Child Node
• Siblings adalah Node dengan Parent
yang sama.
7. XML DOM Parser
3SC4 PNJ – Q5 Dudy Fathan Ali S.Kom
• Setiap browser biasanya memiliki XML Parser yang memungkinkan browser
untuk membaca dan memanipulasi XML Dokumen
• XML parser mengubah XML menjadi XML DOM Object yang bisa diakses
dengan Javascript, PHP, atau bahasa lainnya
• XML DOM hanya berjalan pada browser IE, jika anda menggunakan Firefox
gunakanlah method XHttpRequest()
Perhatikan kode berikut …
9. XML HTTP Request
3SC4 PNJ – Q5 Dudy Fathan Ali S.Kom
Jika menggunakan browser Firefox, maka bisa menggunakan method
XMLHttpRequest untuk load XML dan XSL kedalam HTML Document
10. 3SC4 PNJ – Q5 Dudy Fathan Ali S.Kom
Terima Kasih
Dudy Fathan Ali S.Kom
dudy.fathan@eng.ui.ac.id