Inject vs Apply - What's the difference?
inject | apply |
To push or pump (something, especially fluids) into a cavity or passage.
To introduce (something) suddenly or violently.
* Milton
To administer an injection to (someone or something), especially of medicine or drugs.
To take or be administered something by means of injection, especially medicine or drugs.
(computing) To introduce (code) into an existing program or its memory space, often without tight integration and sometimes through a security vulnerability.
* {{quote-usenet
, year=1996
, monthday=November 11
, author=David Taillé
, email=taille@calva.net
, title=Getting Process information
, id=MPG.cf15f0a5cfb22c3989699@news.calvacom.fr
, group=comp.os.ms-windows.programmer.win32
* {{quote-usenet
, year=1999
, monthday=August 23
, author=Osvaldo Pinali Doederlein
, email=osvaldo@visionnaire.com.br
, title=Java is Going to Be the Death of Java
, id=001b01beed13$76a66350$450510ac@mde.emn.fr
, group=comp.lang.java.advocacy
* {{quote-book
, year=2003
, author=Ryan Russell
, title=Stealing the Network: How to Own the Box
, chapter=The Thief No One Saw
* {{quote-book
, year=2007
, author=Jeremiah Grossman and Robert Hansen
, title=XSS Attacks: Cross-Site Scripting Exploits and Defense
, chapter=XSS Theory
* {{quote-book
, year=2010
, author=Andrew Moore
, title=Visual Studio 2010 All-in-One for Dummies
, chapter=AJAX Explained: What It Does and Why You Should Consider Using It
(obsolete) To cast or throw; used with on .
* Alexander Pope
To lay or place; to put or adjust (one thing to another);—with to; as, to apply the hand to the breast; to apply medicaments to a diseased part of the body.
* {{quote-book
, author=
, title=Translation of Virgil's Aeneid
, passage=He said, and to the sword his throat applied .
, year=1697}}
To put to use; to use or employ for a particular purpose, or in a particular case; to appropriate; to devote; as, to apply money to the payment of a debt.
To make use of, declare, or pronounce, as suitable, fitting, or relative; as, to apply the testimony to the case; to apply an epithet to a person.
* (rfdate) Milton,
To fix closely; to engage and employ diligently, or with attention; to attach; to incline.
* 1611 , '', ''Proverbs 23:12,
To betake; to address; to refer; generally used reflexively.
* Alexander Pope
* (rfdate) Johnson
To submit oneself as a candidate (with the adposition "to" designating the recipient of the submission, and the adposition "for" designating the position).
To pertain or be relevant to a specified individual or group.
(obsolete) To busy; to keep at work; to ply.
* Sir Philip Sidney
(obsolete) To visit.
* Chapman
In lang=en terms the difference between inject and apply
is that inject is to take or be administered something by means of injection, especially medicine or drugs while apply is to pertain or be relevant to a specified individual or group.As verbs the difference between inject and apply
is that inject is to push or pump (something, especially fluids) into a cavity or passage while apply is to lay or place; to put or adjust (one thing to another);—with to; as, to apply the hand to the breast; to apply medicaments to a diseased part of the body.As an adjective apply is
.inject
English
Verb
(en verb)- The nurse injected a painkilling drug into the veins of my forearm.
- Punk injected a much-needed sense of urgency into the British music scene.
- Caesar also, then hatching tyranny, injected the same scrupulous demurs.
- Now lie back while we inject you with the anesthetic.
- to inject the blood vessels
- It's been a week since I stopped injecting , and I'm still in withdrawal.
citation
- Yes, you'll have to use CreateRemoteThread to "inject code" if you want information like the current directory of a process (at least on NT 3.5x).
citation
- As soon as a virus programmer discovers that some popular ActiveX thing has a bug that can be exploited, e.g. with controlled crashes to inject code, it's going to be a disaster.
citation, isbn=1931836876 , page=146 , passage=A quick test to see if I can inject SQL data is to enter my username and password as
'a
.}}
citation, isbn=1931836876 , page=86 , passage=DOM XSS is an unusual method for injecting JavaScript into a user's browser.}}
citation, isbn=9780470539439 , page=410 , passage=The AJAX controls inject the appropriate JavaScript code into the HTML output stream without you needing to code any JavaScript yourself.}}
- And mound inject on mound.
apply
English
Etymology 1
From (etyl) applier, ((etyl) appliquer), from (etyl) . See applicant, ply.Verb
(en-verb)- Yet God at last To Satan, first in sin, his doom applied .
- Apply thine heart unto instruction, and thine ears to the words of knowledge.
- sacred vows applied to grisly Pluto
- I applied myself to him for help.
- I recently applied to the tavern for a job as a bartender.
- Most of the colleges she applied to were ones she thought she had a good chance of getting into.
- Many of them don't know it, but almost a third of the inmates are eligible to apply for parole or work-release programs.
- That rule only applies to foreigners.
- She was skillful in applying his humours.
- His armour was so clear, / And he applied each place so fast, that like a lightning thrown / Out of the shield of Jupiter, in every eye he shone.