Web Dwvelopment II
Web Dwvelopment II
XML is a software- and hardware-independent tool for storing and transporting data.
What is XML?
XML stands for eXtensible Markup Language
XML is a markup language much like HTML
XML was designed to store and transport data
XML was designed to be self-descriptive
XML is a W3C Recommendation
But still, the XML above does not DO anything. XML is just information wrapped in tags.
The tags in the example above (like <to> and <from>) are not defined in any XML standard. These tags are "invented" by the
author of the XML document.
HTML works with predefined tags like <p>, <h1>, <table>, etc.
With XML, the author must define both the tags and the document structure.
XML is Extensible
Most XML applications will work as expected even if new data is added (or removed).
Imagine an application designed to display the original version of note.xml (<to> <from> <heading> <body>).
Then imagine a newer version of note.xml with added <date> and <hour> elements, and a removed <heading>.
JavaScript
JavaScript is the world's most popular programming language.
Javascript ES6
ECMAScript 2015 was the second major revision to JavaScript.
AJAX
AJAX, or Asynchronous JavaScript and XML, is a web development technique that allows web pages to update parts of their
content without a full page reload. It achieves this by using JavaScript and the XMLHttpRequest object to exchange data
with a server in the background. This creates a more dynamic and interactive user experience.
jQuery Introduction
The purpose of jQuery is to make it much easier to use JavaScript on your website.
What is jQuery?
jQuery is a lightweight, "write less, do more", JavaScript library.
The purpose of jQuery is to make it much easier to use JavaScript on your website.
jQuery takes a lot of common tasks that require many lines of JavaScript code to accomplish, and wraps them into methods that you
can call with a single line of code.
jQuery also simplifies a lot of the complicated things from JavaScript, like AJAX calls and DOM manipulation.
HTML/DOM manipulation
CSS manipulation
HTML event methods
Effects and animations
AJAX
Utilities
Tip: In addition, jQuery has plugins for almost any task out there.
Why jQuery?
There are lots of other JavaScript libraries out there, but jQuery is probably the most popular, and also the most extendable.
Many of the biggest companies on the Web use jQuery, such as:
Google
Microsoft
IBM
Netflix
PHP
PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
What is PHP?
PHP is an acronym for "PHP: Hypertext Preprocessor"
PHP is a widely-used, open source scripting language
PHP scripts are executed on the server
PHP is free to download and use
What is a PHP File?
PHP files can contain text, HTML, CSS, JavaScript, and PHP code
PHP code is executed on the server, and the result is returned to the browser as plain HTML
PHP files have extension ".php"
With PHP you are not limited to output HTML. You can output images or PDF files. You can also output any text, such as XHTML and
XML.
HTTP
HTTP stands for Hypertext Transfer Protocol, and it's the foundation of communication between web browsers and servers,
enabling the delivery of website content. A web server is the software and hardware that uses HTTP to store, process, and
deliver website content (like HTML, images, etc.) to users.