What is hook? - Definition from WhatIs.com
Part of the Programming glossary:

In programming, a hook is a place and usually an interface provided in packaged code that allows a programmer to insert customized programming. For example, a programmer might want to provide code that analyzed how often a particular logic path was taken within a program. Or a progammer might want to insert an additional capability. Typically, hooks are provided for a stated purpose and are documented for the programmer.

Some writers use hook to also mean the program that gets inserted.

This was last updated in March 2008
Contributor(s): Fabio Marques Ferreira
Posted by: Margaret Rouse

Related Terms

Definitions

Glossaries

  • Programming

    - Terms related to software programming, including definitions about programming languages and words and phrases about software design, coding, testing and debugging.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.