Course Notes:CS601

From Xi's Knowledge Base

Jump to: navigation, search

Solar Vistas Knowledge Base>>Course Notes>>CS601

Course Notes - CS 601 ''OO Software Development

Course Information== * Tutor: Terrence Parr * Time: ==OO Software Dev== ==Wikipeida== ====Concepts==== * tar derived from Tape ARchive, and jar derived from Java ARchive. ==Java== ====Java v.s. C++ [Parr.T]==== * Class-Object Point ====Grammer ==== * == means, while equals() means. ====Command Line [Parr.T]==== * jar xvf dict.jar ====Topics==== *Java Input/Output [Parr.T] *Unit/Functional Testing and jUnit [Parr.T] *Java Sockets [Parr.T] ==Projects and Labs== ===General Information=== ===Dictionary=== ====class construct==== =====public, protect, private / statics ===== *public for *protect *private * =====Construct Function===== =====get/set Elements===== Which way is efficient? ====toString()==== use StringBuffer: buf.append(String); p!=tail; ===Expression evaluate=== =====Gramma===== expression : multExpression ( ("+"|"-") multExpression )* EOF ; multExpression : atom ( ("*"|"/") atom )* ; modExpression ; atom ( "%" atom)* ; atom: INTEGER ; =====Sample===== r : ... ; -> r() { ... } atom -> atom() INTEGER -> match(INTEGER); ( t ... )* -> while ( current tokentype is t){ math(t); ... } all rule methods return an integer copmuted from the subexpression matched that rule .... match(int tokentype) { if (courrent token type != tokentype) { syntax error; } consume(); //advance input pointer ===Webmail Project=== ====Functionality ==== =====Required Functionality===== * User registration (with multiple users, each with their own POP server to pull mail from) * User log in/out * Edit user account to change password etc... * Pull email from POP servers via your own POP protocol handler and display on website; mail is stored in the database * Have a functional "check mail" button * Send/reply to email using your own SMTP client =====B Functionality===== * User is able to search all of their mail for keywords; use a simple linear walk of the data rather than a sophisticed inverted index or search engine like Lucene. The user should be able to pick the field such as "from" or "subject" to search in. * Sort mail folder display by various fields such as sender's email, subject, ... * Support "folders" so users can direct incoming email to various folders manually. * User is able to delete mail (sends to Trash folder and then have a "empty trash button") =====A Functionality===== * Forward and POP * Spam Filter * IMAP * AJAX * RSS * Broadcast I can suggest using Lucene search engine instead of the linear walk, add ability to send/receive attachments, add spell checking, and spam filtering. You are not limited to these features of course.

Personal tools