Monday, November 15, 2010

lecture

interesting UNIX commands you can use to log on to the cs12 computer and "do stuff"

unix commands
cd -- change directory
elm -- electronic mail
pine -- pine is not elm
pico -- pine composer

http://eniac.cs.qc.edu/~svitak/cs12/webpageassign.html

plus, we are going to do:
forms
css
php
javascript

imperative programming languages (like Visual Basic, Java, JavaScript, PHP, C++)

http://www.w3schools.com/php/default.asp

This is the beginning of my program!

{?php
for($i = 0; $i < 10; $i = $i + 1) echo "

Hello $i

";

?}

amazon.com
how do we remember info about the user?
server side scripting
client side scripting


early websites that implemeted shopping carts
used client side scripting
javascript
cookie

cookies dont move from computer to computer
they leave a trace
3rd party cookies -- used to track your movement across the web

some javascript that writes a cookie, when displaying an ad. if mult sites use same 3rd party for ads, they can track where you have been. privacy concerns.

use server side scripting
PHP, ASP, ASP.NET

next quiz up to here, no further

Database:
collection of objects used for storing and accessing information

Tables
Table is collection of records
Record is collection of fields

Ways of accessing the data in the table
Form
Report
Query

in MSACCESS

No comments:

Post a Comment