<s>
Asynchronous	B-Language
module	I-Language
definition	I-Language
(	O
AMD	O
)	O
is	O
a	O
specification	O
for	O
the	O
programming	O
language	O
JavaScript	B-Language
.	O
</s>
<s>
It	O
defines	O
an	O
application	B-Application
programming	I-Application
interface	I-Application
(	O
API	B-Application
)	O
that	O
defines	O
code	B-Architecture
modules	I-Architecture
and	O
their	O
dependencies	B-Application
,	O
and	O
loads	O
them	O
asynchronously	O
if	O
desired	O
.	O
</s>
<s>
AMD	O
implementations	O
load	O
smaller	O
JavaScript	B-Language
files	O
,	O
and	O
then	O
only	O
when	O
they	O
are	O
needed	O
.	O
</s>
<s>
AMD	O
implementations	O
allow	O
developers	O
to	O
define	O
dependencies	B-Application
that	O
must	O
load	O
before	O
a	O
module	B-Architecture
is	O
executed	O
,	O
so	O
the	O
module	B-Architecture
does	O
not	O
try	O
to	O
use	O
outside	O
code	O
that	O
is	O
not	O
available	O
yet	O
.	O
</s>
<s>
In	O
addition	O
to	O
loading	O
multiple	O
JavaScript	B-Language
files	O
at	O
runtime	O
,	O
AMD	O
implementations	O
allow	O
developers	O
to	O
encapsulate	O
code	O
in	O
smaller	O
,	O
more	O
logically-organized	O
files	O
,	O
in	O
a	O
way	O
similar	O
to	O
other	O
programming	O
languages	O
such	O
as	O
Java	B-Language
.	O
</s>
<s>
For	O
production	O
and	O
deployment	O
,	O
developers	O
can	O
concatenate	O
and	O
minify	B-Language
JavaScript	B-Language
modules	B-Architecture
based	O
on	O
an	O
AMD	O
API	B-Application
into	O
one	O
file	O
,	O
the	O
same	O
as	O
traditional	O
JavaScript	B-Language
.	O
</s>
<s>
AMD	O
provides	O
some	O
CommonJS	B-Language
interoperability	O
.	O
</s>
<s>
The	O
AMD	O
specification	O
is	O
implemented	O
by	O
Dojo	B-General_Concept
Toolkit	I-General_Concept
,	O
RequireJS	O
,	O
and	O
other	O
libraries	O
.	O
</s>
