Technopedia Center
PMB University Brochure
Faculty of Engineering and Computer Science
S1 Informatics S1 Information Systems S1 Information Technology S1 Computer Engineering S1 Electrical Engineering S1 Civil Engineering

faculty of Economics and Business
S1 Management S1 Accountancy

Faculty of Letters and Educational Sciences
S1 English literature S1 English language education S1 Mathematics education S1 Sports Education
teknopedia

teknopedia

teknopedia

teknopedia

teknopedia

teknopedia
teknopedia
teknopedia
teknopedia
teknopedia
teknopedia
  • Registerasi
  • Brosur UTI
  • Kip Scholarship Information
  • Performance
  1. Weltenzyklopädie
  2. Webhook - Teknopedia
Webhook - Teknopedia

Un Webhook (in italiano letteralmente: "gancio del web") nella programmazione web è un metodo per estendere o alterare il comportamento di una pagina web, o di un'applicazione web, con chiamate di ritorno (callback) personalizzate. Queste chiamate di ritorno o callback possono essere mantenute, modificate e gestite da utenti di terze parti e chi le sviluppa non fa necessariamente parte del sito o applicazione d'origine. Il termine fu coniato da Jeff Lindsay nel 2007 dal termine inglese della programmazione informatica hooking, che sta ad indicare una serie di tecniche usate per estendere o alterare il comportamento di un sistema operativo, di applicazioni o di componenti software, intercettando chiamate di funzione, messaggi o eventi passati tra le componenti software. Il codice che gestisce le chiamate di funzioni intercettate è chiamato invece "hook".[1]

Descrizione

[modifica | modifica wikitesto]

I webhook sono delle callback HTTP definiti dall'utente[2]. Di solito sono attivati da un evento, al fine di inviare codice su un repository[3], o pubblicare un commento su di un blog.

Quando l'evento si verifica, la fonte fa una richiesta HTTP alla URI configurata per il webhook. Gli utenti possono configurarla per scatenare eventi su un sito per invocare un comportamento su di un altro. I webhook vengono usati comunemente per scatenare l'aggiornamento di sistemi in maniera continuativa[4], o di notificare qualcosa ai sistemi di tracciatura degli errori o bug[5]. Da quando viene adottato il protocollo web HTTP possono essere integrati nei servizi web senza il bisogno di aggiungere nuove infrastrutture[6]. Comunque, esistono diversi modi per creare un servizio di coda di messaggi sopra la struttura HTTP, alcuni esempi RESTful sono IronMQ e RestMS.

Note

[modifica | modifica wikitesto]
  1. ^ Jeff Lindsay, Web hooks to revolutionize the web, su progrium.com. URL consultato il 15 giugno 2017 (archiviato dall'url originale il 26 agosto 2015).
  2. ^ What webhooks are and why you should care, su timothyfitz.com. URL consultato il 15 giugno 2017.
  3. ^ About Webhooks, su help.github.com. URL consultato il 15 giugno 2017.
  4. ^ Jenkins GitHub Commit Hooks HOWTO, su wiki.cloudbees.com (archiviato dall'url originale il 25 settembre 2015).
  5. ^ Google Project Hosting - Post-Commit Web Hooks, su code.google.com.
  6. ^ What are WebHooks and How Do They Enable a Real-time Web?, su ProgrammableWeb. URL consultato il 15 giugno 2017 (archiviato dall'url originale il 24 ottobre 2017).

Voci correlate

[modifica | modifica wikitesto]
  • Callback
  • IFTTT
  • Internet delle cose

Collegamenti esterni

[modifica | modifica wikitesto]
  • Webhook, su packages.debian.org. Modifica su Wikidata
V · D · M
Interfacce web
Lato server
ProtocolliHTTP · CGI · SCGI · FCGI · AJP · WSRP · WebSocket
API ServerC NSAPI · C ASAPI · C ISAPI · COM ASP · Java servlet · container · CLI OWIN · ASP.NET Handler · Python WSGI · Ruby Rack · JavaScript JSGI · Perl PSGI · Lua WSAPI · Portlet
ArgomentiWeb service · Open API · Webhook · Application server
Lato client
API browserC NPAPI (LiveConnect · XPConnect · C NPRuntime) · C PPAPI (NaCl) · ActiveX · BHO · XBAP
API web
W3CAudio · Canvas · CORS · DOM · DOM events · EME · File · Font Geolocation · IndexedDB · MSE · SSE · SVG · Video · WebRTC · WebSocket · Web messaging · Web storage · Web worker · XMLHttpRequest · WebAssembly
KhronosWebCL · WebGL
AltriGoogle Gears · Web SQL Database (formerly W3C) · WebUSB
ArgomentiAJAX vs. DHTML · Mashup · Web IDL · Scripting
ArgomentiWeb 1.0 · Web 2.0 · Open Web Platform · Rich Internet application · Applicazione web
  Portale Informatica: accedi alle voci di Teknopedia che trattano di informatica
Estratto da "https://it.wikipedia.org/w/index.php?title=Webhook&oldid=148039021"

  • Indonesia
  • English
  • Français
  • 日本語
  • Deutsch
  • Italiano
  • Español
  • Русский
  • فارسی
  • Polski
  • 中文
  • Nederlands
  • Português
  • العربية
Pusat Layanan

UNIVERSITAS TEKNOKRAT INDONESIA | ASEAN's Best Private University
Jl. ZA. Pagar Alam No.9 -11, Labuhan Ratu, Kec. Kedaton, Kota Bandar Lampung, Lampung 35132
Phone: (0721) 702022