Document Details

FervidAntigorite5438

Uploaded by FervidAntigorite5438

Tags

XML markup languages hypertext web content

Summary

This document is a reviewer for IPT2 finals, discussing concepts related to Hypertext Markup Language (HTML) and Standard Generalized Markup Language (SGML). It introduces key concepts like attributes, extensible markup language, and well-formed documents in XML.

Full Transcript

Hypertext Markup Language Standard Generalized Mark-up Language - It is the de facto standard for publishing - It is the meta-language for defining Web content, with an SGML vocabulary document markup language,...

Hypertext Markup Language Standard Generalized Mark-up Language - It is the de facto standard for publishing - It is the meta-language for defining Web content, with an SGML vocabulary document markup language, grandfather of the markup languages. Attributes Self-Definable Tags - It provides additional information about an element - What kind of tags does XML document use in an hierarchical data structure? Extensible Markup Language Comments - It is a flexible way to organize and store data so that it can be shared across - It is notes in the XML file that are different applications. ignored by XML processors, helpful for adding explanations Text XML 1.0 - It is located between the opening and closing tags of an element, and usually - It is the specification that describes the represents the actual data. syntax for XML documents (elements and attributes). Entities XML Schema - They are character that cannot be typed directly - It describes the structure of an XML document, next generation of data Prefix validation formats. - It is declared for each namespace used Validation within a document - It is an XML syntax rules that are Well Formed described and enforced through a - XML document with correct syntax is process called ______. called ______ XML Declaration Markup Languages - It informs the XML software of the - It is a sequence of characters within a version of XML the document conforms text or word processing file to define to, usually placed at the start of the XML software Extensibility Namespaces - One of the pillar of XML where it means that any data that can be described as - It prevents naming conflicts when text and that can be nested in XML tags combining different XML vocabularies will be generally accepted as XML. by grouping related tags under a unique identifier. Document Type Definitions (DTD) - It defines the logical structure and sections of XML Documents True HTTP POST - XML is a simplified subset of SGML. And - It is how REST works with HTTP to send it retains the powerful features of SGML new data - Attribute name must follow an element Uniform Resource Identifier (URL) name, then an equals sign (=), then the attribute value, in single or double - It is what called where each resource in quotes. a RESTful system has its own - XML shall be straightforwardly usable over the Internet, and the number of ROY FIELDING optional features in XML is to be kept to - He is the one who introduced REST in the absolute minimum, ideally zero the doctoral dissertation - An XML document validated against a DTD is both "Well Formed" and "Valid" HTTP DELETE - Schemas are formatted in XML. Also - It is how REST works with HTTP to referred to as XML Schema Definition remove data (XSD) HTTP GET False - It is how REST works with HTTP to - Element names can start with a letter, retrieve information underscore, or colon, non-alphabetic characters or a number, or the letters HTTP PUT xml. - It is how REST works with HTTP to - XML DTD are more powerful than XML update existing data schemas in terms of supporting data types and supporting namespaces. NOUNS - XML Declaration required at least two - It is the main concept of REST where it elements with opening and closing tags. is unconstrained (resources i.e., - A DTD does not defines the structure https://example.com) and the legal elements and attributes of an XML document not like Schema VERBS which defines the structure of XML document - It is the main concept of REST where it - There are 5 different elements content is uconstrained i.e., GET) types namely data content, element REPRESENTATIONS content, attribute content, mixed content and empty element - It is the main concept of REST where it is uconstrained i.e., XML) REPRESENTATIONAL STATE TRANSFER Data - It is a style of software architecture for distributed hypermedia systems such as - This includes the resources (the actual the World Wide Web data or content, like a document or an image) and its representation (the format of the resource, like HTML or JSON). Interconnected Resource Representations Cache - It is a characteristic of REST based on - It is a characteristic of REST based on network that the representations of the network to improve network efficiency, resources are interconnected using responses must be capable of being URLs, thereby enabling a client to labeled as cacheable or non-cacheable. progress from one state to another. Connectors REST - They link components, like how a client - It is a set of architectural principles that connects to a server to make requests define how resources are identified, and receive responses. addressed, and manipulated over a PowerShell network, typically using HTTP protocols. - It is used for automating the Stateless management of systems where it is - It is a characteristic of REST based on built on the.NET Common Language network that each request from client Runtime (CLR) to server must contain all the PowerShell DSC information necessary to understand the request, and cannot take advantage - It is a management framework in of any stored context on the server. PowerShell that enables you to manage your enterprise infrastructure with Client-Server configuration as code. - It is a characteristic of REST based on PowerShell Console network that pull-based interaction style where they request data from - It is a PowerShell application similar to servers as and when needed the Command Prompt. Uniform Interface CMDLETS - It is a characteristic of REST based on - They are compiled code that are network that all resources are accessed available to the PowerShell with a generic interface. environment. Components Get-Process - These are the building blocks of the - the command is used to list all the system, like proxies, gateways, clients, process running in the machine? and servers. ps1 Named Resources - extension file for the scripts of the - It is a characteristic of REST based on PowerShell to run the scripts network that the system is comprised of resources which are named using a URL. Alias - It is an alternative name assigned to a cmdlet. Whatif - PowerShell Providers are.NET programs that allow us to work with data stores - It is a common parameter where it is as if they were mounted drive not actually executed, provides - Write-Output” command is used to information about “what would print the variables or strings on the happen” if executed. console. $ - In the parameter ErrorAction it instructs cmdlet to perform an action when - In Windows PowerShell, the name of a errors occur. Such as: continue, stop, variable starts with what sign silently continue, and inquire Concatenation - It is important to find information quickly and easily. Get-Help cmdlet has - operator can we use to join two strings been designed for that purpose together False Format-Table - An alias is a name where in you put it - displays fomat the data in rows and before the value of your data type column - PowerShell Providers makes it difficult Get-Member to access external data outside the PowerShell environment - It is an command that helps to identify - Int data type in PowerShell is an 8-bit all the properties & methods exist in a signed integer. cmdlets - There are three ways to execute the PowerShell scripts, there is the windows Echo PowerShell cmdlets, integrated scripting - the command that is used to print the environment of the PowerShell and the variables or strings on the console command prompt. - PowerShell commands have been Arithmetic standardized using a "noun-verb" - operator do we use to get a specified naming convention. value of two number to the variable PowerShell Pipeline XSLT Tag Analyzation - It allows us to join two or more : Defining statements with a pipe symbol, reusable templates sometimes called the '|' bar key. : Extracting text True : Iterating - PowerShell enables interactivity over nodes between products, and you can use with PowerShell commands to manage your and domains : Conditional logic Mouse 20 50 Ex: The root element that declares the document to be an XSL style sheet is or. 101 Jane Doe BSc Computer Science 102 XML Creation John Smith Ex: BSc Information Technology Learning XML John Doe \ Ex: Ex: #!/bin/bash for i in 1 2 3 4 5; do echo "Number: $i" Laptop 1200 done Ex: What does this script do? (Answer: Prints #!/bin/bash "Number: 1", "Number: 2",..., "Number: 5" echo "Starting backup" cp /important/files /backup ex: echo "Backup complete" #!/bin/bash Question: Identify errors in this script. for file in *.log; do Answer: Missing -r option for copying echo "Archiving $file" directories; use cp -r. mv $file backup/ done What happens if there are no.log files? (Answer: It does nothing because the wildcard matches no files.) Ex: #!/bin/bash read -p "Enter a number: " num if [ $num -gt 10 ]; then echo "The number is greater than 10." else echo "The number is 10 or less." Fi What does the script output if you enter 8? (Answer: "The number is 10 or less.")

Use Quizgecko on...
Browser
Browser