Emerging Technology
Fall Semester, 2004 Introduction |
||
---|---|---|
© 2004, All Rights Reserved, SDSU & Roger Whitney San Diego State University -- This page last updated 31-Aug-04 |
CS 683 Emerging Technologies Fall Semester, 2004 Doc 1 Introduction
Warning about the course – Bleeding edge
Continuation-based Web Servers
Copyright ©, All rights reserved. 2004 SDSU & Roger Whitney, 5500 Campanile Drive, San Diego, CA 92182-7700 USA. OpenContent ( http://www.opencontent.org/opl.shtml) license defines the copyright on this document.
CS 683 Fall 04 | Doc 1, Introduction Slide # 2 |
CSS Tutorial: Starting with HTML + CSS at:
Chapter 2 of http://cseng.aw.com/bookpage.taf?ISBN=0-201-59625-3&ptype=2847 by Håkon Wium Lie and Bert Bos at:
Dave Raggett’s Intro to CSS at:
CS 683 Fall 04 | Doc 1, Introduction Slide # 3 |
The crash list is ordered by seniority.
Crashers with the most graduate credit from SDSU will be accepted first
If there are more students tied at the top of the crash list than there are available seats, students will be selected at random from the top of the list
Role of the crashers will be taken each class period. Crashers attending all classes will be given priority over all crashers that do not attend all classes
Crashers must submit an unofficial SDSU transcript to prioritized on the crash list
If you have not submitted a transcript at the time students are let into the course, you will not be prioritized
Students given an add code have a limited time to use the add code. (See time line below)
Students that do not use their add code in the allotted time will not be allowed to use that add code and will lose their priority in the crash list for this course.
CS 683 Fall 04 | Doc 1, Introduction Slide # 4 |
If there is room in the course students will be added in class on
Students not in attendance at the class are assumed not interested in crashing the course and their spot in the class will be given to someone else
Students added Sept 7 must use the add code by noon Friday Sept 10
Students added Sept 14 must use their add code by noon Thursday Sept 16
Students added Sept 16 must use their add code by noon Monday Sept 20
CS 683 Fall 04 | Doc 1, Introduction Slide # 5 |
Graduate status
Must know Java
You will be writing the following things in Java
I assume you have some database experience
CS 683 Fall 04 | Doc 1, Introduction Slide # 6 |
You will be installing & using
As a student in an advanced graduate computer science course I assume that you can handle this
If you don’t have a good Java IDE you should start using
In dealing with CSS you will find the
Firefox - http://www.mozilla.org/products/firefox/
CS 683 Fall 04 | Doc 1, Introduction Slide # 7 |
We will look at several technologies implemented in Smalltalk
We will also cover similar technologies in Java
Students can select which technology to work with
Student should be able to read Smalltalk
CS 683 Fall 04 | Doc 1, Introduction Slide # 8 |
I do not give extra credit assignments
Grades in the course will be based on
There will be between 3-5 assignments
Each assignment is given a numerical score
Assignments are averaged to get a course score
Course score is used to determine the course grade
CS 683 is an advanced graduate course
If you dealing with new culture and educational system taking an advanced graduate course may be a bad idea
CS 683 Fall 04 | Doc 1, Introduction Slide # 9 |
Leading edge is called the bleeding edge
This course will cover a lot of material
Presentation of material will be rough
This course will be a lot of work
Don’t fall behind
CS 683 Fall 04 | Doc 1, Introduction Slide # 10 |
We will look at
CS 683 Fall 04 | Doc 1, Introduction Slide # 11 |
Seaside – Smalltalk based
Cocoon – Java, Javascript based
GUI applications started in 1970’s
Web application development violate GUI best practices
The begging of Continuation-base Web servers
CS 683 Fall 04 | Doc 1, Introduction Slide # 12 |
renderContentOn: html html title: 'Continuation Example'. html heading: 'The First Page'. html anchorWithAction: [self tryMe] text: 'Start' tryMe | name count message | name := self request: 'Your name'. count := 1. message := name , ' ready to stop yet? '. [self confirm: message , count printString] whileFalse: [count := count + 1]. self inform: 'Good bye'.
CS 683 Fall 04 | Doc 1, Introduction Slide # 13 |
renderContentOn(WAHtmlRenderer html) { html.title(”Continuation Example”); html.heading(”The First Page”); html.anchorWithAction( tryMe, “Start”); } tryMe() { String name = request(”Your name”); int count = 1; String message = name + “ ready to stop yet”; while ( !confirm( message + count) ) { count = count + 1; } inform( “Good bye”); }
CS 683 Fall 04 | Doc 1, Introduction Slide # 14 |
Simple Web log implementation
Designed by Java programmers to compare Java Frameworks
http://www.waferproject.org/index.html
http://www.waferproject.org/weblog-prototype/index.jsp
Contrast Java Struts implementation and Seaside implementation
Java Struts | Seaside | |
Development Time | ~1 Week | ~6 hours |
CS 683 Fall 04 | Doc 1, Introduction Slide # 15 |
Mobile computing devices are everywhere
Cell Phone development in San Diego
Computer Chips are in many items
CS 683 Fall 04 | Doc 1, Introduction Slide # 16 |
Many applications use databases
Object-oriented programming is now common
Need to translate between objects and database tables
JDBC is a low level connection to database
GLORP & Hibernate translate between objects & tables
Transaction tx= session.beginTransaction(); Cat princess = new Cat(); princess.setName("Princess"); princess.setSex('F'); princess.setWeight(7.4f); session.save(princess); tx.commit();
CS 683 Fall 04 | Doc 1, Introduction Slide # 17 |
Some think that EJB & J2EE are too complex
Applications are complex enough
CS 683 Fall 04 | Doc 1, Introduction Slide # 18 |
1.Using Firefox or a similar tool view the CSS of
You might find the Web Developer Toolbar useful.
2. Using Firefox or a similar tool find the html error in
http://www.eli.sdsu.edu/courses/fall04/cs683/syllabus.html
3. Using Firefox or a similar tool find the deprecated elements in
http://www.eli.sdsu.edu/courses/fall04/cs683/syllabus.html
4. Using your Java IDE (or Eclipse if you do not already have a Java IDE) implement a stack and write JUnit tests for the stack.
See http://junit.sourceforge.net/ for documentation about using JUnit.
See http://www.junit.org/index.htm to download JUnit
See Using JUnit With Eclipse IDE http://www.onjava.com/pub/a/onjava/2004/02/04/juie.html and
Copyright ©, All rights reserved.
2004 SDSU & Roger Whitney, 5500 Campanile Drive, San Diego, CA 92182-7700 USA.
OpenContent license defines the copyright on this document.