All Topics  
Top-down and bottom-up design

 

   Email Print
   Bookmark   Link






 

Top-down and bottom-up design



 
 
Top-down and bottom-up are strategies
Strategy

A strategy is a plan of action designed to achieve a particular Objective .Strategy is different from Tactic . In military terms, tactics is concerned with the conduct of an engagement while strategy is concerned with how different engagements are linked....
 of information processing
Information processing

Information processing is the change of information in any manner detectable by an observation. As such, it is a Process which describes everything which happens in the universe, from the falling of a rock to the printing of a text file from a digital computer system....
 and knowledge
Knowledge

Knowledge is defined in the Oxford English Dictionary as expertise, and skills acquired by a person through experience or education; the theoretical or practical understanding of a subject, what is known in a particular field or in total; facts and information or awareness or familiarity gained by experience of a fact or situation....
 ordering, mostly involving software, but also other humanistic and scientific theories (see systemics
Systemics

Systemics is the emerging branch of science that studies holistic systems. It tries to develop logical, mathematical, engineering and philosophical paradigms and frameworks in which physical, technological, biological, social, cognitive and metaphysics systems can be studied and developed....
). In practice, they can be seen as a style of thinking and teaching. In many cases top-down is used as a synonym
Synonym

Synonyms are different words with identical or very similar meanings. Words that are synonyms are said to be synonymous, and the state of being a synonym is called synonymy....
 of analysis
Analysis

Analysis is the process of breaking a Complexity or substance into smaller parts to gain a better understanding of it. The technique has been applied in the study of mathematics and logic since before Aristotle, though analysis as a formal concept is a relatively recent development....
 or decomposition
Decomposition (disambiguation)

Decomposition may refer to the following:* Decomposition, biological process through which organic material is reduced* Chemical decomposition or analysis, in chemistry, is the fragmentation of a chemical compound into elements or smaller compounds...
, and bottom-up of synthesis
Synthesis

The term synthesis is used in many fields, usually to mean a process which combines together two or more pre-existing elements resulting in the formation of something new....
.

A top-down approach is essentially breaking down a system to gain insight into its compositional sub-systems. In a top-down approach an overview of the system is first formulated, specifying but not detailing any first-level subsystems. Each subsystem is then refined in yet greater detail, sometimes in many additional subsystem levels, until the entire specification is reduced to base elements.






Discussion
Ask a question about 'Top-down and bottom-up design'
Start a new discussion about 'Top-down and bottom-up design'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Top-down and bottom-up are strategies
Strategy

A strategy is a plan of action designed to achieve a particular Objective .Strategy is different from Tactic . In military terms, tactics is concerned with the conduct of an engagement while strategy is concerned with how different engagements are linked....
 of information processing
Information processing

Information processing is the change of information in any manner detectable by an observation. As such, it is a Process which describes everything which happens in the universe, from the falling of a rock to the printing of a text file from a digital computer system....
 and knowledge
Knowledge

Knowledge is defined in the Oxford English Dictionary as expertise, and skills acquired by a person through experience or education; the theoretical or practical understanding of a subject, what is known in a particular field or in total; facts and information or awareness or familiarity gained by experience of a fact or situation....
 ordering, mostly involving software, but also other humanistic and scientific theories (see systemics
Systemics

Systemics is the emerging branch of science that studies holistic systems. It tries to develop logical, mathematical, engineering and philosophical paradigms and frameworks in which physical, technological, biological, social, cognitive and metaphysics systems can be studied and developed....
). In practice, they can be seen as a style of thinking and teaching. In many cases top-down is used as a synonym
Synonym

Synonyms are different words with identical or very similar meanings. Words that are synonyms are said to be synonymous, and the state of being a synonym is called synonymy....
 of analysis
Analysis

Analysis is the process of breaking a Complexity or substance into smaller parts to gain a better understanding of it. The technique has been applied in the study of mathematics and logic since before Aristotle, though analysis as a formal concept is a relatively recent development....
 or decomposition
Decomposition (disambiguation)

Decomposition may refer to the following:* Decomposition, biological process through which organic material is reduced* Chemical decomposition or analysis, in chemistry, is the fragmentation of a chemical compound into elements or smaller compounds...
, and bottom-up of synthesis
Synthesis

