Hook (data-processing)

In an IT solution, a hook (literally hook or hook) makes it possible to launch a personalized program at the exact moment when the main program with the task to carry out it. Without action of the user, the hook is generally empty and the application turns in a standard way.

Technically, a hook can be appeared as a file (for example a script Vbs) localized to a quite particular place. The main program generally imposes the characteristics of the hook: its type, its localization even its name, and the moment to which it will be carried out.

Example of hooks:

  • In Tortoise SVN, there exists several hooks allowing the execution of Batch. There exists in particular a hook pre-made and a hook post-made. It is necessary to copy the .bat in the dedicated repertory of Tortoise. They then will be automatically carried out by Tortoise. In this case, the localization, the name and the type of file are imposed. However, it is completely possible, since the batch, to call other programs.
  • In UltraBackup, the graphical interface makes it possible to point on programs which will be launched before or after the copy. In this case, the user has a total freedom on the type of file to call, his name and his localization.

Random links:Ianthé (Océanide) | Tramolé | Metastasis (Iannis Xenakis) | Soft night | Peter Pláteník | Johnny_Rod