Yongning Zhu

OfficeMS 3903
Teaching PIC 40A
Discussion: MS 5137, TR 12:00-12:50pm
Lab Hour: Boelter Hall 2817, T 1:00-1:50pm, R: 3:00-3:50pm
Emailyzhu at math.ucla.edu



I am a graduate student of applied mathematics, more precisely, computational science. I prefer the second term because we compute and we try to find out what's behind.

Google
Search WWW

Teaching
About latest discussion class
Jan 09
Lab: Boelter Hall 2817
Office Hour: Tue 1:00~2:00pm, Thur 3:00~4:00pm
Set up account with SSH, check email using pine(refer to blue handout)
Local disk space you can use: My Computer>Z:
To publish your webpage file called index.htm:
   Use "SSH Secure File Transfer Client" to
     1.create new folder called public_html
     2.upload index.htm to public_html/
     3.right click index.htm > Properties, change Permission mode to 755
   View your webpage: http://www.pic.ucla.edu/~yourusername
More about SSH...
Sign up for Amazon
Jan 11

Questions to test
Is Ele1 and ele1 the same element?
What does it mean by :

<<![CDATA[ &COPYRIGHT;]]> , if COPYRIGHT is defined to be an entity?
How to impliment<!ELEMENT email (to,from,(body|message))>
<!ELEMENT from(#PCDATA)>

XMLSample XML Quiz

Basic commands of Unix/Linux
man, pwd, ls, cd .|..|nothing|workdirectory
ls -la /etc /bin
-rw-rw-r-- 1 bshotts bshotts 276480 Feb 11 20:41 web_site.tar
File Permissions, Owner, Group, Size (in bytes), Modification Time, File Name
less txtfilename, file filename
cp, mv, rm, mkdir
*(any characters), ?(any single character), [A-Z|0-9], [!abc]
cp -iR file1 file2, cp file1 dir1, cp dir1 dir2 Copies the contents of file1/dir1 into file2/dir2. If file2 does not exist, it is created; otherwise, file2 is overwritten with the contents of file1.
-i : interactively, -R : recursively
mv -i file1 file2 dir3 destinationDir
rm -i file1 file2...(Be careful!)
chmod 755 some_file (sometimes, also need to change mode for the folder including this file)
-rwxr-x-wx : file/directory|read/write/execute permission for owner/group/all
chown newowner filename
chgrp newgroup filename
More about shell command Class content is from 2, 3, 5, 7
Editor: pico/vi pico command quick reference vi command reference
Pico: Ctrl+g, o, x, t, j, w | Ctrl+^, k, u, r
Upload with SSH Scure File Transfer Client
Write a simple XML file, upload it, and view the document tree using browser.
Jan 16, T
HTML
Jan 18, R
RSS review, XML Namespaces
RSS example Namespace example: extending rss.
Jan 22, Tue
DTD review
Example:Rss2.0 DTD vs Schema
Use W3Validator to validate a xml file with dtd.
XSLT example: original xml file, its DTD XSL file result
Jan 24, Thur
HTML 4.01 / XHTML 1.0 Reference
XPath XSLT functions reference
XPath XSLT expression XSLT Elements Reference
XML example: original xml file XSL file result
Jan 30, Tue
Handout CSS example
Feb 1, Thur
Handout Javascript example
Feb06, Tue
Example of searching request using ECS XSL file Transformed html
About ItemSearch Operation Complete Technical Document about ECS
Feb08, Thur
Handout Javascript example
Feb13, Tue
Handout DOM example
Testing page Reference
Request XSL file Result
Feb15, Thur
JQuery example jQuery Reference jQuery tutorial
Feb20, Tue
Discussion about XML, XSLT, CSS, Javascript An example of dynamic webpage with javascript by processing data from XML, same result as HW2
Feb27, Tue
Handout
An example of blank page using xslt corresponding xslt file
An example of Homework 2 solution corresponding xslt file
March01, Thur
Ajax application using php Same example writen with jquery
March06, Tue
php filesystem reference
email example
Counting visits example: using cookies using sessions
Mar08, Thur
PHP Login System
Simple Login, Logout, and Session Handling
Simplest example(only user is Joe/hi):
Log in
An inner page that requires log in
Mar12, Tue
Example with simple user management from phphotoshop (download source code)
The example on March01 "Ajax application using php" has been monified to a possible solution of midterm.
Mar15, Thur
Hand out: Class ShoppingCart Regular expression Cheat Sheet


MyUCLA PIC 40A PIC LAB RSSFeedValidator W3School Amazon W3Validator

TA training homework: TexFile PdfFile MATH 31B Discussion 3a,3b

Link

Dict Joomla Quaternion GameDev Cal My website@CSDept,UBC

UCLA MathDept