The term synthesis is used in many fields, usually to mean a process which combines together two or more pre-existing elements resulting in the formation of something new....
.

A top-down approach is essentially breaking down a system to gain insight into its compositional sub-systems. In a top-down approach an overview of the system is first formulated, specifying but not detailing any first-level subsystems. Each subsystem is then refined in yet greater detail, sometimes in many additional subsystem levels, until the entire specification is reduced to base elements. A top-down model is often specified with the assistance of "black boxes" that make it easier to manipulate. However, black boxes may fail to elucidate elementary mechanisms or be detailed enough to realistically validate the model.

A bottom-up approach is piecing together systems to give rise to grander systems, thus making the original systems sub-systems of the emergent system. In a bottom-up approach the individual base elements of the system are first specified in great detail. These elements are then linked together to form larger subsystems, which then in turn are linked, sometimes in many levels, until a complete top-level system is formed. This strategy often resembles a "seed" model, whereby the beginnings are small but eventually grow in complexity and completeness. However, "organic strategies" may result in a tangle of elements and subsystems, developed in isolation and subject to local optimization as opposed to meeting a global purpose.

Computer science


Software development


Part of this section is from the Perl Design Patterns Book
Perl Design Patterns Book

Perl Design Patterns Book is an online textbook about Perl style and design and analysis. The contents are licensed under GNU Free Documentation License....
.


In the software development process
Software development process

A software development process is a structure imposed on the development of a software product. Synonyms include Software_Lifecycle_Processes and software process....
, the top-down and bottom-up approaches play a key role.

Top-down approaches emphasize planning and a complete understanding of the system. It is inherent that no coding can begin until a sufficient level of detail has been reached in the design of at least some part of the system. The Top-Down Approach is done by attaching the stubs in place of the module. This, however, delays testing of the ultimate functional units of a system until significant design is complete. Bottom-up emphasizes coding and early testing, which can begin as soon as the first module has been specified. This approach, however, runs the risk that modules may be coded without having a clear idea of how they link to other parts of the system, and that such linking may not be as easy as first thought. Re-usability of code is one of the main benefits of the bottom-up approach.

Top-down design was promoted in the 1970s by IBM
IBM

International Business Machines Corporation, abbreviated IBM and nicknamed "Big Blue" , is a multinational corporation computer technology and consulting corporation headquartered in Armonk, New York, New York, United States....
 researcher Harlan Mills
Harlan Mills

Harlan D. Mills was Professor of Computer Science at the Florida Institute of Technology and founder of Software Engineering Technology, Inc. of Vero Beach, Florida ....
 and Niklaus Wirth
Niklaus Wirth

Niklaus Emil Wirth is a Switzerland computer science, best known for designing several programming languages, including Pascal , and for pioneering several classic topics in software engineering....
. Mills developed structured programming
Structured programming

Structured programming can be seen as a subset or subdiscipline of procedural programming, one of the major programming paradigms. It is most famous for removing or reducing reliance on the GOTO Statement ....
 concepts for practical use and tested them in a 1969 project to automate the New York Times
The New York Times

The New York Times is an American daily newspaper published in New York City. The largest metropolitan newspaper in the United States, "The Gray Lady"?named for its staid appearance and style?is regarded as a national newspaper of record....
 morgue index. The engineering and management success of this project led to the spread of the top-down approach through IBM and the rest of the computer industry. Among other achievements, Niklaus Wirth, the developer of Pascal programming language, wrote the influential paper Program Development by Stepwise Refinement. Since Niklaus Wirth went on to develop languages such as Modula and Oberon (where one could define a module before knowing about the entire program specification), one can infer that top down programming was not strictly what he promoted. Top-down methods were favored in software engineering
Software engineering

Software engineering is the application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software, and the study of these approaches....
 until the late 1980s, and object-oriented programming
Object-oriented programming

Object-oriented programming is a programming paradigm that uses "Object_" and their interactions to design applications and computer programs....
 assisted in demonstrating the idea that both aspects of top-down and bottom-up programming could be utilized.

