XMLHttpRequest: Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
Add: date. | Use this bot. Report bugs. | Suggested by Whoop whoop pull up | #UCB_webform 15/415
mNo edit summary
Line 21:
 
==History==
The concept behind the ''XMLHttpRequest'' class was conceived in 2000 by the developers of [[Microsoft Outlook]] -- available on the [[Windows 2000]] operating system.<ref name="ALEXHOPMANN_quote1">{{cite web
|url=http://www.alexhopmann.com/xmlhttp.htm
|title=Article on the history of XMLHTTP by an original developer
Line 198:
</syntaxhighlight>
 
The ''XMLHttpRequest'' lifecycle progresses through several stages -- from 0 to 4. Stage 0 is before the <code>open()</code> method is invoked, and stage 4 is when the text string has arrived.<ref name="adp-26">{{cite book
| last = Mahemoff
| first = Michael
Line 278:
| isbn = 0-672-32672-8
| quote = PHP is a server-side scripting language designed specifically for the Web.
}}</ref> Because the PHP engine is an [[Interpreter (computing)|interpreter]] -- interpreting program [[statement (computer science)|statements]] as they are read -- there are programming limitations{{efn|Whereas PHP is a rich language and interfaces well with certain [[databases]], it supports only a subset of [[Container (abstract data type)|container types]] and lacks [[declarative language]] constructs.}} and performance costs.{{efn|An interpreter executes each programming statement; however, a compiled program has each [[machine instruction]] ready for the [[CPU]].}} Nonetheless, its simplicity may place the ''XMLHttpRequest'' set of files in the same working directory -- probably <code>/var/www/html</code>.
 
====PHP server component====
Line 345:
<code>cc ajax.c -o ajax</code>
 
-- or --
 
<code>sudo cc ajax.c -o ajax</code>