ICE0534 – Web-based Software Development ICE1338 – Programming for WWW - Summer 2005 - Lecture #1 In-Young Ko iko .AT.

Download Report

Transcript ICE0534 – Web-based Software Development ICE1338 – Programming for WWW - Summer 2005 - Lecture #1 In-Young Ko iko .AT.

ICE0534 – Web-based Software Development
ICE1338 – Programming for WWW
- Summer 2005 -
Lecture #1
In-Young Ko
iko .AT. icu.ac.kr
Information and Communications University (ICU)
Announcements



There will be a photo session after today’s class
Everyone will get a Vega account (a Unix server)
Send the TA an email about




Summer 2005
Your name & Student ID
Major (Program)
Account name that you want to have on Vega
Web-based languages (e.g., HTML, XML, RDF,
WSDL, JavaScript, etc.) that you are familiar with
(sort them based on your skill level)
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
2
Instructor Information

Prof. In-Young Ko

Office: F607 (Daejeon), SOTI305 (Seoul)

Official Office Hours:

Tuesday 1:30PM – 2:30PM (Daejeon)

Thursday 1:30PM – 2:30PM (Seoul)

Unofficial Office Hours: Any time

Email: iko .AT. icu.ac.kr

Phone: 042-866-6163 (Daejoen), 02-3498-7575
(Seoul)
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
3
Course Information

Course Numbers and Names



Prerequisites:




ICE0534 – Web-based Software Development
(Graduate)
ICE1338 – Programming for WWW (Undergraduate)
ICE1341 – Programming Languages
ICE1225 – Operating Systems (prerequisite for
graduate students)
Class Hours: Tue 9AM-Noon & Thu 9AM-Noon
Lecture Locations


Summer 2005
Daejoen campus on Tuesdays
Seoul SOTI on Thursdays
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
4
Course Information

Class Homepage



URL: bigbear.icu.ac.kr/~iko/classes/ice05341338/
Lecture notes and reading materials will be available
at the class homepage
Teaching Assistants

Hyung-min Koo (Daejeon, Primary Contact)



Yusik Park (Daejeon)



Email: yusikpark .AT. icu.ac.kr
Office Hours: TBA
Jeongwook Bang (Seoul)


Summer 2005
Email: hyungminkoo .AT. icu.ac.kr
Office Hours: TBA
Email: majorformula .AT. icu.ac.kr
Office Hours: TBA
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
5
An Example of Surfing the Web
Finding a person attending a conference in US
Las Vegas
Los Angeles
Known Information



English last name of the person to find: Rim or Lim?
Travel Purpose: Attending a conference in Las Vegas
Her research area: VLSI
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
6
An Example of Surfing the Web
Finding a person attending a conference in US
Search for the
Web site of a
conference
Summer 2005
Find the venue
of the
conference
ICE 0534/ICE1338 – WWW
Search for the
hotel Web site
Find the
phone number
of the hotel
© In-Young Ko, Information and Communications University
7
The World Wide Web (WWW, The Web)
Transportation
News
Information
Search
e-Commerce &
Online Banking
Education
Google indexes 4,285,199,774 distinct web pages
(as of March 8th, 2004)
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
8
What is Web-based Software?







Software that is embedded in Web documents
(e.g., Applets)
Software that runs with Web browsers (e.g., Plugins)
Software that runs on Web servers to provide
contents and services (e.g., CGI, JSP, ASP)
Software that process Web documents
Software that can be accessed via the Web
Software that utilizes Web-based representations
Software that integrates services that are
available on the Web
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
9
ICE0534 vs. ICE1338

ICE0534: Web-based Software
Development
Understanding the conceptual basis for Webrelated technologies
 Practicing, applying and utilizing Web-related
concepts and technologies for students’
research areas


ICE1338: Programming for WWW

Summer 2005
Learning and practicing Web-based
languages, tools and technologies
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
10
Reference Books

