XML & AJAX Khaled Al-Sham’aa. XML The Extensible Markup Language (XML) is a general-purpose...
-
Upload
julianna-watson -
Category
Documents
-
view
225 -
download
0
Transcript of XML & AJAX Khaled Al-Sham’aa. XML The Extensible Markup Language (XML) is a general-purpose...
XML & AJAXKhaled Al-Sham’aa
XML
• The Extensible Markup Language (XML) is a general-purpose specification for creating custom markup languages. It is classified as an extensible language because it allows its users to define their own elements. Its primary purpose is to help information systems share structured data, particularly via the Internet.
SimpleXML
• The SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators.
SimpleXML (read)
SimpleXML (read) con.
SimpleXML (write)
SimpleXML (loop)
SimpleXML (loop) con.
SimpleXML (loop) con.
SimpleXML (attributes)
SimpleXML (attributes) con.
SimpleXML (xpath)
SimpleXML (xpath) con.
SimpleXML (xpath) con.
AJAX
• AJAX (asynchronous JavaScript and XML) is a group of interrelated web development techniques used for creating interactive web applications or rich Internet applications. With Ajax, web applications can retrieve data from the server asynchronously in the background without interfering with the display and behavior of the existing page.
Rasmus AJAX Tutorial (1)
Rasmus AJAX Tutorial (2)
Rasmus AJAX Tutorial (3)
Prototype
• Prototype is a JavaScript Framework that aims to ease development of dynamic web applications.
• Featuring a unique, easy-to-use toolkit for class-driven development and the nicest Ajax library around, Prototype is quickly becoming the codebase of choice for web application developers everywhere.
Prototype (getting started)
http://www.prototypejs.org/
Prototype's Little Helpers
Prototype (Form Serialization)
Prototype (Insertion Object)
Questions