Modern software design approaches usually combine both top-down and bottom-up approaches. Although an understanding of the complete system is usually considered necessary for good design, leading theoretically to a top-down approach, most software projects attempt to make use of existing code to some degree. Pre-existing modules give designs a bottom-up flavour. Some design approaches also use an approach where a partially-functional system is designed and coded to completion, and this system is then expanded to fulfill all the requirements for the project.

Programming


Top-down programming is a programming style, the mainstay of traditional procedural languages, in which design begins by specifying complex pieces and then dividing them into successively smaller pieces. Eventually, the components are specific enough to be coded and the program is written. This is the exact opposite of the bottom-up programming approach which is common in object-oriented languages such as C++ or Java.

The technique for writing a program using top-down methods is to write a main procedure that names all the major functions it will need. Later, the programming team looks at the requirements of each of those functions and the process is repeated. These compartmentalized sub-routines eventually will perform actions so simple they can be easily and concisely coded. When all the various sub-routines have been coded the program is done.

By defining how the application comes together at a high level, lower level work can be self-contained. By defining how the lower level objects are expected to integrate into a higher level object, interfaces become clearly defined.

Advantages of top-down programming
  • Separating the low level work from the higher level objects leads to a modular design.
  • Modular design means development can be self contained.
  • Having "skeleton" code illustrates clearly how low level modules integrate.
  • Fewer operations errors (to reduce errors, because each module has to be processed separately, so programmers get large amount of time for processing).
  • Much less time consuming (each programmer is only involved in a part of the big project).
  • Very optimized way of processing (each programmer has to apply their own knowledge and experience to their parts (modules), so the project will become an optimized one).
  • Easy to maintain (if an error occurs in the output, it is easy to identify the errors generated from which module of the entire program).


Disadvantages of top-down programming
  • Functionality either needs to be inserted into low level objects by making them return "canned answers"—manually constructed objects, similar to what you would specify if you were mocking them in a test, or otherwise functionality will be lacking until development of low level objects is complete.


Bottom-up approach

In a bottom-up approach the individual base elements of the system are first specified in great detail. These elements are then linked together to form larger subsystems, which then in turn are linked, sometimes in many levels, until a complete top-level system is formed. This strategy often resembles a "seed" model, whereby the beginnings are small, but eventually grow in complexity and completeness.

Object-oriented programming (OOP) is a programming paradigm that uses "objects" to design applications and computer programs.

In Mechanical Engineering with software programs such as Pro/ENGINEER and Solidworks users can design products as pieces not part of the whole and later add those pieces together to form assemblies like building LEGOS. Engineers call this piece part design.

This bottom-up approach has one weakness. We need to use a lot of intuition to decide the functionality that is to be provided by the module. If a system is to be built from existing system, this approach is more suitable as it starts from some existing modules.

Parsing


Parsing
Parsing

In computer science and linguistics, parsing, or, more formally, syntactic analysis, is the process of analyzing a sequence of lexical analysis#Token to determine their grammatical structure with respect to a given formal grammar....
 is the process of analyzing an input sequence (such as that read from a file or a keyboard) in order to determine its grammatical structure. This method is used in the analysis of both natural language
Natural language

In the philosophy of language, a natural language is a language that is spoken, Sign language, or writing by humans for general-purpose communication, as distinguished from formal languages and from constructed languages....
s and computer languages, as in a compiler
Compiler

A compiler is a computer program that transforms source code written in a programming language into another computer language . The most common reason for wanting to transform source code is to create an executable program....
.

Bottom-up parsing is a strategy for analyzing unknown data relationships that attempts to identify the most fundamental units first, and then to infer higher-order structures from them. Top-down parsers, on the other hand, hypothesize general parse tree
Parse tree

A parse tree or concrete syntax tree is an tree that represents the syntax structure of a string according to some formal grammar. In a parse tree, the interior nodes are labeled by nonterminals of the grammar, while the leaf nodes are labeled by terminal symbol of the grammar....
 structures and then consider whether the known fundamental structures are compatible with the hypothesis. See Top-down parsing
Top-down parsing

Top-down parsing is a strategy of analyzing unknown data relationships by hypothesizing general parse tree structures and then considering whether the known fundamental structures are compatible with the hypothesis....
 and Bottom-up parsing
Bottom-up parsing

