Intro to
Internet
Technologies

Spring 2009
course
navigation

finishing up js

Discuss homework; see where people are. Go over what didn't work last time : javascript animation.
News: pirate bay, posterous etc
jquery, and jsprototype examples.
What we've done:
This is enough to do quite a lot, actually, and many developers are moving towards "tiny applications" that use just those technologies.
Where we're going :

PHP

Show how to run PHP on emptywidgets.com : just upload files with .php extension.
Particularly useful example : the include statement, which can help you avoid duplicating the same framework for many pages.
---- header.php ----- <html> <head> <title>...</title> <!-- ... include css --> </head> <body> --- footer.php ----- <div> <!-- ... date, author, license --> </div> </body> </html> --- page1.php ------ <? include("header.php") ?> <h1>page 1</h1> <div>any other page 1 specific content...</div> <? include("footer.php") ?>
An example :
Working at emptywidgets from the command line : $ ssh emptywid@emptywidgets.com emptywid@emptywidgets.com's password: **** [~]# ls # list directory [~]# cd public_html # change to directory [~/public_html]# ls [~/public_html]# cd jimtest [~/public_html/jimtest]# ls [~/public_html/jimtest]# nano test.php # edit a file
Moving files from the command line : laptop$ sftp new_file.php emptywid@emptywidgets.com:public_html/jimtest/ password: ***
... or use the web interface ...

Readings to explore for this week

PHP :
Security and crypt :
http://cs.marlboro.edu/ courses/ spring2009/internet/ notes/ finishing_up_js
last modified Friday April 24 2009 1:12 pm EDT

attachments [paper clip]

     name last modified size
[IMG]jim_mt_mansfield.jpg Apr 21 2009 3:03 am 16.9kB [TXT]jquery_demo.html Apr 21 2009 2:27 pm 766B [TXT]test_shake.html Apr 21 2009 3:03 am 2.36kB