Encyclopedia of Database Systems

Living Edition
| Editors: Ling Liu, M. Tamer Özsu

Snippet

  • Marcus Herzog
Living reference work entry
DOI: https://doi.org/10.1007/978-1-4899-7993-3_1171-2

Synonyms

Definition

A snippet is a chunk of reusable source code. In the context of Web programming, a snippet refers to a chunk of reusable HTML source code, along with all relevant resources such as style sheets and scripts applied within the context of the snippet. In the context of Web information extraction, a snippet is a subset of the available information items that can be extracted from the Web page.

Key Points

The term snippet originates from the domain of text editors, where snippets refer to chunks of source code which can be organized for copy-and-paste usage. Snippet management allows for viewing, editing, sorting, and storing snippets in a repository of reusable source code fragments. The overall goal of snippets is to ease the process of writing code by reducing the manual effort to type in source code and to reuse existing lines of code.

Snippets can be classified according to the complexity of the interaction process:...

Keywords

Source Code Information Item Network Home Code Fragment Text Editor 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, log in to check access.

Recommended Reading

  1. 1.
    Baumgartner R, Flesca S, Gottlob G. Visual web information extraction with lixto. In: Proceedings of the 27th International Conference on Very Large Data Bases; 2001. p. 119–28.Google Scholar

Copyright information

© Springer Science+Business Media New York 2016

Authors and Affiliations

  1. 1.Vienna University of TechnologyViennaAustria