Principle of Least Power

Principle of Least Power

In web programming, the design principle of least power states that, given a choice among computer languages, classes of which range from descriptive to procedural, the less procedural, more descriptive the language one chooses, the more one can do with the data stored in that language.

Originally proposed as an axiom of good design, the term is an extension of the KISS principle applied to choosing among a range of languages starting with the plainly descriptive (such as the content of most databases, or HTML) though logical languages of limited propositional logic (such as access control lists), though declarative languages on the verge of being Turing Complete (PDF), through those which are in fact Turing Complete though one is led not to use them that way (XSLT, SQL) to those which are completely procedural (Java, C).

As explained by Tim Berners-Lee [cite web | authorlink = Tim Berners-Lee | author = Berners-Lee, Tim | url = http://www.w3.org/DesignIssues/Principles.html#PLP | title = Axioms of Web architecture | accessdate = 2002-01-14] :

Computer Science in the 1960s to 80s spent a lot of effort making languages which were as powerful as possible. Nowadays we have to appreciate the reasons for picking not the most powerful solution but the least powerful. The reason for this is that the less powerful the language, the more you can do with the data stored in that language. If you write it in a simple declarative form, anyone can write a program to analyze it in many ways. The Semantic Web is an attempt, largely, to map large quantities of existing data onto a common language so that the data can be analyzed in ways never dreamed of by its creators. If, for example, a web page with weather data has RDF describing that data, a user can retrieve it as a table, perhaps average it, plot it, deduce things from it in combination with other information. At the other end of the scale is the weather information portrayed by the cunning Java applet. While this might allow a very cool user interface, it cannot be analyzed at all. The search engine finding the page will have no idea of what the data is or what it is about. This the only way to find out what a Java applet means is to set it running in front of a person.

References

External links

B. Carpenter, Editor: " [ftp://ftp.isi.edu/in-notes/rfc1958.txt Architectural Principles of the Internet] " Internet Architecture Board, June 1996, RFC1958


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Principle of least effort — The principle of least effort is a broad theory that covers diverse fields from evolutionary biology to webpage design. It postulates that animals, people, even well designed machines will naturally choose the path of least resistance or effort …   Wikipedia

  • Power (communication) — Power is the ability to influence the attainment of goals of an individual or a group. Power is not a characteristic of any one individual, rather, it is defined in terms of relationships and transactions between people. Power is crucial to the… …   Wikipedia

  • Power reserve — Indicator originally called fr. Réserve de Marche is a complication of the watch, which is designed to show the amount of remaining autonomy. In its essence, the power reserve indicator shows the tension on the mainspring at any particular moment …   Wikipedia

  • Power MOSFET — A Power MOSFET is a specific type of Metal Oxide Semiconductor Field Effect Transistor (MOSFET) designed to handle large power. Compared to the other power semiconductor devices (IGBT, Thyristor...), its main advantages are high commutation speed …   Wikipedia

  • Power of attorney — For the television program, see Power of Attorney (TV show). A power of attorney (POA) or letter of attorney is a written authorization to represent or act on another s behalf in private affairs, business, or some other legal matter. The person… …   Wikipedia

  • Power supply — For the Budgie album, see Power Supply (album). A vacuum tube rackmount adjustable power supply, capable of +/ 1500 volts DC, 0 to 100mA output, with amperage limiting capability. A power supply is a device that supplies electrical energy …   Wikipedia

  • Power network — In social network theory, a power network collects many social networks to exercise common influence and power over others. Usually it describes the kind of group entity defined in political science or military science, which has a command… …   Wikipedia

  • Anthropic principle — In astrophysics and cosmology, the anthropic principle is the philosophical argument that observations of the physical Universe must be compatible with the conscious life that observes it. Some proponents of the argument reason that it explains… …   Wikipedia

  • Political power — ( imperium in Latin) is a type of power held by a group in a society which allows administration of some or all of public resources, including labour, and wealth. There are many ways to obtain possession of such power. At the nation state level… …   Wikipedia

  • Pareto principle — The Pareto principle (also known as the 80 20 rule, the law of the vital few and the principle of factor sparsity) states that, for many events, 80% of the effects come from 20% of the causes. Business management thinker Joseph M. Juran suggested …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”