Bottom-up parsing is a strategy for analyzing unknown data relationships that attempts to identify the most fundamental units first, and then to infer higher-order structures from them....
.

Nanotechnology


Top-down and bottom-up are two approaches for the manufacture of products. These terms were first applied to the field of nanotechnology by the Foresight Institute
Foresight Institute

The Foresight Nanotech Institute is a Palo Alto, California-based nonprofit organization for increasing awareness about the uses and consequences of molecular nanotechnology....
 in 1989 in order to distinguish between molecular manufacturing (to mass-produce large atomically precise objects) and conventional manufacturing (which can mass-produce large objects that are not atomically precise). Bottom-up approaches seek to have smaller (usually molecular
Molecule

In chemistry, a molecule is defined as a sufficiently stable, electric charge neutral group of at least two atoms in a definite arrangement held together by very strong chemical bonds....
) components built up into more complex assemblies, while top-down approaches seek to create nanoscale devices by using larger, externally-controlled ones to direct their assembly.

The top-down approach often uses the traditional workshop or microfabrication methods where externally-controlled tools are used to cut, mill, and shape materials into the desired shape and order. Micropatterning techniques, such as photolithography
Photolithography

Photolithography is a process used in microfabrication to selectively remove parts of a thin film . It uses light to transfer a geometric pattern from a photomask to a light-sensitive chemical on the substrate....
 and inkjet printing belong to this category. Bottom-up approaches, in contrast, use the chemical
Chemistry

Chemistry is the science concerned with the composition, structure, and properties of matter, as well as the changes it undergoes during chemical reactions....
 properties of single molecules to cause single-molecule components to (a) self-organize or self-assemble into some useful conformation, or (b) rely on positional assembly. These approaches utilize the concepts of molecular self-assembly
Molecular self-assembly

Molecular self-assembly is the process by which molecules adopt a defined arrangement without guidance or management from an outside source. There are two types of self-assembly, intramolecular self-assembly and intermolecular self-assembly....
 and/or molecular recognition
Molecular recognition

The term molecular recognition refers to the specific interaction between two or more molecules through noncovalent bonding such as including hydrogen bonding, metal coordination, hydrophobic effect, van der Waals forces, pi-pi interactions, electrostatic and/or electromagnetic effects....
. See also Supramolecular chemistry
Supramolecular chemistry

Supramolecular chemistry refers to the area of chemistry beyond the molecules focuses on the chemical systems made up of a discrete number of assembled molecular subunits or components....
.

Such bottom-up approaches should, broadly speaking, be able to produce devices in parallel and much cheaper than top-down methods, but could potentially be overwhelmed as the size and complexity of the desired assembly increases.

Neuroscience and psychology


These terms are also employed in neuroscience
Neuroscience

Neuroscience is a field devoted to the scientific study of the nervous system. The Society for Neuroscience was founded in 1969, but the study of the brain started a long time ago....
 and psychology
Psychology

Psychology is an academic and applied science discipline involving the science study of human mental functions and behavior. Occasionally it also relies on symbolic hermeneutics and critical theory, although these traditions are less pronounced than in other social sciences such as sociology....
. The study of visual attention
Attention

Attention is the cognitive process of selectively concentrating on one aspect of the environment while ignoring other things. Examples include listening carefully to what someone is saying while ignoring other conversations in a room or listening to a cell phone conversation while driving a car....
 provides an example. If your attention is drawn to a flower in a field, it may be simply that the flower is more visually salient than the surrounding field. The information that caused you to attend to the flower came to you in a bottom-up fashion — your attention was not contingent upon knowledge of the flower; the outside stimulus was sufficient on its own.

Contrast this situation with one in which you are looking for a flower. You have a representation of what you are looking for. When you see the object you are looking for, it is salient. This is an example of the use of top-down information.

In cognitive terms, two thinking approaches are distinguished. "Top down" (or "big chunk") is stereotypically the visionary, or the person who sees the larger picture and overview. Such people focus on the big picture and from that derive the details to support it. "Bottom up" (or "small chunk") cognition is akin to focusing on the detail primarily, rather than the landscape. The expression "seeing the wood for the trees" references the two styles of cognition.

Management and organization