[Sebest03] Robert W. Sebesta, Programming the World
Wide Web, 2nd Ed., Addison Wesley, ISBN: 032127056-8, 2003.
 Recommended for undergraduate students

[ChaJew02] Dave Chappell and Tyler Jewell, Java Web
Services, O'Reilly, ISBN: 0-596-00269-6, 2002.

[OmZaKl01] Andrea Omicini, Franco Zambonelli,
Matthias Klusch, Robert Tolksdorf (Eds.), Coordination
of Internet Agents: Models, Technologies, and
Applications, Springer Verlag, May 2001.
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
11
The Rules of the Game!!
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
12
Assignments

Individual Work


Homework
Individual Presentations




Term Papers




Technology Reviews by Undergraduate Students
Technology Surveys by Masters Students
Ph.D. Lectures
Technology review reports
Technology survey papers
Research papers on applying Web-based technologies
Group Work



Summer 2005
Project Proposals
Project Reports
Project Presentations
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
13
Assignments Policy


Each homework is due at the beginning of class on the
assigned due date
Send the homework electronically to the TA




Submit the hardcopy of the assignment report (including
the hardcopy of source programs) at the class


Zip everything (including source programs) into one file
For programming assignments, include a formatted source code
(2 columns & line numbers) in the zip file
Use the following filename format: <hw#><name><date>
e.g., hw1_inyoungko_050621.pdf
Don’t make a cover page for a homework report, but don’t forget
to write your name and student ID at the top
Please do not collaborate in doing homework
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
14
Generating a Formatted Source Code

Use the ‘a2ps’ program
for formatting source
codes


2 columns per a page
Line numbers

A2Ps for Windows:
http://gnuwin32.sourceforge.net/packages/a2ps.htm

Example command:
a2ps -r --medium=A4 --columns=2 --line-numbers=1 --output=out.ps MyProg.java
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
15
Homework


Reading Homework
Programming Homework
Making plug-in software
 Building Web wrappers
 Processing XML documents
 Building a Web Service client
 Building a Web Service and its client
 Creating a Semantic Web model
 Processing Semantic Web data
 …

Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
16
Individual Presentations (IP)


Purpose: To understand a Web-related
technology in-depth and to share the knowledge
with other students in the class
Main Content







Conceptual framework
Main elements in the technology
Special or unique features (or comparisons)
Examples and applications
Discussion & References
2 undergraduate presentations & 3 M.S.
presentations per a class (from July 5th)
Ph.D. presentations will be scheduled later
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
17
IP Technology Reviews
(by Undergraduate Students)


Investigate Web-based languages and tools
Candidate technologies to review






CGI Programming Langauges (e.g., Perl, PHP)
Web-based languages (e.g., XSL, MathML)
Web-related tools and applications (e.g., Amaya,
Protégé)
Web-related protocols (e.g., HTTP, SOAP)
Decide the topic by June 28
Prepare for a 7 min presentation followed by a
3 min Q&A session
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
18
IP Technology Surveys
(by Masters Students)


Make a survey of various approaches/methods
to support Web-related technologies
Candidate technologies to survey






Web-based Software Development Framework (e.g.,
SOA, .NET)
Future Web Technologies (e.g., Mobile Web)
Web Security
Decide the topic by June 28
A week before the presentation, send the TA a
list of relevant reading materials
Prepare for a 15 min presentation followed by a
5 min Q&A session
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
19
IP Ph.D. Lectures



Prepare for a lecture that covers any research
issues that are related to the Web
Send a lecture proposal by July 14th
A week before the presentation, you need to:




Send the TA a list of relevant reading materials
Make homework questions
Prepare for a 30 min lecture
After the presentation, you need to:

Summer 2005
Collect and grade the homework
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
20
IP Policy


Send your presentation material to the TA
by 5PM of the day before the presentation
For each presentation, students (except
the presenter) must write a short
summary of the presentation (handwritten)
Submit the summary at the end of the class
 This summary will not be graded but counted

Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
21
Term Papers


Purpose: To describe the knowledge that you
gain while working on the homework and
project
Papers to write:





A Technology Review Report by a undergraduate
student
A Technology Survey Paper by a masters students
A Research Paper by a Ph.D. student
Paper format: a scientific paper format
Due Date: August 11, 2005
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
22
Term Projects


Purpose: To practice the application of
Web-related technologies in developing
Web-based software
Requirements
Client-side information presentation
 Server-side information management
 Information modeling
 Utilization of Web Services

Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
23
Term Project Results

Proposals (due by July 14th)




Project Reports (due by August 11th)



Objectives of the project
Web-based information integration scenario
Development schedule
System design
Results and evaluation
Project Presentations (in the final week)



Summer 2005
20 minutes for each team
Explain the objectives, design and results
Show a demo
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
24
Project Teams


Max 5 Students per each team
7 Daejeon Teams
3 Undergraduate Students
 2 Graduate Students



2 Seoul Teams
Form your teams by June 30th
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
25
Grading Policy

Individual Work (55%)
Homework (30%)
 Individual Presentations (10%)
 Term Papers (15%)


Group Work (35%)
Project proposals (5%)
 Project Reports (15%)
 Project Presentations (15%)


Attendance & Participation (10%)
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
26
Grading Policy

Feedback on assignments will be given
as follows:
Check (v): satisfactory
 Minus (-): less than expected
 Plus (+): excellent
 Zero (0): not submitted or poor


Written comment about your presentation
will be given by the professor
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
27
Course Policy


Students who fail to attend more than
15% of the classes without proper notice
will get F
No late submission of assignments will be
accepted
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
28
What’s behind the Web?





Summer 2005
ICE 0534/ICE1338 – WWW
Multi-media Presentation
Information Management
Dynamic Information
Processing and
Presentation
Information Exchange
Protocols
Internationalization,
Privacy and Security
© In-Young Ko, Information and Communications University
29
Main Categories of Topics







Information Presentation on the Web
Web-based Information Management
Information Modeling and Representation
Web-based Software Development
Business and Legal Issues on the Web
(Internationalization, Accessibility, Privacy and
Security)
Future Web Technologies (Mobile Web,
Embedded Web)
Applications of Web-based Technologies
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
30
Textual vs. Graphical
Google.co.kr
Summer 2005
ICE 0534/ICE1338 – WWW
Grokker.com
© In-Young Ko, Information and Communications University
31
Simple vs. Informative
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
32
Topics in Information
Presentation on the Web

Information Presentation Languages


Dynamic Web Documents



HTML, XHTML and CSS
DHTML, JavaScript and VBScript
Applets and Plug-ins
Multimedia Presentations




Summer 2005
SVG (Scalable Vector Graphics)
WebCGM (Computer Graphics Metafile)
X3D (Real-time 3D Communication)
Flash
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
33
On-stop Shopping…
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
34
An Information Portal…
mqr.redfeel.net
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
35
Topics in Web-based
Information Management

Server-side Data Management






Web Search
Web-based Information Mining


Web Wrappers
Web-based Information Processing


CGI Programming (Perl, PHP, Python etc.)
Web Servers
Servelets
Database Access Through the Web
Document Classification & Clustering
Web-based Information Integration

Summer 2005
Information Mediation
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
36
Information Structuring …
DOM Objects
class
name
code
Prog.
Prog. Lang
ICE1341
XML Grammar
(Structure) Validation
students
student
student
name
bday
Y.K. Ko
820304 D.W . Kim 830512
DOM API
name
bday
HTML
Presentation
SAX API
XML Parser
DTD/
XMLSchema
Parsing Events
XML
Document
XSL Processor
XSL
Description
Databases
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
37
Where is ICU?
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
38
ICU vs. ICU
http://www.cheshire-med.com/icu/images/020814ICUBedS.jpg
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
39
Representing Semantics…
Educational Unit
isA
www.icu.ac.kr
University
isA
hasName
ICU
hasWeb
hasStudents
hasName
hasMember
…
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
40
Topics in Information Modeling
and Representation for the Web

