| Lesson 2 || Using programming languages to create Web applications |
| Objective || Describe how programming languages are used to develop Web sites. |
Using Programming Languages to create Web Apps
Programming languages define the logic computers use to act on data. The data can come from a user or from a database. The logic is the computer's instructions for performing specific operations. Different programming languages support different functions.
Programming languages include:
- Procedural languages
- Object-oriented languages
- Data manipulation languages (DMLs)
- Scripting languages
- Markup languages
Procedural and object-oriented languages
Procedural and object-oriented languages are used for writing programs and application program interfaces (or APIs). An API is a standard interface between an application and other applications or scripts that interact with that application.
The API must be written in the language supported by the server, typically C or C++. An API also can be provided by the server vendor. In that case, the API is proprietary and developers would write code that specifically supports the API.
, such as C, Visual Basic, and FORTRAN, support logic, math, and animation. Although difficult to learn,
, such as C++, Java, and Smalltalk support complex or distributed applications, as well as reusable objects.
Data manipulation languages
Data manipulation languages (DMLs)
are used to construct the physical data components of a database and to perform queries and updates.
Structured Query Language (SQL) is a common standardized database language. SQL code can be executed on a database server.
A scripting language is based on a host language that uses a simplified command method with reduced functionality to accomplish basic functions, such as form handling and text processing.
Markup languages describe how text is to be displayed on a Web page. In a markup language, the instructions are in a set of tags or special characters.
Markup languages do not provide interactive functionality. They serve as containers for text and graphics.
SGML, HTML, DHTML, and XML
are multiplatform, standardized markup languages that display complex hypertext and can be read by humans.
In the next lesson, you will learn about the purpose of client-side scripts and applets.
Programming language used for writing application program interfaces. Procedural languages, such as C, VB, and FORTRAN support logic, math, and animation.
Programming language, such as C++ and Java, used to support complex or distributed applications and reusable objects.
Data manipulation language (DML):
Programming language used to construct the physical data components of a database and to perform queries and updates.