In management and organizational arenas, the terms "top down" and "bottom up" are used to indicate how decisions are made.

A "top down" approach is one where an executive, decision maker, or other person or body makes a decision. This approach is disseminated under their authority to lower levels in the hierarchy, who are, to a greater or lesser extent, bound by them. For example, a structure in which decisions either are approved by a manager, or approved by his authorised representatives based on the manager's prior guidelines, is top-down management.

A "bottom up" approach is one that works from the grassroots
Grassroots

A grassroots movement is one driven by the constituent of a community. The term implies that the creation of the movement and the group supporting it is natural and spontaneous, highlighting the differences between this and a movement that is orchestrated by traditional power structures....
 — from a large number of people working together, causing a decision to arise from their joint involvement. A decision by a number of activists, students, or victims of some incident to take action is a "bottom-up" decision.

Positive aspects of top-down approaches include their efficiency and superb overview of higher levels. Also, external effects can be internalized. On the negative side, if reforms are perceived to be imposed ‘from above’, it can be difficult for lower levels to accept them (e.g. Bresser Pereira, Maravall, and Przeworski 1993). Evidence suggests this to be true regardless of the content of reforms (e.g. Dubois 2002). A bottom-up approach allows for more experimentation and a better feeling for what is needed at the bottom.

State organization

Both approaches can be found in the organization of states, this involving political decisions.

In bottom-up organized organizations, e.g. ministries and their subordinate entities, decisions are prepared by experts in their fields, which define, out of their expertise, the policy they deem necessary. If they cannot agree, even on a compromise, they escalate the problem to the next higher hierarchy level, where a decision would be sought. Finally, the highest common principal might have to take the decision. Information is in the debt of the inferior to the superior, which means that the inferior owes information to the superior. In the effect, as soon as inferiors agree, the head of the organization only provides his “face? for the decision which his inferiors have agreed upon.

Amongst several countries, the German
Germany

Germany , officially the Federal Republic of Germany , is a country in Central Europe. It is bordered to the north by the North Sea, Denmark, and the Baltic Sea; to the east by Poland and the Czech Republic; to the south by Austria and Switzerland; and to the west by France, Luxembourg, Belgium, and the Netherlands....
 political system provides one of the purest forms of a bottom-up approach. The German Federal Act on the Public Service provides that any inferior has to consult and support any superiors, that he or she – only – has to follow “general guidelines" of the superiors, and that he or she would have to be fully responsible for any own act in office, and would have to follow a specific, formal complaint procedure if in doubt of the legality of an order . Frequently, German politicians had to leave office on the allegation that they took wrong decisions because of their resistance to inferior experts' opinions (this commonly being called to be “beratungsresistent", or resistant to consultation, in German). The historical foundation of this approach lies with the fact that, in the 19th century, many politicians used to be noblemen without appropriate education, who more and more became forced to rely on consultation of educated experts, which (in particular after the Prussian reforms of Stein and Hardenberg) enjoyed the status of financially and personally independent, indismissable, and neutral experts as Beamte (public servants under public law).

A similar approach can be found in British police
Police

Police are agents or agencies, usually of the executive , empowered to enforce the law and to ensure public and social order through the legitimized use of force....
 laws, where entitlements of police constables are vested in the constable in person and not in the police as an administrative agency, this leading to the single constable being fully responsible for his or her own acts in office, in particular their legality. The experience of two dictatorships in the country and, after the end of such regimes, emerging calls for the legal responsibility of the “aidees of the aidees" (Helfershelfer) of such regimes also furnished calls for the principle of personal responsibility of any expert for any decision made, this leading to a strengthening of the bottom-up approach, which requires maximum responsibility of the superiors.

In the opposite, the French
France

France , officially the French Republic , is a country whose Metropolitan France is located in Western Europe and that also comprises various Overseas departments and territories of France....
 administration is based on a top-down approach, where regular public servants enjoy no other task than simply to execute decisions made by their superiors. As those superiors also require consultation, this consultation is provided by members of a cabinet, which is distinctive from the regular minstry staff in terms of staff and organization. Those members who are not members of the cabinet are not entitled to make any suggestions or to take any decisions of political dimension.

