web Flashcards
What main protocol does the web use to communicate between computers?
HTTP
What main protocol does the web use to communicate between computers?
HTTP
What does HTTP stand for?
Hypertext Transfer Protocol
What is the purpose of a server?
To accept the HTTP request
What is the purpose of the client?
To send the HTTP request
When a domain name is entered in browser, where are IP retrieved?
The internet, usually a DNS server
What does PHP usually do?
execute SQL commands on the database
What tags in html are used to define php?
What tag defines javascript?
What is the purpose of ajax?
Make server/client communication faster
What did AJAX used to stand for?
Asynchronous JavaScript and XML
What is new about HTML5?
Markup, new API’s and applications
What is an example of markup?
,,,
What’s an example of a new API?
,,
What are the three most used web servers?
Apache, Nginx,Microsoft-IIS
What are some examples of development servers?
LAMP,WAMP,MAMP
Give two examples of alternatives to XAMP
EasyPHP, WAMPServer
Give an example of an FTP program that can send files to your server
Add to dictionary
What eclipse version is good for web development?
Eclipse PDT
Give a line of php that prints a statement
echo “print statement”;
How do you comment in php?
double slashes
What must precede a variable name in php?
$
Create a new tag using php
echo “<br></br>”;
How are arrays initialized in php?
$team = array(‘bilk’,’jane’);
Are java and php operators relatively the same?
Yes
What is the syntax for concatenation of a string
echo “you have”.$msg;
What is the difference between double and single quotes?
In double quotes $name are evaluated as variables, while single quotes the exact data is preserved.
How can the escape character ( \ ) be used?
‘My spelling's shitty”
What does HTTP stand for?
Hypertext Transfer Protocol
What is the purpose of a server?
To accept the HTTP request
Does a constant need a $?
No
When a domain name is entered in browser, where are IP retrieved?
The internet, usually a DNS server
What does PHP usually do?
execute SQL commands on the database
What tags in html are used to define php?