Chapter 1. Coding Principles
“Real” programming languages can collect data from users and from sources such as files and databases and provide outputs based on the processing of those inputs. Using this definition, XHTML and CSS aren’t real programming languages; they serve as data inputs that your browser uses to determine what to display, but they can’t vary their responses based on user input.
The key attribute of a programming language is the ability to perform tests on data and then vary its output depending on what that data is. A good example of this is a login where the code checks the supplied password against ...
Get Codin’ for the Web: A Designer’s Guide to Developing Dynamic Web Sites now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.