XML (eXtended Markup Language)






XML Schema
XML Query (XQuery)
XSL (Extensible Stylesheet Language)
DOM (Document Object Model)
XPath, XPointer
Semantic Web




Summer 2005
Ontology
Semantic Web representation Models (RDF, RDFS,
and OWL)
Semantic Web Tools (Protégé, Jena, etc.)
Semantic Web Applications
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
41
Making a Program that
Accesses Web-based Services

Customer Content Operations



Item Operations





ListLookup
ListSearch
Remote Shopping Cart Operations






ItemLookup
ItemSearch
SimilarityLookup
List Operations


CustomerContentLookup
CustomerContentSearch
CartAdd
CartClear
CartCreate
CartGet
CartModify
SellerLookup
public class BookService {
int stationNumber = 0;
float cashLeft = 0;
public BookService(int no, float money) {
stationNumber = no;
cashLeft = money;
}
public void displayInitialMessage(String msg) {
System.out.println(“This is the book station” + stationNumber);
System.out.println(msg);
}
Summer 2005
ICE 0534/ICE1338 – WWW
A Program
© In-Young Ko, Information and Communications University
42
Composing an Application
Using Web-based Services…
www.isys.uni-klu.ac.at/ ISYS/Courses/03SS/S_DKE/lehmann.ppt
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
43
Topics in Web-based Software
Development

Web Services






Service-oriented Architecture
Service Brokering
Application Composition





Web Services Architecture
Standards (WSDL, SOAP, OWL-S, and UDDI)
Web Services Platforms (.NET, J2EE, WebShpere)
Web Services Choreography and Orchestration
Business Process
WSFL, BPEL4WS
Semantic Web Services
Web Engineering
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
44
Privacy Statements
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
45
Business and Legal Issues on
the Web






Internationalization
Personalization
Privacy (P3P)
Accessibility
Device Independence
Web Security
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
46
Past & Future of the Web

[Ber96]
Past
Broadcast of read-only materials
 Exchange information for humanconsumption


Future
More interactions
 Machine-readable information

Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
47
Applications of Web-based
Technologies




Ubiquitous Computing
Enterprise Computing
Self-growing Robot Software
Others
Web Logs (Blogs)
 Collaboration tools (communication, design,
etc.)
 Electronic commerce tools
 Distant learning tools
 Web-based digital libraries

Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
48
Dr. Raj Reddy


Chair Professor at ICU
School of Computer Science at
Carnegie Mellon University (CMU)





Director of the Robotics Institute at CMU
(1979-1991)
Dean of School of Computer Science
(1991-1999)
Awarded the ACM Turing Award in
1994
President's Information Technology
Advisory Committee (1999-2001)
http://www.rr.cs.cmu.edu/
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
49
Dr. Raj Reddy

Research Interests



Human-computer interaction
Artificial intelligence
Research projects




Summer 2005
Million Book Digital Library Project
PCtvt: an Information Appliance for rural
environments (PC, TV, PVR, Video Phone, Audio
Phone all in one) for use by illiterate people
FTTV: Fiber To The Village Project; Mobile
Autonomous Robots
Learning by Doing
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
50
Readings about Dr. Raj Reddy


[Kor04] Network Robot Project Gets
Boost - Carnegie Mellon’s Raj Reddy
Manifests Much-Touted 80/20 Rule, The
Korea Times, December 19, 2004.
[Red96] To Dream The Possible Dream,
Turing Award Lecture, Communications of
the ACM, 39(5):105-112, 1996.
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
51
To Do by This Thursday…
1. Send an email to the TA about your
information
2. Select the topic for the individual
presentation


Send the TA your 1st, 2nd and 3rd choices for
the topics (e.g., u2, u9, u7)
Any suggested topics
3. Do the homework #1
4. Read the articles about Dr. Raj Reddy
Summer 2005
ICE 0534/ICE1338 – WWW
© In-Young Ko, Information and Communications University
52