Notes on Sections 2.1-

Download Report

Transcript Notes on Sections 2.1-

Other Languages
Computer Technology Series
Gerb
Scripting Languages
• C++ and Java perform well for building large programs
that work by themselves.
• They are hard to use to write small programs or
programs that tie other programs together.
• Scripting languages perform this task.
– Originally each operating system had its own scripting
language
– In the 1980s, PERL was written as a multi-platform scripting
language
– In the 1990s, PYTHON became the first object-oriented
scripting language
– Scripting languages use an interpreter instead of a compiler
since speed is usually not an issue.
Markup Languages
• Markup languages assign properties to portions
of text. Text can have one or more tags
assigned to it.
• Hypertext Markup Language (HTML) was
used to specify how things appear in a web
browser.
– HTML tags typically tell how text is to be
displayed.
XML
• Extended Markup Language (XML) is newer than
HTML.
• In XML, tags do more than specify how text is to
be displayed.
– Tags contain information about what the text means.
– E.g. might have a <name> tag that tells the browser that
text signifies a persons name.
• Microsoft’s .net technology makes use of XML to
communicate between programs.