The advantage of the bottom-up approach is the great level of expertise provided, combined with the motivating experience of any member of the administration to be responsible and finally the independent “engine" of progress in that field of personal responsibility. A disadvantage is the lack of democratic control and transparency, this leading, from a democratic viewpoint, to the deferment of actual power of policy-making to faceless, if even unknown, public servants. Even the fact that certain politicians might “provide their face" to the actual decisions of their inferiors might not mitigate this effect, but rather strong parliamentary rights of control and influence in legislative procedures (as they do exist in the example of Germany).

The advantage of the top-bottom principle is that political and administrative responsibilities are clearly distinguished from each other, and that responsibility for political failures can be clearly identified with the relevant office holder. Disadvantages are that the system triggers demotivation of inferiors, who know that their ideas to innovative approaches might not be welcome just because of their position, and that the decision-makers cannot make use of the full range of expertise which their inferiors will have collected.

Administrations in dictatorships traditionally work according to a strict top-down approach. As civil servants below the level of the political leadership are discouraged from making suggestions, they use to suffer from the lack of expertise which could be provided by the inferiors, which regularly leads to a breakdown of the system after an few decades. Modern communist state
Communist state

Communist state is a term used by many political scientists to describe a form of government in which the state operates under a single-party state and declares allegiance to Marxism-Leninism or a derivative thereof....
s, which the People's Republic of China
People's Republic of China

The People's Republic of China , commonly known as China, is the largest country in East Asia and the List of countries by population in the world with over 1.3 billion people, approximately a fifth of the world's population....
 forms an example of, therefore prefer to define a framework of permissible, or even encouraged, criticism and self-determination by inferiors, which would not affect the major state doctrine, but allows the use of professional and expertise-driven knowledge and the use of it for the decision-making persons in office.

Architectural

Often, the École des Beaux-Arts
École des Beaux-Arts

?cole des Beaux-Arts refers to a number of influential art schools in France. The most famous is the ?cole Nationale Sup?rieure des Beaux-Arts, now located on the Rive Gauche in Paris, across the Seine from the Louvre, in the 6?me arrondissement, Paris....
 school of design is said to have primarily promoted top-down design because it taught that an architectural design should begin with a parti, a basic plan drawing of the overall project.

By contrast, the Bauhaus
Bauhaus

' is the common term for the ', a school in Germany that combined crafts and the fine arts, and was famous for the approach to design that it publicized and taught....
 focused on bottom-up design. This method manifested itself in the study of translating small-scale organizational systems to a larger, more architectural scale (as with the woodpanel carving and furniture design).

Ecological


In ecology
Ecology

Ecology is the science study of the distribution and Abundance of life and the interactions between organisms and their nature environment ....
, top down control refers to when a top predator controls the structure/population dynamics of the ecosystem
Ecosystem

An ecosystem is a natural unit consisting of all plants, animals and micro-organisms in an area functioning together with all of the non-living physical factors of the environment....
. The classic example is of kelp forest ecosystems. In such ecosystems, sea otters are a keystone
Keystone species

A keystone species is a species that has a disproportionate effect on its natural environment relative to its abundance. Such species affect many other organisms in an ecosystem and help to determine the types and numbers of various others species in a community....
 predator. They prey on urchins which in turn eat kelp. When otters are removed, urchin populations grow and reduce the kelp forest creating urchin barrens. In other words, such ecosystems are not controlled by productivity of the kelp but rather a top predator.

Bottom up control in ecosystems refers to ecosystems in which the nutrient supply and productivity and type of primary producers (plants and phytoplankton) control the ecosystem structure. An example would be how plankton populations are controlled by the availability of nutrients. Plankton populations tend to be higher and more complex in areas where upwelling brings nutrients to the surface.

There are many different examples of these concepts. It is not uncommon for populations to be influenced by both types of control.

External links

  • , Communications of the ACM, Vol. 14, No. 4, April (1971)
  • . In Proceedings of The International Emergency Management Society’s Fifth Annual Conference (TIEMS 98), May 19-22, Washington DC, USA (1998).
  • , Journal of Experimental Psychology: Human Perception and Performance, Vol. 29, No. 2, 483–502,2003 Inc.
  • K. Eric Drexler and Christine Peterson, , Foresight Briefing #2, 1989.