<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7330488129011096351</id><updated>2012-02-16T20:20:30.106-08:00</updated><category term='workshop 3'/><category term='Introduction'/><category term='Workshop 5'/><category term='Workshop 1'/><category term='Workshop 6'/><category term='Exercise'/><category term='workshop 2'/><category term='workshop 4'/><title type='text'>ITC 594 - E-Systems Infrastructure - Developer's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>83</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1196838599139703369</id><published>2009-05-16T20:35:00.000-07:00</published><updated>2009-05-16T21:03:06.421-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop 6'/><title type='text'>Workshop 6</title><content type='html'>&lt;ul&gt;&lt;li&gt;generate a controller and an action by adding a method(s) to a controller;&lt;/li&gt;&lt;li&gt;create a view template for each action and to link to actions from views;&lt;/li&gt;&lt;li&gt;use AJAX to improve the user experience;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;C:\Downloads\InstantRails3\rails_apps\login\app\controllers\account_controller.rb&lt;/p&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg-KhH8-UWI/AAAAAAAAAcY/eQ_XnX8aiuE/s1600-h/1.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336636385132433762" style="WIDTH: 305px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg-KhH8-UWI/AAAAAAAAAcY/eQ_XnX8aiuE/s320/1.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;C:\Downloads\InstantRails3\rails_apps\login\app\models\user.rb&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg-KhAybiXI/AAAAAAAAAcQ/cPHte8goT6s/s1600-h/2.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336636383209163122" style="WIDTH: 312px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg-KhAybiXI/AAAAAAAAAcQ/cPHte8goT6s/s320/2.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;C:\Downloads\InstantRails3\rails_apps\login\app\views\account\login.html.erb&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg-KhNk_9MI/AAAAAAAAAcI/cm1zveax5OQ/s1600-h/3.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336636386642490562" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 174px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg-KhNk_9MI/AAAAAAAAAcI/cm1zveax5OQ/s320/3.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;C:\Downloads\InstantRails3\rails_apps\login\app\views\account\registration.html.erb&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg-KgwCzxcI/AAAAAAAAAcA/8RChO-gl5FM/s1600-h/4.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336636378714457538" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 128px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg-KgwCzxcI/AAAAAAAAAcA/8RChO-gl5FM/s320/4.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;php database:&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg-Kg6jfUCI/AAAAAAAAAb4/PHFwJ7DIaqg/s1600-h/5.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336636381535883298" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 145px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg-Kg6jfUCI/AAAAAAAAAb4/PHFwJ7DIaqg/s320/5.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A salted value to prevent hacking is added.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-KXCQQCAI/AAAAAAAAAbw/CXu032JPwis/s1600-h/6.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336636211803981826" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 236px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-KXCQQCAI/AAAAAAAAAbw/CXu032JPwis/s320/6.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The view to register a user.&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg-KWwJMRXI/AAAAAAAAAbo/SifWCnIfcs0/s1600-h/7.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336636206942537074" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 113px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg-KWwJMRXI/AAAAAAAAAbo/SifWCnIfcs0/s320/7.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Neither username or password can be blank;&lt;/div&gt;&lt;div&gt;Error message to be displayed:&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-KWmD6dyI/AAAAAAAAAbg/d1z8fUHMun0/s1600-h/8.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336636204236044066" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 217px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-KWmD6dyI/AAAAAAAAAbg/d1z8fUHMun0/s320/8.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-KWlM-0PI/AAAAAAAAAbY/cu2A_6XNKfI/s1600-h/9.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336636204005642482" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 230px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-KWlM-0PI/AAAAAAAAAbY/cu2A_6XNKfI/s320/9.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;While Wrong password is entered, the error message will be seen:&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg-KWjunp_I/AAAAAAAAAbQ/IaBEPynIM7k/s1600-h/10.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336636203609860082" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg-KWjunp_I/AAAAAAAAAbQ/IaBEPynIM7k/s320/10.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Input the correct username and password:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-J9ANgHuI/AAAAAAAAAbI/3KjQIoBpQqY/s1600-h/11.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336635764578983650" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-J9ANgHuI/AAAAAAAAAbI/3KjQIoBpQqY/s320/11.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After registered a new user, a welcome speech will be shown:&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg-J81VMKUI/AAAAAAAAAbA/WNT3QnQ2MmQ/s1600-h/12.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336635761658440002" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 119px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg-J81VMKUI/AAAAAAAAAbA/WNT3QnQ2MmQ/s320/12.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Try to login:&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg-J83_4ioI/AAAAAAAAAa4/SPbrXRHCYn4/s1600-h/13.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336635762374380162" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 122px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg-J83_4ioI/AAAAAAAAAa4/SPbrXRHCYn4/s320/13.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Password field cannot be empty:&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg-J89Guq-I/AAAAAAAAAaw/XpsY63Nx_Z0/s1600-h/14.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336635763745270754" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 137px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg-J89Guq-I/AAAAAAAAAaw/XpsY63Nx_Z0/s320/14.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;While correct username and password are entered, a welcome speech will be shown:&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg-J8k2Y1GI/AAAAAAAAAao/8Gd0FnIO9V4/s1600-h/15.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336635757234279522" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 98px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg-J8k2Y1GI/AAAAAAAAAao/8Gd0FnIO9V4/s320/15.gif" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1196838599139703369?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1196838599139703369/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/workshop-6.html#comment-form' title='37 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1196838599139703369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1196838599139703369'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/workshop-6.html' title='Workshop 6'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg-KhH8-UWI/AAAAAAAAAcY/eQ_XnX8aiuE/s72-c/1.gif' height='72' width='72'/><thr:total>37</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-4988075755342860796</id><published>2009-05-16T20:26:00.000-07:00</published><updated>2009-05-16T20:35:39.666-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop 5'/><title type='text'>Workshop 5-C</title><content type='html'>&lt;div&gt;The output view:&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-ERUWT-xI/AAAAAAAAAaY/Xvq2W5ewbUA/s1600-h/3.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336629516512262930" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 228px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-ERUWT-xI/AAAAAAAAAaY/Xvq2W5ewbUA/s320/3.gif" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Fill the data:&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-ERKLwc1I/AAAAAAAAAaQ/UlKhYKR2_Ss/s1600-h/4.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336629513783636818" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 231px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-ERKLwc1I/AAAAAAAAAaQ/UlKhYKR2_Ss/s320/4.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;The processed output:&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg-ERItiwSI/AAAAAAAAAaI/RHfnfb0zO94/s1600-h/5.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336629513388474658" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 227px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg-ERItiwSI/AAAAAAAAAaI/RHfnfb0zO94/s320/5.gif" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;You can enable the following line in your controller class definition to skip the authenticity_token check:protect_from_forgery :only =&gt; [:create, :update, :destroy]  is added for Instant Rails 2.0 to perform/authorize the form operation.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Assign the root for the application:  map.root :controller =&gt; "Vehicle"&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;A index.rhtm with same code of cabtype.rhtml is added in order to skip no index error.&lt;/div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-FhKMUNaI/AAAAAAAAAag/ble-yY82kiw/s1600-h/6.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336630888175515042" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 224px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-FhKMUNaI/AAAAAAAAAag/ble-yY82kiw/s320/6.gif" border="0" /&gt;&lt;/a&gt; &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg-EQ9CncWI/AAAAAAAAAaA/1-8FJ23Z4SE/s1600-h/6.gif"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-4988075755342860796?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/4988075755342860796/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/workshop-5-c.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/4988075755342860796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/4988075755342860796'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/workshop-5-c.html' title='Workshop 5-C'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-ERUWT-xI/AAAAAAAAAaY/Xvq2W5ewbUA/s72-c/3.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-4933537219181438274</id><published>2009-05-16T20:25:00.000-07:00</published><updated>2009-05-16T20:26:47.022-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop 5'/><title type='text'>Workshop 5-B</title><content type='html'>The output view:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-D4PqQEUI/AAAAAAAAAZ4/i1Mi6G2dSPM/s1600-h/2.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336629085756985666" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 86px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-D4PqQEUI/AAAAAAAAAZ4/i1Mi6G2dSPM/s320/2.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-4933537219181438274?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/4933537219181438274/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/workshop-5-b.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/4933537219181438274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/4933537219181438274'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/workshop-5-b.html' title='Workshop 5-B'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg-D4PqQEUI/AAAAAAAAAZ4/i1Mi6G2dSPM/s72-c/2.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-3467172290561454300</id><published>2009-05-16T20:17:00.000-07:00</published><updated>2009-05-16T20:25:53.831-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop 5'/><title type='text'>Workshop 5-A</title><content type='html'>The output view:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg-DB-i2p2I/AAAAAAAAAZo/LSrov973gro/s1600-h/1.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336628153449621346" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 210px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg-DB-i2p2I/AAAAAAAAAZo/LSrov973gro/s320/1.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg-Dd0uuRmI/AAAAAAAAAZw/-YORYP54Xl0/s1600-h/2.gif"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-3467172290561454300?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/3467172290561454300/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/workshop-5.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3467172290561454300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3467172290561454300'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/workshop-5.html' title='Workshop 5-A'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg-DB-i2p2I/AAAAAAAAAZo/LSrov973gro/s72-c/1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1455336262174727437</id><published>2009-05-15T20:03:00.001-07:00</published><updated>2009-05-15T20:06:21.123-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 26-2 &amp; 3</title><content type='html'>Summarise your understanding and describe its relevance (250 words max) in either your study at university or in your work environment;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4tKwJVO4I/AAAAAAAAAZg/kEWNO5WkSdE/s1600-h/1.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336252271226600322" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 184px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4tKwJVO4I/AAAAAAAAAZg/kEWNO5WkSdE/s320/1.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;IT integrated systems need to be better organized and integrated to advance the use of business information in enterprises to the next stage and thereby promote innovation in business processes and customized services for individuals.&lt;br /&gt;&lt;br /&gt;Business Process Management (BPM) to improve business processes using the following cycle:&lt;br /&gt;1) Visualization of a business process,&lt;br /&gt;2) analysis and evaluation of a business process,&lt;br /&gt;3) design of an improved business process, and&lt;br /&gt;4) execution of an improved business process.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4tKv4RKWI/AAAAAAAAAZY/XrDgBCEUcmQ/s1600-h/2.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336252271155030370" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 186px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4tKv4RKWI/AAAAAAAAAZY/XrDgBCEUcmQ/s320/2.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;People in all levels, including the operational level, now require raw, real-time information so they can continuously improve their business processes. Therefore, integration middleware such as ERP and CRM will be used to enable real-time use of business information by using Web-service integration technology.&lt;br /&gt;&lt;br /&gt;The technologies of business process integration are as follows:&lt;br /&gt;1) ERP works as Web services.&lt;br /&gt;2)Flow technology to enable business process monitoring. This technology includes human flow monitoring technology and event tracking technology.&lt;br /&gt;&lt;br /&gt;Service-oriented integration middleware equipped with Web-service integration technology to support the Business Process Management framework. By using Web-service integration technology, enterprise personnel from the executive level to the operational level can use real-time information. The integration middleware has been adopted in the systems of industry-leading enterprises and will be used in other systems in various industries.&lt;br /&gt;&lt;br /&gt;In my working environment (a secondary school), the business processing management would be the related criteria. Many processes are not standardized, updated data and information are always appeared and decrease the quality of working.&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;Masahior Nalagawa, 5 Dec 2003, Business Process Management with Web-Service Integration Technology, p1&lt;br /&gt;&lt;br /&gt;M. Nakagawa: Business Process Management (BPM) is mandatory in the Web services age. (in Japanese), Web Services Conference 2003.http://interstage.fujitsu.com/jp/events/2003/828wsc.html&lt;br /&gt;&lt;br /&gt;Evan D., Morrison Alex, Menzies Koliadis el at, 2009, Business Process Integration: Method and Analysis&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1455336262174727437?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1455336262174727437/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-26-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1455336262174727437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1455336262174727437'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-26-2.html' title='Exercise 26-2 &amp; 3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4tKwJVO4I/AAAAAAAAAZg/kEWNO5WkSdE/s72-c/1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-7039539877620583823</id><published>2009-05-15T19:58:00.000-07:00</published><updated>2009-05-15T19:59:34.477-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 26-1</title><content type='html'>My topic:&lt;br /&gt;Business process analysis will be chosen to manage and develop integrated systems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-7039539877620583823?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/7039539877620583823/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-26-1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7039539877620583823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7039539877620583823'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-26-1.html' title='Exercise 26-1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-4047981144455735159</id><published>2009-05-15T19:48:00.000-07:00</published><updated>2009-05-15T19:58:15.093-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 25</title><content type='html'>1.      What is meant by a location based service?&lt;br /&gt;&lt;br /&gt;Location Based Service (LBS) is an intersection of three technologies like the following figure. It is created from New Information and Communication Technologies (NICTS) such as the mobile telecommunication system and hand held devices, from Internet and from Geographic Information Systems (GIS) with spatial databases.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4q6ehScFI/AAAAAAAAAZQ/uTrZ2cp0LUA/s1600-h/1.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336249792594079826" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 251px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4q6ehScFI/AAAAAAAAAZQ/uTrZ2cp0LUA/s320/1.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;LBS give the possibility of a two way communication and interaction. Therefore the user tells the service provider his actual context like the kind of information he needs, his preferences and his position. This helps the provider of such location services to deliver information tailored to the user needs.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4q6Y9_9LI/AAAAAAAAAZI/j96gQeRbmxM/s1600-h/2.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336249791103890610" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 207px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4q6Y9_9LI/AAAAAAAAAZI/j96gQeRbmxM/s320/2.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The basic components of an LBS: User, Communication Network, Positioning, Service Provider and Content Provider.&lt;br /&gt;&lt;br /&gt;The two types of services which LBS provides:&lt;br /&gt;Pull services sent information on user interaction (asking for the next restaurant)&lt;br /&gt;Push services deliver information without user interaction (advertisement in a shopping mall, weather warning).&lt;br /&gt;&lt;br /&gt;The example of searching a Chinese restaurant the information chain from a service request to the answer will be described in the following and is illustrated&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4q6WJCO5I/AAAAAAAAAZA/buWKpq5C2zk/s1600-h/3.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336249790344870802" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 179px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4q6WJCO5I/AAAAAAAAAZA/buWKpq5C2zk/s320/3.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The information the user want is a route to a Chinese restaurant near by. Therefore the user expresses his need by selecting the appropriate function on his mobile device: e.g. menu: position information =&gt; searches =&gt; restaurants =&gt; Chinese restaurant.&lt;br /&gt;&lt;br /&gt;1. Now if the function has been activated, the actual position of mobile device is obtained from the Positioning Service. This can be done either by the device itself using GPS or a network positioning service. Afterwards the mobile client sends the information request, which contains the objective to search for and the position via the communication network to a so called gateway.&lt;br /&gt;&lt;br /&gt;2. The gateway has the task to exchange messages among mobile communication network and the internet. Therefore he knows web addresses from several application servers and routes the request to such a specific server. The gateway will store also information about the mobile device which has asked for the information.&lt;br /&gt;&lt;br /&gt;3. The application server reads the request and activates the appropriate service - in our case a spatial search service.&lt;br /&gt;&lt;br /&gt;4. Now, the service analyses again the message and decides which additional information apart from the search criteria (restaurant + Chinese) and user position is needed to answer on the request. In our case the service will find that he needs information on restaurants from the yellow pages of a specific region and will therefore ask for a data provider for such data.&lt;br /&gt;&lt;br /&gt;5. Further the service will find that information on roads and ways is needed to check if the restaurant is reachable (e.g. sometimes a restaurant on the other river side might not be reachable since no bridge is nearby).&lt;br /&gt;&lt;br /&gt;6. Having now all the Information the service will do a spatial buffer and a routing query (like we know from GIS) to get some Chinese restaurants. After calculating a list of close by restaurants the result is sent back to the user via internet, gateway and mobile network. The restaurants will now be presented to the user either as a text list (ordered by distance) or drawn in a map. Afterwards the user could ask for more information on the restaurants (e.g. the menu and prices), which activates a different kind of &lt;em&gt;services&lt;/em&gt;. Finally if he has chosen a specific restaurant he can ask for a route to that restaurant.&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;Stefan Steiniger, Moritz Neun and Alistair Edwardes, &lt;em&gt;Foundations of Location Based Services&lt;/em&gt;, retrieving on 14 May 2009 from &lt;a href="http://www.spatial.cs.umn.edu/Courses/Fall07/8715/papers/IM7_steiniger.pdf"&gt;http://www.spatial.cs.umn.edu/Courses/Fall07/8715/papers/IM7_steiniger.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Shiode, N., Li, C., Batty, M., Longley, P., Maguire, D., 2004. &lt;em&gt;The impact and penetration of Location Based Services.&lt;/em&gt; In: Karimi, H. A., Hammad, A., ed. Telegeoinformatics. CRC Press, 349-366.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-4047981144455735159?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/4047981144455735159/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-25.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/4047981144455735159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/4047981144455735159'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-25.html' title='Exercise 25'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4q6ehScFI/AAAAAAAAAZQ/uTrZ2cp0LUA/s72-c/1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1328282659705707191</id><published>2009-05-15T19:14:00.000-07:00</published><updated>2009-05-15T19:48:00.528-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 24-4</title><content type='html'>Get an account username and password from the lecturer to LC_MOO at http://ispg.csu.edu.au:7680 and login to the Welcome Lobby.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4kCIBUGvI/AAAAAAAAAYg/Me3YvawajpM/s1600-h/1.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336242227411950322" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 230px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4kCIBUGvI/AAAAAAAAAYg/Me3YvawajpM/s320/1.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Login: user: train1, password: train1;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4kB4gff1I/AAAAAAAAAYY/TlljwB_nQ7c/s1600-h/2.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336242223247753042" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 230px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4kB4gff1I/AAAAAAAAAYY/TlljwB_nQ7c/s320/2.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;b. Hold a 5-minute discussion with Rocky on a special topic. Commands: act rocky (start bot) hush rocky (stop bot)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4kBgHkG2I/AAAAAAAAAYQ/lFPReGnRkC8/s1600-h/3.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336242216700746594" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 227px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4kBgHkG2I/AAAAAAAAAYQ/lFPReGnRkC8/s320/3.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;train1 activates Rocky.&lt;br /&gt;Rocky says, "Gee thanks for waking me up! I must have dozed off.."&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4kBtI1CiI/AAAAAAAAAYI/tj2Fr_QNxnM/s1600-h/4.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336242220195711522" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 314px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4kBtI1CiI/AAAAAAAAAYI/tj2Fr_QNxnM/s320/4.gif" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;I am trying to know how to communicate with Rocky.&lt;br /&gt;&lt;br /&gt;@who command:&lt;br /&gt;Name Connected Idle time Location&lt;br /&gt;---- --------- --------- --------&lt;br /&gt;train1 (#853) 14 minutes 0 seconds LC_MOO Welcome Lobby&lt;br /&gt;Total: 1 person, who has been active recently.&lt;br /&gt;&lt;br /&gt;look Command: getting a description of the current room or any other object&lt;br /&gt;Obvious exits: [door] to LC Cruises Inc., [bridge] to The Lawn, [enter] to Secretariat, [tool] to Tool Box Place, [skip] to Kidspace, [lily] to LilyPond, [resort] to Casuarina Conference Resort (Reception)&lt;br /&gt;&lt;br /&gt;Tool command:&lt;br /&gt;Obvious exits: [out] to LC_MOO Welcome Lobby&lt;br /&gt;&lt;br /&gt;Conversation with Rocky:&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4kBVA2pJI/AAAAAAAAAYA/pVLbh_v7uz4/s1600-h/5.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336242213719811218" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 231px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4kBVA2pJI/AAAAAAAAAYA/pVLbh_v7uz4/s320/5.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c. Rocky is an ELIZA-like bot. Report your findings.&lt;br /&gt;It operates by processing users' responses to scripts and makes interaction between human and computers.&lt;br /&gt;There is an effect which is called ELIZA effect; it is the tendency to unconsciously assume computer behaviors are analogous to human behaviors.&lt;br /&gt;&lt;br /&gt;More generally, the ELIZA effect describes any situation where, based solely on a system's output, users perceive computer systems as having "intrinsic qualities and abilities which the software controlling the (output) cannot possibly achieve" or "assume that (outputs) reflect a greater causality than they actually do."&lt;br /&gt;&lt;br /&gt;From a psychological standpoint, the ELIZA effect is the result of a subtle cognitive dissonance between the user's awareness of programming limitations and their behavior towards the output of the program.&lt;br /&gt;&lt;br /&gt;The discovery of the ELIZA effect was an important development in artificial intelligence, demonstrating the principle of using social engineering rather than explicit programming to pass a Turing test.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/ELIZA"&gt;http://en.wikipedia.org/wiki/ELIZA&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/ELIZA_effect"&gt;http://en.wikipedia.org/wiki/ELIZA_effect&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1328282659705707191?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1328282659705707191/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-24-4.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1328282659705707191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1328282659705707191'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-24-4.html' title='Exercise 24-4'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4kCIBUGvI/AAAAAAAAAYg/Me3YvawajpM/s72-c/1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-6222660616792088241</id><published>2009-05-15T19:13:00.000-07:00</published><updated>2009-05-15T19:14:04.105-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 24-3</title><content type='html'>&lt;strong&gt;&lt;/strong&gt;&lt;em&gt;3. Identify various activities in e-commerce where software agents are currently in use.&lt;br /&gt;Commerce agents: Software agents which mediates between two companies having a business relationship.&lt;br /&gt;&lt;br /&gt;Data management agents: Software agents carrying out tasks with corpora of data such as processing text from websites and producing summary with associated keywords.&lt;br /&gt;&lt;br /&gt;Government agents: Software agents carrying out activities associated with government such as search government regulations, policies and statistics etc..&lt;br /&gt;News agents: Software agents concerning tasks associated with web-based news services.&lt;br /&gt;&lt;br /&gt;Shopping agents: Most popular software agents in the Internet and are used for accessing retails sites to source for a particular product with cheapest price.  For example, a shopping agent can programmed to access CD sites to source the cheapest quote for a particular CD.&lt;br /&gt;Software agents: Agents, which carry out tasks relating to new updates for existing system, downloading and installing the updates when received.&lt;br /&gt;&lt;br /&gt;Stock agents: Software agents which carry out tasks relating to stock transactions including notifying you when the stock price reaching a preset price by e-mail or sms, providing updated technical analysis based on the latest market situations or maintaining the stock portfolio and giving warning signals when the portfolio is under performed.&lt;br /&gt;&lt;br /&gt;The following activities in e-commerce where software agents are currently in use:&lt;br /&gt;&lt;br /&gt;Shopping agent: it automatically updates the request information regarding products which customer is interested from e-commerce site.&lt;br /&gt;&lt;br /&gt;Personal agent: it handles great amount of information, such as identifier, address, credit card number and etc. at e-commerce sites. And it also facilitates the secure management of personal information.&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-6222660616792088241?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/6222660616792088241/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-24-3.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6222660616792088241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6222660616792088241'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-24-3.html' title='Exercise 24-3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-6013407774561623856</id><published>2009-05-15T19:12:00.000-07:00</published><updated>2009-05-15T19:13:24.169-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 24-2</title><content type='html'>Describe how techniques such as artificial intelligence and statistical techniques are used in software agents. &lt;br /&gt;The intelligent agent can be programmed for the users’ aim, targets and preference with artificial intelligence.  For example, an intelligent agent can be programmed with artificial intelligence to assist the users to search a specific type, model and color of car in the Internet including the negotiation on the price and closing the deal as well.  Alternatively, the intelligent agent can just source the cars available in the Internet meeting the users’ requirement leaving the user to make the final decision. &lt;br /&gt;&lt;br /&gt;Mobile agents are programmed with statistical techniques to enable them to monitor the network situation and utilization of system resources. &lt;br /&gt;&lt;br /&gt;Like intelligent agent, when it perceives the change of environment, it will take appropriate actions so as to maximize the successful rate. It is like human learning process. And some agents respond the action based on the programmed statistic figures.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-6013407774561623856?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/6013407774561623856/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-24-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6013407774561623856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6013407774561623856'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-24-2.html' title='Exercise 24-2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-7678353181596052174</id><published>2009-05-15T19:10:00.000-07:00</published><updated>2009-05-15T19:12:53.165-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 24-1</title><content type='html'>1. Differentiate the various types of software agents. &lt;br /&gt;The various types of software agents:&lt;br /&gt;&lt;br /&gt;Intelligent software agents&lt;br /&gt;The design of intelligent software agents is a branch of artificial intelligence research. Capabilities of intelligent agents include ability to adapt the environment and reconfiguring in response. This can be achieved through the choice of alternative problem-solving-rules or algorithms, or through the discovery of problem solving strategies. Adaptation may also include other aspects of an agent's internal construction, such as recruiting processor or storage resources. &lt;br /&gt;It also has the ability to learn through trial-and-error, it implies a capability of introspection and analysis of behavior and success. Alternatively, learning may proceed by example and generalization, it implies a capacity to abstract and generalize. &lt;br /&gt;&lt;br /&gt;Autonomous agents&lt;br /&gt;Autonomous agents are software agents that claim to be autonomous, being self-contained and capable of making independent decisions, and taking actions to satisfy internal goals based upon their perceived environment. All software agents in important applications are closely supervised by people who start them up, monitor and continually modify their behavior, and shut them down when necessary. &lt;br /&gt;&lt;br /&gt;Distributed agents&lt;br /&gt;Since agents are well suited to include their required resources in their description, they can be designed to be very loosely coupled and it becomes easy to have them executed as independent threads and on distributed processors. Thus they become distributed agents and the considerations of distributed computing apply. Agent code is particularly easy to implement in a distributed fashion and should scale well.&lt;br /&gt;&lt;br /&gt;Multi-agent systems&lt;br /&gt;Several agents may form a multi-agent system. A multiple-agent system will not have all data or all methods available to achieve an objective and thus will have to collaborate with other agents. Also, there may be little or no global control and thus such systems are sometimes referred to as swarm systems. As with distributed agents, data is decentralized and execution is asynchronous. &lt;br /&gt;&lt;br /&gt;Mobile agents&lt;br /&gt;With mobile agent, the agent code moves by itself, including its execution state, on to another machine, to continue execution there. Agents can be used to gather system information, taking back-up of files by copying them in client-server paradigm, monitoring network throughput or to check resources availability and moderating the resource utilization of system by checking the services running on system.&lt;br /&gt;&lt;br /&gt;Fuzzy agents&lt;br /&gt;In computer science a fuzzy agent is a software agent that implements fuzzy logic. This software entity interacts with its environment through an adaptive rule-base and can therefore be considered as a type of intelligent agent&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;Jeffrey M. Bradshaw , An Introduction to Software Agents retrieving on 15 may 2009 from http://agents.umbc.edu/introduction/01-Bradshaw.pdf &lt;br /&gt;&lt;br /&gt;Wikipedia, 4 May 2009, Software agent, retrieving on 14 may 2009 from http://en.wikipedia.org/wiki/Software_agent&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-7678353181596052174?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/7678353181596052174/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-24-1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7678353181596052174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7678353181596052174'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-24-1.html' title='Exercise 24-1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1651981958027497423</id><published>2009-05-15T19:05:00.000-07:00</published><updated>2009-05-15T19:06:13.687-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 23-3</title><content type='html'>&lt;p&gt;3. How can you get your site listed at major search sites; and how could you improve your site ranking?&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Add the website to famous search sites by paying the submission fees;&lt;/li&gt;&lt;li&gt;Add some meta data into the website itself as the keywords for searching in search engines; it is free but lower effectiveness. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;How could you improve your site ranking?&lt;br /&gt;a.       Some search engine sites, such as Google, would rank a page according to the number of links and quality of links leading to the pages. Therefore, if you manage to get more important websites linking to your site, the ranking of your site would improve.&lt;br /&gt;&lt;br /&gt;b.      Google would give more weight to the title of the website, those within the "title" tags. Therefore using more meaningful title for your webpage would improve their ranking.&lt;br /&gt;&lt;br /&gt;c. Similarly Google would index those webpage with image including ALT tags. Therefore, including ALT tags to the images of the webpage would also improve their ranking.&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;Berkeley, UC. (2008). Meta-search engines. Retrieved April25, 2008 from &lt;a href="http://www.lib.berkeley.edu/TeachingLib/Guides/Internet/MetaSearch.html"&gt;http://www.lib.berkeley.edu/TeachingLib/Guides/Internet/MetaSearch.html&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Heng, C. (n.d.) How to improve your search engine ranking on Google. Retrieved April 28, 2008 from &lt;a href="http://www.thesitewizard.com/archive/google.shtml"&gt;http://www.thesitewizard.com/archive/google.shtml&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;TechTerms. (n.d.) Spider. Retrieved April 25, 2008 from  &lt;a href="http://www.techterms.com/definition/spidertechterms.com/definition/spider"&gt;http://www.techterms.com/definition/spidertechterms.com/definition/spider&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Web search engine (n.d.) Retrieved 25 April 2008 from:&lt;br /&gt;      &lt;a href="http://en.wikipedia.org/wiki/Search_engine"&gt;http://en.wikipedia.org/wiki/Search_engine&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Intro To Search Engine Submission, retrieving on 19 May 2009 from &lt;a href="http://searchenginewatch.com/2168011"&gt;http://searchenginewatch.com/2168011&lt;/a&gt;&lt;br /&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1651981958027497423?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1651981958027497423/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-23-3.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1651981958027497423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1651981958027497423'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-23-3.html' title='Exercise 23-3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-7463396538522606986</id><published>2009-05-15T19:03:00.000-07:00</published><updated>2009-05-15T19:04:18.692-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 23-2</title><content type='html'>2. What is a meta-search engine? Provide some examples.&lt;br /&gt;Meta-search engine is an application which transmits your search requests or keywords to several individual search engines and their database of web pages. Results from each search engineers would be consolidated and presented to the client grouped by their sourced search engines.  Such as google &amp;amp; yahoo.&lt;br /&gt;&lt;br /&gt;Here are some examples of meta-search engine:&lt;br /&gt;Vivisimo: &lt;a href="http://vivisimo.com/"&gt;http://vivisimo.com&lt;/a&gt;,&lt;br /&gt;Ixquick: &lt;a href="http://www.us.ixquick.com/"&gt;www.us.ixquick.com&lt;/a&gt;&lt;br /&gt;Kartoo: &lt;a href="http://kartoo.com/"&gt;http://kartoo.com&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Greg R. Notess (4 Apr 2006). Meta search engines. Retrieving on 19 May 2009 from&lt;br /&gt;http://www.searchengineshowdown.com/multi/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-7463396538522606986?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/7463396538522606986/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-23-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7463396538522606986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7463396538522606986'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-23-2.html' title='Exercise 23-2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-5252560724442792784</id><published>2009-05-15T19:02:00.000-07:00</published><updated>2009-05-15T19:03:32.656-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 23-1</title><content type='html'>&lt;div align="justify"&gt;1.      What is a spider? What does it do? &lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;Spider is a &lt;a href="http://www.webopedia.com/TERM/s/program.html"&gt;program&lt;/a&gt; that automatically fetches web pages. It is also named as Web Crawler. It is used to feed pages to &lt;a href="http://www.webopedia.com/TERM/s/search_engine.html"&gt;search engines&lt;/a&gt;. It's called a spider because it crawls over the &lt;a href="http://www.webopedia.com/TERM/s/World_Wide_Web.html"&gt;Web&lt;/a&gt;. Because most web pages contain &lt;a href="http://www.webopedia.com/TERM/s/link.html"&gt;links&lt;/a&gt; to other pages, a spider can start almost anywhere. As soon as it sees a link to another page, it goes off and fetches it. Large search engines, like &lt;a href="http://www.webopedia.com/TERM/s/Alta_Vista.html"&gt;Alta Vista&lt;/a&gt; or Google, have many spiders working in parallel.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference:Spider. Retrieving on 16 May 2009 from &lt;a href="http://www.webopedia.com/TERM/s/spider.html"&gt;http://www.webopedia.com/TERM/s/spider.html&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-5252560724442792784?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/5252560724442792784/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-23-1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/5252560724442792784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/5252560724442792784'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-23-1.html' title='Exercise 23-1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-8293873487789016659</id><published>2009-05-15T19:00:00.000-07:00</published><updated>2009-05-15T19:01:54.533-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 22</title><content type='html'>&lt;div align="justify"&gt;Differentiate between software systems such as Customer Relationship Management (CRM) software, Business-to-Business e-commerce programs and Supply-Chain Management (SCM) software.&lt;br /&gt;&lt;br /&gt;Customer Relationship Management (CRM) software, Business-to-Business e-commerce program and Supply-Chain Management software are performing different functionalities in company-wide environment. &lt;br /&gt;&lt;br /&gt;Differentiate between software systems such as Customer Relationship Management (CRM) software, Business-to-Business e-commerce program and Supply-Chain Management software (SCM). are performing different functionalities in company-wide environment.&lt;br /&gt;&lt;br /&gt;Customer Relationship Management (CRM) is a business philosophy involving identifying, understanding and better providing for customers while building a relationship with each customer to improve customer satisfaction and maximize profits. The CRM software helps to acquire and retain customers, improve customer loyalty, gains customer insight, and implementing customer-focused strategies. It assists the company drive new growth, maintain competitive agility, and attain operational excellence. It's about understanding, anticipating and responding to customers' needs.&lt;br /&gt;&lt;br /&gt;Business-to-Business e-commerce program is software which automates processes or commerce transactions between businesses by using electronic.  With B2B, the companies involved require negotiation and integration to enable communication between the companies for the business transaction.  B2B program builds and improves the relationship between companies and business partners.&lt;br /&gt;&lt;br /&gt;Supply chain management (SCM) is the combination of art and science that goes into improving the way your company finds the raw components it needs to make a product or service and deliver it to customers. It contains five components: Plan, Source, Make, Deliver and Return.&lt;br /&gt;The SCM software is an application, which helps company to improve various company business operations and to complete the operations of the above components.  The goals of SCM software are to reduce the inventory, reduce costs and allow all parties in the supply chain with better resource management, planning for future needs. And benefit from having a single major source to go to for up-to-date information.&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;&lt;br /&gt;CRM Software Solutions. retrieving on 12 May 2009 from &lt;a href="http://www.bestpricecomputers.co.uk/glossary/crm-software-solutions.htm"&gt;http://www.bestpricecomputers.co.uk/glossary/crm-software-solutions.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Customer relationship management. Retrieving on 7 May 2009 from &lt;a href="http://en.wikipedia.org/wiki/Customer_relationship_management"&gt;http://en.wikipedia.org/wiki/Customer_relationship_management&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Business to business Overview. Darwin Publications. Retrieving on 7 May 2009 from &lt;a href="http://www.netessence.com.cy/downloads/b2b.pdf"&gt;http://www.netessence.com.cy/downloads/b2b.pdf&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Srikanth, A (2000). E-commerce: a B2B guide. Retrieving on 10 May 2009 from &lt;a href="http://www.hinduonnet.com/businessline/iw/2000/05/28/stories/0728g101.htm"&gt;http://www.hinduonnet.com/businessline/iw/2000/05/28/stories/0728g101.htm&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Trapp. R. (2007). How customer relationship management systems can be of benefit to your business. Retrieving on 7 May 2009 from &lt;a href="http://www.independent.co.uk/news/business/sme/how-customer-relationship-management-systems-can-be-of-benefit-to-your-business-451821.html"&gt;http://www.independent.co.uk/news/business/sme/how-customer-relationship-management-systems-can-be-of-benefit-to-your-business-451821.html&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Worthen, B. (2007). ABC: An introduction to supply chain management. Retrieving on 8 May 2009 from &lt;a href="http://www.cio.com/article/print/40940"&gt;http://www.cio.com/article/print/40940&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Customer relationship management. Retrieving on 7 May 2009 from &lt;a href="http://en.wikipedia.org/wiki/Customer_relationship_management"&gt;http://en.wikipedia.org/wiki/Customer_relationship_management&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Srikanth, A (2000). E-commerce: a B2B guide. Retrieving on 7 May 2009 from&lt;br /&gt;&lt;a href="http://www.hinduonnet.com/businessline/iw/2000/05/28/stories/0728g101.htm"&gt;http://www.hinduonnet.com/businessline/iw/2000/05/28/stories/0728g101.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thomas Wailgum, 20 Nov 2008, Supply Chain Management Definition and Solutions, retrieving on 14 May 2009, from &lt;a href="http://www.cio.com/article/40940/Supply_Chain_Management_Definition_and_Solutions"&gt;http://www.cio.com/article/40940/Supply_Chain_Management_Definition_and_Solutions&lt;/a&gt;&lt;br /&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-8293873487789016659?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/8293873487789016659/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-22.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/8293873487789016659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/8293873487789016659'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-22.html' title='Exercise 22'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-3025108782912675214</id><published>2009-05-15T18:57:00.000-07:00</published><updated>2009-05-15T18:59:06.909-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 21</title><content type='html'>Develop the class diagram for the following shopping cart specifications:&lt;br /&gt;A shoppingCart object is associated with only one creditCard and customer and to items in itemToBuy object. Persistent customer information such as name, billing address, delivery address, e-mail address and credit rating is stored in the customer object. The credit card object is associated with a frequentShopper discount object, if the credit rating for the customer is good. The customer can make or cancel orders as well as add and delete items to the shopping cart product. The credit card object contains the secure method for checking that the charge is authentic.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4dnMd-XVI/AAAAAAAAAX4/4uRtEG1VIcA/s1600-h/1.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336235167679667538" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 242px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4dnMd-XVI/AAAAAAAAAX4/4uRtEG1VIcA/s320/1.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Reference&lt;br /&gt;Williams B. (2003) UML class diagram for shopping carts. Database Answers. Retrieving on 4 May 2009, from &lt;a href="http://www.databaseanswers.org/data_models/uml_class_diagram_for_shopping_cart/index.htm"&gt;http://www.databaseanswers.org/data_models/uml_class_diagram_for_shopping_cart/index.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-3025108782912675214?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/3025108782912675214/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-21.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3025108782912675214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3025108782912675214'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-21.html' title='Exercise 21'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4dnMd-XVI/AAAAAAAAAX4/4uRtEG1VIcA/s72-c/1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1143439942732466464</id><published>2009-05-15T18:52:00.000-07:00</published><updated>2009-05-15T18:54:16.825-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exerxise 20</title><content type='html'>&lt;p align="justify"&gt;Use Case diagrams describe what a system does from the standpoint of an external observer. The emphasis is on what a system does rather than how.&lt;br /&gt;&lt;/p&gt;&lt;p align="justify"&gt;A &lt;a name="usecase"&gt;&lt;/a&gt;use case is a summary of scenarios for a single task or goal. An &lt;a name="actor"&gt;&lt;/a&gt;actor is who or what initiates the events involved in that task. Actors are simply roles that people or objects play. The picture below is a Make Appointment use case for the medical clinic. The actor is a Patient. The connection between actor and use case is a communication association (or communication for short).&lt;br /&gt;&lt;br /&gt;A Class diagram gives an overview of a system by showing its classes and the relationships among them. Class diagrams are static -- they display what interacts but not what happens when they do interact.&lt;/p&gt;&lt;p align="justify"&gt;&lt;br /&gt;Interaction diagrams are dynamic model views. They describe how objects collaborate.&lt;br /&gt;A &lt;a name="sequence"&gt;&lt;/a&gt;sequence diagram is an interaction diagram that details how operations are carried out -- what messages are sent and when. Sequence diagrams are organized according to time. The time progresses as you go down the page. The objects involved in the operation are listed from left to right according to when they take part in the message sequence.&lt;br /&gt;&lt;/p&gt;&lt;p align="justify"&gt;Collaboration diagrams are also interaction diagrams. They convey the same information as sequence diagrams, but they focus on object roles instead of the times that messages are sent. In a sequence diagram, object roles are the vertices and messages are the connecting links.&lt;br /&gt;A &lt;a name="Statediagrams"&gt;&lt;/a&gt;statechart diagram shows the possible states of the object and the transitions that cause a change in state.&lt;br /&gt;&lt;br /&gt;An &lt;a name="Activitydiagrams"&gt;&lt;/a&gt;activity diagram is essentially a fancy flowchart. Activity diagrams and statechart diagrams are related. While a statechart diagram focuses attention on an object undergoing a process (or on a process as an object), an activity diagram focuses on the flow of activities involved in a single process. The activity diagram shows the how those activities depend on one another.&lt;br /&gt;&lt;/p&gt;&lt;p align="justify"&gt;A component is a code module. Component diagrams are physical analogs of class diagram. Deployment diagrams show the physical configurations of software and hardware.&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;Randy Miller, Practical UML: A Hands-On Introduction for Developers, Retrieved on 9 may 2009 from &lt;a href="http://edn.embarcadero.com/article/31863"&gt;http://edn.embarcadero.com/article/31863&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1143439942732466464?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1143439942732466464/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exerxise-20.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1143439942732466464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1143439942732466464'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exerxise-20.html' title='Exerxise 20'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-499038211956066658</id><published>2009-05-15T18:51:00.001-07:00</published><updated>2009-05-15T18:51:44.359-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 19-4</title><content type='html'>4. Why is a two-phase commit protocol better than a one-phase atomic commit protocol?&lt;br /&gt;With one-phase atomic commit protocol, a server could make a decision by itself to abort transaction.  As a result, the consistency of the transaction would be affected.&lt;br /&gt;&lt;br /&gt;With two-phase commit protocol, the coordinator would co-ordinate and consolidates an unique decisions of all the servers and client involved before a final decision on whether to abort or commit a transaction which could ensure the consistency of the transaction.&lt;br /&gt;&lt;br /&gt;Two-phase commit protocol provides the advantages over one-phase atomic commit protocol. Automatic recovery mechanism: transaction will be recovered as long as a system or media is failure during transaction executing. Synchronization among all participating databases: all database servers will receive the same action, either commit or rollback.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;&lt;br /&gt;Ince, D. (2004). Developing distributed and e-commerce applications. Pearson Addison Wesley.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-499038211956066658?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/499038211956066658/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-19-4.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/499038211956066658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/499038211956066658'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-19-4.html' title='Exercise 19-4'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-3376107922181245907</id><published>2009-05-15T18:50:00.001-07:00</published><updated>2009-05-15T18:50:30.590-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 19-3</title><content type='html'>3. What is difference in load balancing with traditional and transactional MOM, RPC and conversations?&lt;br /&gt;&lt;br /&gt;Message Orientated Middleware (MOM) supports asynchronous communication in 2 models, the point to point messaging and message queue models. &lt;br /&gt;The advantage of message queue is that the remote program does not require being active while message is sent by the calling program.  Both the calling and remote program can process at the own pace without disruption by the middleware.  In addition, the calling program can broadcast message to more than 1 remote program at the same time. &lt;br /&gt;&lt;br /&gt;Remote Procedure Call (RPC) is a synchronous communication where the calling application must stop processing or is blocked from proceeding until receiving the response from the remote procedure.  RPC is simple but its performance is a great concern.  In particular, RPC requires a lot of processing power and the numerous exchanges between the client and server is a burden to the networks.&lt;br /&gt;&lt;br /&gt;MOM’s performance is better than RPC especially in load balancing which implement prioritization and thread pooling.&lt;br /&gt;&lt;br /&gt;However, Transaction Process Monitoring has greater performance advantage in load balancing over both RPC and MOM.  TP monitoring would implement the following in load balancing:&lt;br /&gt;·        use queued input buffer to protect against peak in the workload;&lt;br /&gt;·        priority scheduling to prioritize messages;&lt;br /&gt;·        support server threads to save overhead of heavy weight processes; and&lt;br /&gt;·        make sure that none of the process would be overloaded.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-3376107922181245907?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/3376107922181245907/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-19-3.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3376107922181245907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3376107922181245907'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-19-3.html' title='Exercise 19-3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-5861717914679135000</id><published>2009-05-15T18:47:00.000-07:00</published><updated>2009-05-15T18:49:58.544-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 19-2</title><content type='html'>1.      Describe a TP monitor environment. How can a TP monitor stop an operating system being overwhelmed?&lt;br /&gt;&lt;br /&gt;TP monitor is usually a middleware in three tiers client-server architecture. It is a control program that manages the transfer of data between multiple local and remote terminals and the application programs that serve them. It may also include programs that format the terminal screens and validate the data entered.&lt;br /&gt;In a distributed client/server environment, a TP monitor provides integrity by ensuring that transactions do not get lost or damaged. It may be placed in a separate machine and used to balance the load between clients and various application servers and database servers. It is also used to create a high availability system by switching a failed transaction to another machine. A TP monitor guarantees that all databases are updated from a single transaction.&lt;br /&gt;The types of jobs performed through the TP monitor are: process management, transaction management, and client/server communication management. TP monitor can stop an operation system being overwhelmed by maintaining a pool of processes and queues transactions so that the clients can take turn to use the pool.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;TP MONITOR, retrieving on 2/5, from &lt;a href="http://encyclopedia2.thefreedictionary.com/TP+monitor"&gt;http://encyclopedia2.thefreedictionary.com/TP+monitor&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;LUISA CATALAN, DENNIS A. LUDENA R., HIDENORI HUMENO, MASAYOSHI ARITSUGI, October 2008, &lt;em&gt;Design of a Real Time Transaction Processing Monitor (TPM) Benchmark Testbed&lt;/em&gt;, world scientific and engineering academy and society, Issue 10, Volume 5&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-5861717914679135000?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/5861717914679135000/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-19-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/5861717914679135000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/5861717914679135000'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-19-2.html' title='Exercise 19-2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-4921189681716412713</id><published>2009-05-15T18:45:00.000-07:00</published><updated>2009-05-15T18:47:29.313-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 19-1</title><content type='html'>&lt;p&gt;1. Give a description in your own words of the ACID properties of a transaction. &lt;/p&gt;&lt;p&gt;ACID properties of a transaction are: &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Atomicity: Transaction must be an un-separated action as an atom. If the transaction fails, all objects have to roll back to the original status before making transaction. There are two outcomes of a transaction, completed and not execution only.&lt;/li&gt;&lt;li&gt;Consistency: The condition of a transaction has to be stable. While the transaction is committed, the condition would be changed to another stable condition. If it fails, all objects would be recovered to the condition before taking transaction. &lt;/li&gt;&lt;li&gt;Isolation: Each transaction is independence and has the ability to make sequence, not interrupted to each others.&lt;/li&gt;&lt;li&gt;Durability: The raw data would not be changed until the transaction is committed. After commitment, the modified data would be kept forever, whatever there is any interruption&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-4921189681716412713?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/4921189681716412713/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-19.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/4921189681716412713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/4921189681716412713'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-19.html' title='Exercise 19-1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-6311792643149781104</id><published>2009-05-15T18:44:00.000-07:00</published><updated>2009-05-15T18:45:08.764-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 18</title><content type='html'>Threading demonstration in Python&lt;br /&gt;&lt;br /&gt;A simple demonstration of the threading module in Python that uses both a lock and semaphore to control concurrency is by Ted Herman at the University of Iowa. The code and sample output below are worth a look. Report your findings.&lt;br /&gt;&lt;br /&gt;The output is similar to the output given in the study guide.  Only the records of processing time are different to the given output.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-6311792643149781104?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/6311792643149781104/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-18.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6311792643149781104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6311792643149781104'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-18.html' title='Exercise 18'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1518991909088801101</id><published>2009-05-15T18:42:00.001-07:00</published><updated>2009-05-15T18:42:44.728-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 17</title><content type='html'>Exercise 17: Concurrency terms&lt;br /&gt;Find definitions for eight terms and concepts used in threaded programming:&lt;br /&gt;&lt;br /&gt;Thread Synchronisation: It refers to the act of shielding against multithreading issues such as data- races, deadlocks and starvation. Synchronisation ensures that code running in different threads access the condition variable in safety and that the condition variable is in some globally consistent state.&lt;br /&gt;&lt;br /&gt;Locks: &lt;a name="28285"&gt;&lt;/a&gt;Each thread has a working memory, in which it may keep copies of the values of variables from the main memory that is shared between all threads. To access a shared variable, a thread usually first obtains a lock and flushes its working memory. This guarantees that shared values will thereafter be loaded from the shared main memory to the threads working memory. When a thread unlocks a lock it guarantees the values it holds in its working memory will be written back to the main memory.&lt;br /&gt;&lt;br /&gt;Deadlock: It describes a situation where two or more threads are blocked forever, waiting for each other. When Deadlock runs, it's extremely likely that both threads will block when they attempt to invoke bow back. Neither block will ever end, because each thread is waiting for the other to exit bow.&lt;br /&gt;&lt;br /&gt;Semaphores: It provides a mechanism to regulate access to resources. Unlike locks, semaphores aren't tied to particular scalars. It doesn't limit their values to zero and one, so they can be used to control operation to some resource that there may be more than one of file handling. Increment and decrement amounts aren't fixed at one either, so threads can reserve or return multiple resources at once.&lt;br /&gt;&lt;br /&gt;Mutex (mutual exclusion): Its algorithms are used in concurrent programming to avoid the simultaneous use of a common resource, such as a global variable, by pieces of computer code called critical sections.&lt;br /&gt;&lt;br /&gt;Thread: A thread is a thread of execution in a program. Every thread has a priority. Threads with higher priority are executed in preference to threads with lower priority. Each thread may or may not also be marked as a daemon. When code running in some thread creates a new Thread object, the new thread has its priority initially set equal to the priority of the creating thread, and is a daemon thread if and only if the creating thread is a daemon.&lt;br /&gt;&lt;br /&gt;Event: Event can be considered as an action, changes or transactions in concurrent programming. In some situation, it is like a user response such as pressing a button or a key.  The associated script is written to response to such action or user response as event handling scripts.&lt;br /&gt;&lt;br /&gt;Waitable timer: Waitable timers were introduced with Windows 98 and Windows NT 4.0. and they were designed to work with threads that need to block for some times. These timers are kernel objects which are signaled in the specified time, or in regular time intervals. They can specify the callback function which gets called when timer gets signaled. This callback function is usually called a completion routine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1518991909088801101?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1518991909088801101/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-17.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1518991909088801101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1518991909088801101'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-17.html' title='Exercise 17'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-7537469310531239043</id><published>2009-05-15T18:40:00.000-07:00</published><updated>2009-05-15T18:41:02.368-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 16-6</title><content type='html'>6. The use of digital certificates and passports are just two examples of many tools for validating legitimate users and avoiding consequences such as identity theft. What others exist?&lt;br /&gt;&lt;br /&gt;Other than the use of digital certificates and passports, there are smart cards containing both the private and public keys and the use of biometric data for validating the legitimate users to avoid identity theft.Other than digital certificates and passport, biometric technique such as retinal scan can be used for validating legitimate users and avoiding consequences as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-7537469310531239043?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/7537469310531239043/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-16-6.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7537469310531239043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7537469310531239043'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-16-6.html' title='Exercise 16-6'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-3310693628201351454</id><published>2009-05-15T18:36:00.000-07:00</published><updated>2009-05-15T18:39:21.759-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 16-4</title><content type='html'>&lt;div align="justify"&gt;4. Visit the TRUSTe web site. Describe what services and solutions are offered. &lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;Unlike Verisign offering a comprehensive trust mark for secure e-commerce site, TRUSTe offers the following kinds of web seals for specific applications:&lt;br /&gt;·        Web privacy seal – concerns measures to protect customers’ privacy;&lt;br /&gt;·        E-mail privacy seal – concerns measures in handling e-mails sent to customers;&lt;br /&gt;·        EU Safe Harbor seal – concerns compliance with international privacy laws in&lt;br /&gt;        US and European parties;&lt;br /&gt;·        International services – services for certifying foreign-language privacy policies&lt;br /&gt;        and administer disputes resolution in international level;&lt;br /&gt;·        Children’s privacy seal – concerns compliance with the Children’s Online&lt;br /&gt;        Privacy Protection Act (COPPA); and&lt;br /&gt;·        Japan privacy seal – concerns compliance with privacy standards in Japan.&lt;br /&gt;·        Trusted downloaded program – program for certifying download sites not&lt;br /&gt;        exhibiting surreptitious activities, and are distributed in a responsible manner.&lt;br /&gt;&lt;br /&gt;Different from Verisign, TRUSTe is assisting business and consumers to identify the trustworthy online organizations by auditing the website in compliance with standard or best practice they provided and ongoing monitoring sealed websites. Now the following web seals are available:&lt;br /&gt;l   Web Privacy Seal&lt;br /&gt;l   Email Privacy Seal&lt;br /&gt;l   EU Safe Harbor Seal&lt;br /&gt;l   International Services&lt;br /&gt;l   Children’s Privacy Seal&lt;br /&gt;l   Japan Privacy Seal&lt;br /&gt;&lt;br /&gt;Reference:&lt;a href="http://en.wikipedia.org/wiki/TRUSTe"&gt;http://en.wikipedia.org/wiki/TRUSTe&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-3310693628201351454?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/3310693628201351454/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-16-4.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3310693628201351454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3310693628201351454'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-16-4.html' title='Exercise 16-4'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-342464190870564337</id><published>2009-05-15T18:28:00.001-07:00</published><updated>2009-05-15T18:33:31.624-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 16-3</title><content type='html'>3. Visit the Verisign web site - what solutions does it offer for e-commerce?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4W5uD2qlI/AAAAAAAAAXw/IAOhXjstHo4/s1600-h/3.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336227789353167442" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4W5uD2qlI/AAAAAAAAAXw/IAOhXjstHo4/s320/3.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;E-Commerce, Trust, and SSL&lt;br /&gt;Gaining the trust of online customers is vital for the success of e-commerce. Make sure your Web site earns its full potential by increasing customer confidence at transaction time.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What concerns online shoppers when making an online purchase?&lt;br /&gt;87% of online shoppers are concerned about credit card fraud&lt;br /&gt;85% of online shoppers are concerned about identity theft&lt;br /&gt;83% of online shoppers are concerned about sharing personal information&lt;br /&gt;77% of online shoppers are concerned about spyware&lt;br /&gt;(Source: TNS Research, August 2006)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;Shoppers Abandon Carts and Buy Offline&lt;br /&gt;Fraud and identity theft have created a chilling effect on e-commerce. Of online consumers, 65% shop only at sites they know and trust, and 65% of online shoppers have abandoned a shopping cart because they did not “trust” the transaction. (Forrester Research, December 2005.)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;Trust Signs Restore Consumer Confidence&lt;br /&gt;Web site visitors have learned to look for the closed padlock and "https" in the URL address to show that a Web page is secure. In the latest high security browsers, they also see a green address bar when a highly authenticated Extended Validation certificate is detected. &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;VeriSign helps build confidence with your online customers and helps you comply with security policies to inspire trust with your business partners. Give your Web site visitors the confidence to interact online with the most trusted and secure option for SSL: Secure Site Pro with EV SSL Certificates.&lt;br /&gt;&lt;br /&gt;VeriSign offers security advice and services to various sectors including Customer Products and Retail, Media and Entertainment, Financial Services, Public sectors, Healthcare and Life Sciences and Telecommunications.  There are also separate categories for large enterprise, online SMB merchants and developers as well.&lt;br /&gt;Verisign is providing a wide range of solutions across various industries, from healthcare to financial service, and different size of companies, from SMB to big enterprise. Its solutions for e-commerce include issuing SSL Certificate and digital ID, Security Risk Management, Security Consultancy, Fraud Detection, and even mobile or wireless solution.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Reference:&lt;br /&gt;&lt;a href="http://www.verisign.com/ssl/ssl-information-center/ecommerce-trust-ssl/"&gt;http://www.verisign.com/ssl/ssl-information-center/ecommerce-trust-ssl/&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-342464190870564337?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/342464190870564337/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-16-3.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/342464190870564337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/342464190870564337'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-16-3.html' title='Exercise 16-3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4W5uD2qlI/AAAAAAAAAXw/IAOhXjstHo4/s72-c/3.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-2763015017552654170</id><published>2009-05-15T18:25:00.000-07:00</published><updated>2009-05-15T18:28:15.594-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 16-2</title><content type='html'>2. What measures should e-commerce provide to create trust among their potential customers? What measures can be verified by the customer?&lt;br /&gt;&lt;br /&gt;Ans.:&lt;br /&gt;&lt;br /&gt;The following measures should be implemented to create trust among their potential customers:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Comprehensive security and privacy policies to safeguard the security and privacy of customer data;&lt;/li&gt;&lt;li&gt;Implement security measures to protect the systems, servers and networks.  Measures including installing firewall, SSL for pages collecting customer information, virus scanning software to detect virus with scheduled online updating for virus signature etc.;&lt;/li&gt;&lt;li&gt;Strictly policies regarding collection, storing, modification and subsequent destroy of customer data.  These policies should be strictly followed and made known to the customers;&lt;/li&gt;&lt;li&gt;All customers should be pre-registered with unique username and passwords.  The password should be forced to be renewed at a pre-set period.&lt;/li&gt;&lt;/ul&gt;&lt;p align="justify"&gt;Some certifying company such as VeriSign would issue a trust mark to e-commerce websites which have implemented premium security solutions such as Secure Sockets Layer (&lt;a href="http://www.verisign.com/ssl/ssl-information-center/index.html"&gt;SSL&lt;/a&gt;) encryption, secure payment processing, and business identity authentication, to protect sensitive customer information during online transactions.  Such certification bodies would also enables consumers to verify the level of security available on an e-commerce site prior to making a purchase online.  Therefore customers can verify the security of the e-commerce sites by checking whether they have obtained trust mark from  reputable certification bodies.&lt;br /&gt;&lt;br /&gt;Strictly rules and policies are enforced to be followed by buyers and sellers Comprehensive policy or measures to protect the customers’ privacy information. Implement a range of security devices, such as firewall, IPS, Antivirus and etc., to protect the websites. &lt;/p&gt;&lt;p align="justify"&gt;&lt;br /&gt;Secure the web site by SSL certificate which is issued by trusted third party Certificate Authority like Verisign and Entrust. Each customer has a unique account to store its personal information. And each account is protected by security methodologies, like hidden password, encryption. Among the measures above, SSL Certificate can be verified by customer who can view the certificate details, like issuer, issue to domain name and expiry date through web browser.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-2763015017552654170?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/2763015017552654170/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-16-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2763015017552654170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2763015017552654170'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-16-2.html' title='Exercise 16-2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-3830565204636694545</id><published>2009-05-15T18:22:00.001-07:00</published><updated>2009-05-15T18:25:29.268-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 16-1</title><content type='html'>1.          Visit an e-commerce website and survey the mode of payment allowed. Would you trust the site with your business?&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Ans.: DELL Inc. Website: http://www.dell.com.hk/ &lt;br /&gt;  Payment methods: &lt;/p&gt;&lt;ul&gt;&lt;li&gt;online credit card payment &lt;/li&gt;&lt;li&gt;auto pay with bank account&lt;/li&gt;&lt;li&gt;pay with check by mail &lt;/li&gt;&lt;li&gt;Pay by phone to Dell customer service agents&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4Vm7_SaZI/AAAAAAAAAXo/N4VjUFJ_Peg/s1600-h/1.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336226367162968466" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4Vm7_SaZI/AAAAAAAAAXo/N4VjUFJ_Peg/s320/1.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4Vm5FdSgI/AAAAAAAAAXg/o9RDeWZYC5E/s1600-h/2.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336226366383540738" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4Vm5FdSgI/AAAAAAAAAXg/o9RDeWZYC5E/s320/2.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I would trust this company to buy computer products. Dell Inc. is the leader of this industry. As I am the customer of Dell, I was informed in short time to confirm the order with the Dell customer agent. The data of the online order is encrypted and is protected by SSL.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dell.com/content/topics/topic.aspx/us/segments/dhs/odg/paydpa3?c=us&amp;amp;cs=19&amp;amp;l=en&amp;amp;s=dhs"&gt;http://www.dell.com/content/topics/topic.aspx/us/segments/dhs/odg/paydpa3?c=us&amp;amp;cs=19&amp;amp;l=en&amp;amp;s=dhs&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www1.ap.dell.com/content/topics/topic.aspx/ap/topics/storeinfo/en/security_privacy?c=hk&amp;amp;l=en&amp;amp;s=bsd"&gt;http://www1.ap.dell.com/content/topics/topic.aspx/ap/topics/storeinfo/en/security_privacy?c=hk&amp;amp;l=en&amp;amp;s=bsd&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-3830565204636694545?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/3830565204636694545/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-16-1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3830565204636694545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3830565204636694545'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-16-1.html' title='Exercise 16-1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4Vm7_SaZI/AAAAAAAAAXo/N4VjUFJ_Peg/s72-c/1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-6583056058604132571</id><published>2009-05-15T18:05:00.000-07:00</published><updated>2009-05-15T18:06:42.153-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 15-3</title><content type='html'>&lt;p&gt;1.      Most of the antivirus software perform an active scanning of the user activity on the Internet, detecting downloads and attachments in e-mails. Hackers have readily available resources to create new viruses. How easy is it to find a virus writing kit? Search the Internet and find such a tool. For example, see what you can find at http://vx.netlux.org/dat/vct.shtml.&lt;br /&gt;&lt;br /&gt;It seems so easy to find a virus writing kit from the Internet.  I search “Virus Writing Kit” using Google and there were approximately  websites matching the above search.&lt;br /&gt;&lt;br /&gt;Among 200,000 cases, around 10% of them are real websites providing tools or guideline how to create virus. I just took 5 minutes to source 5 websites providing virus creation tools.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-6583056058604132571?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/6583056058604132571/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-15-3.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6583056058604132571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6583056058604132571'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-15-3.html' title='Exercise 15-3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-6275589301769133754</id><published>2009-05-15T18:03:00.000-07:00</published><updated>2009-05-15T18:05:15.914-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 15-2</title><content type='html'>2.  Find out if your university or workplace has a backup policy in place. Is it followed and enforced?&lt;br /&gt;&lt;br /&gt;My workplace has a backup policy.&lt;br /&gt;All applications, data in file servers and database are backuped to hard disks at mid-night from Monday to Friday. And each hard disk will be rotated and stored in the remote area. This policy is enforced to be executed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-6275589301769133754?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/6275589301769133754/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-15-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6275589301769133754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6275589301769133754'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-15-2.html' title='Exercise 15-2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1390022468996465117</id><published>2009-05-15T17:49:00.000-07:00</published><updated>2009-05-15T18:03:35.893-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 15-1</title><content type='html'>&lt;p align="justify"&gt;1.      What makes a firewall a good security investment? Accessing the Internet, find two or three firewall vendors. Do they provide hardware, software or both?&lt;/p&gt;&lt;p align="justify"&gt;&lt;br /&gt;A firewall is a piece of software or hardware that helps screen out hackers, viruses, and worms that try to reach computer over the Internet. If a home user or small-business user, using a firewall is the most effective to help protect your computer.&lt;br /&gt;&lt;/p&gt;&lt;p align="justify"&gt;A firewall helps to screen out many kinds of malicious Internet traffic before it reaches your computer. Some firewalls can also help to prevent other people from using computer to attack other computers without network knowledge.&lt;br /&gt;&lt;br /&gt;Generally, firewalls are configured to protect against unauthenticated interactive logins from the outside world. This, more than anything, helps prevent vandals from logging into machines on your network. &lt;/p&gt;&lt;p align="justify"&gt;Firewalls are also important since they can provide a single “choke point”' where security and audit can be imposed. Firewalls provide an important logging and auditing function; often they provide summaries to the administrator about what kinds and amount of traffic passed through it, how many attempts there were to break into it, etc.&lt;br /&gt;&lt;br /&gt;Software: Comodo Internet Security&lt;br /&gt;It is a combination of Firewall and AntiVirus for Windows.&lt;br /&gt;Comodo Firewall, constantly monitors and defends computers from Internet attacks. It's easy to install and use and passes the industry's most stringent firewall "leak" tests.&lt;br /&gt;Main functions:&lt;br /&gt;l   Viruses, worms, spyware, key loggers and other malware&lt;br /&gt;l   Port scans, intrusion attempts, hackers&lt;br /&gt;l   Modification of critical system files&lt;br /&gt;&lt;br /&gt;Hardware Firewall: Juniper Networks NetScreen series&lt;br /&gt;The NetScreen Series Security Systems are purpose-built, firewall/VPN security systems designed for large enterprise, carrier, and data center networks.&lt;br /&gt;&lt;/p&gt;&lt;p align="justify"&gt;The 2-slot NetScreen-5200 and the 4-slot NetScreen-5400 integrate firewall, VPN, DoS and DDoS protection, and traffic-management functionality in a low-profile modular chassis. Built around our third-generation security ASIC and distributed system architecture, these systems offer excellent scalability and flexibility, while providing a higher level security system through the NetScreen ScreenOS custom operating system.&lt;br /&gt;&lt;/p&gt;&lt;p align="justify"&gt;The NetScreen Series Security Systems offer:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;The NetScreen Series offers flexibility and scalability for large enterprises and carriers.&lt;/li&gt;&lt;li&gt;Virtual systems allow partitioning into multiple security domains, each with a unique set of administrators, policies, VPNs, and address books.&lt;/li&gt;&lt;li&gt;Varying network-connectivity requirements and future growth requirements are accommodated with a flexible interface.&lt;/li&gt;&lt;li&gt;Map internal, private, or overlapped IP addresses to a new IP address, providing an alternate route to the final destination and concealing it from public view. &lt;/li&gt;&lt;li&gt;Firewall, VPN, and DoS protections are offered with minimal change to the existing network.&lt;/li&gt;&lt;li&gt;A graphical Web interface, CLI, or Juniper Networks Network and Security Manager provide management features. Policy-based management: provides centralized, end-to-end life-cycle management.&lt;/li&gt;&lt;li&gt;Increase interface density without additional hardware expenses, lower policy-creation costs, contain unauthorized users and attacks, and simplify management of firewall/VPNs.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Software: Norton 360&lt;br /&gt;Protect your PC, files, and identity with the industry’s fastest, lightest, most complete security solution.† Order Norton 360 today and get industry-leading protection from the lightest, fastest, most complete all-in-one solution available*.†&lt;br /&gt;PC security defends against viruses, spyware, botnets, and more. Protects your computer and all your online activities.&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Identity protection safeguards you against online identity theft. Lets you shop, bank, and browse with confidence.&lt;/li&gt;&lt;li&gt;PC Tuneup keeps your PC running at peak performance, makes your computer run faster and helps keep it running like new.&lt;/li&gt;&lt;li&gt;Automated backup and restore protects your important files from loss. Safeguards your irreplaceable photos, movies, music, and more.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;References:&lt;br /&gt;Firewall FAQ, 2 Jul 2001 , retrieving on 29/4 from on http://www.faqs.org/faqs/firewalls-faq/&lt;br /&gt;&lt;br /&gt;Microsoft, February 19, 2009, Firewall: FAQ, retrieving on 29/4 from &lt;a href="http://www.microsoft.com/protect/computer/firewall/faq.mspx"&gt;http://www.microsoft.com/protect/computer/firewall/faq.mspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Comodo,&lt;br /&gt;&lt;a href="http://personalfirewall.comodo.com/download_firewall.html"&gt;http://personalfirewall.comodo.com/download_firewall.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Juniper Networks&lt;br /&gt;http://www.juniper.net/us/en/products-services/security/netscreen/&lt;br /&gt;&lt;br /&gt;Norton  &lt;a href="http://www.symantec.com/norton360/about/index.jsp"&gt;http://www.symantec.com/norton360/about/index.jsp&lt;/a&gt; &lt;/p&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1390022468996465117?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1390022468996465117/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-15-1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1390022468996465117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1390022468996465117'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-15-1.html' title='Exercise 15-1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-4157794716619220457</id><published>2009-05-15T17:48:00.002-07:00</published><updated>2009-05-15T17:49:24.133-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 14-2</title><content type='html'>&lt;p align="justify"&gt;2. Can the use of cookies be a security risk? &lt;/p&gt;&lt;p align="justify"&gt;&lt;br /&gt;In particular, cookies do not always accurately identify users, they can be used for security attacks, and they are at odds with the Representational State Transfer software architectural style.&lt;br /&gt;&lt;a name="Inaccurate_identification"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a name="Cookie_hijacking"&gt;&lt;/a&gt;Cookie hijacking&lt;br /&gt;Cookies may contain sensitive information (such as user name, credit card no., etc.), their values should not be accessible to other computers. Cookie theft is the act of intercepting cookies by an unauthorized party.&lt;br /&gt;&lt;br /&gt;Cookies can be stolen via packet sniffing in an attack called session hijacking. Traffic on a network can be intercepted and read by computers on the network other than its sender and its receiver. This traffic includes cookies sent on ordinary unencrypted http sessions. Where network traffic is not encrypted, malicious users can therefore read the communications of other users on the network, including their cookies, using programs called packet sniffers.&lt;br /&gt;&lt;br /&gt;A different way to steal cookies is cross-site scripting and making the browser sends cookies to servers that should not receive them. Modern browsers allow execution of pieces of code retrieved from the server. If cookies are accessible during execution, their value may be communicated in some form to servers that should not access them. This type of cross-site scripting is typically exploited by attackers on sites that allow users to post HTML content.&lt;br /&gt;&lt;br /&gt;&lt;a name="Cookie_poisoning"&gt;&lt;/a&gt;Cookie poisoning&lt;br /&gt;While cookies are supposed to be stored and sent back to the server unchanged, an attacker may modify the value of cookies before sending them back to the server. For example, a cookie contains the total value a user has to pay for the items in their shopping basket, changing this value exposes the server to the risk of making the attacker pay less than the supposed price. The process of tampering with the value of cookies is called cookie poisoning, and is sometimes used after cookie theft to make an attack persistent.&lt;br /&gt;&lt;br /&gt;&lt;a name="Cross-site_cooking"&gt;&lt;/a&gt;&lt;a name="Inconsistent_state_on_client_and_server"&gt;&lt;/a&gt;&lt;a name="Cookie_expiry"&gt;&lt;/a&gt;Cookie expiry&lt;br /&gt;Persistent cookies have been criticized by privacy experts for not being set to expire soon enough, and thereby allowing websites to track users and build up a profile of them over time. This aspect of cookies also compounds the issue of session hijacking, because a stolen persistent cookie can potentially be used to impersonate a user for a considerable period of time.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;HTTP cookie, Retrieving on 29/4 from &lt;a href="http://en.wikipedia.org/wiki/HTTP_cookie"&gt;http://en.wikipedia.org/wiki/HTTP_cookie&lt;/a&gt;&lt;/p&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-4157794716619220457?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/4157794716619220457/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-14-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/4157794716619220457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/4157794716619220457'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-14-2.html' title='Exercise 14-2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-2686708781732443784</id><published>2009-05-15T17:48:00.001-07:00</published><updated>2009-05-15T17:48:49.113-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 14-1</title><content type='html'>&lt;div align="justify"&gt;1.      What are cookies and how are they used to improve security?&lt;br /&gt;Cookies are pieces of data which are stored on the clients’ computer by the Web browser and which can be accessed by the browser throughout their interaction with a particular Web site. For example, the cookie stores the login data of a web browser user.&lt;br /&gt;Cookies are used for authenticating, session tracking and maintaining specific information about users, such as site preferences or the contents of their electronic shopping carts.&lt;br /&gt;&lt;br /&gt;The main purpose of cookie is for identification and web server may use the message’s information to customize what it will send back to user.&lt;br /&gt;&lt;br /&gt;Cookie can be used to improve security.  For example, client can store the authentication codes into 2 parts. The first part of the authentication code could be stored as cookie assessable by the server. The second part of the authentication code cannot be assessable by the server. &lt;br /&gt;&lt;br /&gt;The transmission of the 1st part of the authentication code would be carried out at the back-end with minimum chances of being observed by other closed by the client machine.  Thus, the security of accessing the site would be improved.&lt;br /&gt;&lt;br /&gt;References:Darrel Ince, Developing Distributed and E-commerce applications, 2nd edition, p.21&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-2686708781732443784?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/2686708781732443784/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-14-1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2686708781732443784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2686708781732443784'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-14-1.html' title='Exercise 14-1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-226174267107433384</id><published>2009-05-15T17:46:00.000-07:00</published><updated>2009-05-15T17:47:51.547-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 13-2</title><content type='html'>&lt;div align="justify"&gt;2. What is SET and how does it compare to SSL as a platform for secure electronic transaction? Is SET in common use?&lt;br /&gt;&lt;br /&gt;SET is secure electronic transaction protocol which is a open protocol for securing electronic transactions developed jointly by Visa, Master Card and IBM.  SET relies on cryptography.  SET employs both symmetric and asymmetric encryption mechanism.  Transaction details are encrypted with 56-bit session key in form of Data Encryption Standard (DES) and the session key is transmitted by asymmetric mechanism, public -key encryption.&lt;br /&gt;&lt;br /&gt;Compared with SSL, SET has the following advantages over SSL:-&lt;br /&gt;a.            Higher Privacy via cryptography making intercepted message unreadable;&lt;br /&gt;b.            Higher Integrity via hashing and signing assuring message sent are not modified;&lt;br /&gt;c.           Authentication via digital certificate assuring parties involved in the transaction from&lt;/div&gt;&lt;div align="justify"&gt;              denying their participation in the transaction;&lt;br /&gt;d.            Customers’ credit cards information not accessible by merchants.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;However SET has the following drawbacks compared with SSL;-&lt;br /&gt;a.           more complex and slower transaction;&lt;br /&gt;b.          require client software installation;&lt;br /&gt;c.           high processing cost;&lt;br /&gt;d.          lack of standard specification causing interoperability problems between SET&lt;/div&gt;&lt;div align="justify"&gt;             applications;&lt;br /&gt;e.           Problems in systems integration with merchants’ front-end and back-end applications.&lt;br /&gt;&lt;br /&gt; SET is presently still not in common use due to the problems mentioned above.&lt;br /&gt;&lt;br /&gt;SET, Secure Electronic Transaction, is a set of open security protocols and formats to protect privacy and ensure authenticity, of electronic transactions. It aims at securing the transaction on an open network such as Internet. SET is offering following services:&lt;br /&gt;l   With symmetric and asymmetric cryptography, it provides a secure communications channel between different parties involved in this transaction.&lt;br /&gt;l    It is based on X.509v3 digital certificates.&lt;br /&gt;l   It provides the ensuring privacy in which information is only available to the parties during the transaction.&lt;br /&gt;&lt;br /&gt;Compared to SSL, other than encryption, SET can accomplish with data integrity and authentication.&lt;br /&gt;&lt;br /&gt;Nowadays, SET is still not common in use because it is slow and the high processing cost. In addition, it requires the agent while SSL is agent less.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt; Ahsan, M.S. (2002). SET vs SSL.  Retrieved on 1 May 2009 from&lt;br /&gt;&lt;a href="http://islab.oregonstate.edu/koc/ece478/02Report/CA.pdf"&gt;http://islab.oregonstate.edu/koc/ece478/02Report/CA.pdf&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-226174267107433384?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/226174267107433384/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-13-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/226174267107433384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/226174267107433384'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-13-2.html' title='Exercise 13-2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1707552702072865302</id><published>2009-05-15T17:15:00.000-07:00</published><updated>2009-05-15T17:46:19.620-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 13-1</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4MZm62O1I/AAAAAAAAAXA/6VoCVHw3BNw/s1600-h/1.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336216242564250450" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 214px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4MZm62O1I/AAAAAAAAAXA/6VoCVHw3BNw/s320/1.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4MZa2FKRI/AAAAAAAAAW4/yhI7lKgbvfg/s1600-h/2.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336216239323031826" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 268px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4MZa2FKRI/AAAAAAAAAW4/yhI7lKgbvfg/s320/2.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4L--2KlzI/AAAAAAAAAWw/T7gsdymE__k/s1600-h/3.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215785130596146" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 266px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4L--2KlzI/AAAAAAAAAWw/T7gsdymE__k/s320/3.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4L-kSEU2I/AAAAAAAAAWo/7-K2pCBI9hM/s1600-h/4.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215777999868770" style="WIDTH: 273px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4L-kSEU2I/AAAAAAAAAWo/7-K2pCBI9hM/s320/4.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4L-n7nSEI/AAAAAAAAAWg/CRr54HQkYh8/s1600-h/5.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215778979432514" style="WIDTH: 271px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4L-n7nSEI/AAAAAAAAAWg/CRr54HQkYh8/s320/5.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4L-dyccKI/AAAAAAAAAWY/leOd3S-LIxY/s1600-h/6.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215776256618658" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 248px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4L-dyccKI/AAAAAAAAAWY/leOd3S-LIxY/s320/6.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4L-T6lzaI/AAAAAAAAAWQ/uZ2YUZIyClw/s1600-h/7.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215773606432162" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 267px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4L-T6lzaI/AAAAAAAAAWQ/uZ2YUZIyClw/s320/7.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4LxM6fYOI/AAAAAAAAAWI/MpruDJ9ou0M/s1600-h/8.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215548388663522" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 266px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4LxM6fYOI/AAAAAAAAAWI/MpruDJ9ou0M/s320/8.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4Lw3MkYPI/AAAAAAAAAWA/qrwzEX7Iuu0/s1600-h/9.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215542558908658" style="WIDTH: 244px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4Lw3MkYPI/AAAAAAAAAWA/qrwzEX7Iuu0/s320/9.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4LwyvvE7I/AAAAAAAAAV4/OOBP41Jli2s/s1600-h/10.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215541364233138" style="WIDTH: 246px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4LwyvvE7I/AAAAAAAAAV4/OOBP41Jli2s/s320/10.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4LwkGnXwI/AAAAAAAAAVw/Ns-79dFVrz0/s1600-h/11.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215537433665282" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 298px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4LwkGnXwI/AAAAAAAAAVw/Ns-79dFVrz0/s320/11.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4LwrNhvNI/AAAAAAAAAVo/jHYYi4xebAM/s1600-h/12.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215539341704402" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 263px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4LwrNhvNI/AAAAAAAAAVo/jHYYi4xebAM/s320/12.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4LlUjyyVI/AAAAAAAAAVg/SwKNIyfk7HA/s1600-h/13.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215344282519890" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 269px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sg4LlUjyyVI/AAAAAAAAAVg/SwKNIyfk7HA/s320/13.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4LlD0tEQI/AAAAAAAAAVY/LegewFDQjSA/s1600-h/14.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215339790045442" style="WIDTH: 239px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4LlD0tEQI/AAAAAAAAAVY/LegewFDQjSA/s320/14.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4LlF8an6I/AAAAAAAAAVQ/KZeB-9ExS-Q/s1600-h/15.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215340359262114" style="WIDTH: 307px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4LlF8an6I/AAAAAAAAAVQ/KZeB-9ExS-Q/s320/15.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4Lk3hvjxI/AAAAAAAAAVI/nuv6UqXauhk/s1600-h/16.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215336489291538" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 285px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sg4Lk3hvjxI/AAAAAAAAAVI/nuv6UqXauhk/s320/16.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4Lk8KGcyI/AAAAAAAAAVA/Z2Kb8pb3uL0/s1600-h/17.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336215337732305698" style="WIDTH: 258px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sg4Lk8KGcyI/AAAAAAAAAVA/Z2Kb8pb3uL0/s320/17.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1707552702072865302?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1707552702072865302/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-13-1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1707552702072865302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1707552702072865302'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-13-1.html' title='Exercise 13-1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qMVlbiwAE6w/Sg4MZm62O1I/AAAAAAAAAXA/6VoCVHw3BNw/s72-c/1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-723584373434939499</id><published>2009-05-15T17:14:00.001-07:00</published><updated>2009-05-15T17:14:34.511-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 12-3</title><content type='html'>3. What is ‘phishing’?&lt;br /&gt;&lt;br /&gt;Phishing is the term coined by hackers who imitate legitimate companies in e-mails to entice people to share passwords or credit-card numbers. Phishing would be the most popular and most troubling, new scam on the Internet.&lt;br /&gt;&lt;br /&gt;The term phishing comes from the fact that Internet scammers are using increasingly sophisticated entice as they "fish" for users' financial information and password data. The most common ploy is to copy the Web page code from a major site, such as AOL and use that code to set up a replica page that appears to be part of the company's site. (This is why phishing is also called brand spoofing.)&lt;br /&gt;A fake e-mail is sent out with a link to this page, which solicits the user's credit card data or password. When the form is submitted, it sends the data to the scammer while leaving the user on the company's site so they don't suspect a thing.&lt;br /&gt;&lt;br /&gt;Andrew Shain, July 25, 2003, Phishing to steal your information, Retrieving on 28 Apr 2009 from &lt;a href="http://www.wordspy.com/words/phishing.asp"&gt;http://www.wordspy.com/words/phishing.asp&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-723584373434939499?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/723584373434939499/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-12-3.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/723584373434939499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/723584373434939499'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-12-3.html' title='Exercise 12-3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-5038279181587417845</id><published>2009-05-15T17:13:00.001-07:00</published><updated>2009-05-15T17:14:07.257-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 12-2</title><content type='html'>2. What can you find out about network and host-based intrusion detection systems?&lt;br /&gt;Most intrusion detection systems (IDS) look for attack signatures in specific pattern which indicate malicious or suspicious intent. When the IDS look for the attack signature in network traffic, it is classified as network-based. For IDS look for the attack signature in the log files, it is classified as host-based.&lt;br /&gt;&lt;br /&gt;Network-based IDS is usually used to detect the intrusion in the network by examining network traffic in central network devices, like hub, network switch or network gateway. On the other hand, host-based IDS is used to detect the intrusion in particular host. As usual, an agent will be installed host to identify intrusions by examining system calls, logs, file-system and host activities.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Network Based Intrusion Detection&lt;br /&gt;Network-based intrusion detection systems use raw network packets as the data source. A network-based IDS typically utilizes a network adapter running in promiscuous mode to monitor and analyze all traffic in real-time as it travels across the network. Its attack recognition module uses four common techniques to recognize an attack signature:&lt;br /&gt;l Pattern, expression or byte code matching,&lt;br /&gt;l Frequency or threshold crossing&lt;br /&gt;l Correlation of lesser events&lt;br /&gt;l Statistical anomaly detection&lt;br /&gt;&lt;br /&gt;Once an attack has been detected, the IDS’ response module provides a variety of options to notify, alert and take action in response to the attack. These responses vary by product, but usually involve administrator notification, connection termination and/or session recording for forensic analysis and evidence collection.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Host Based Intrusion Detection&lt;br /&gt;Host-based intrusion detection was common practice to review audit logs for suspicious activity. Host-based intrusion detection systems are powerful tools for understanding previous attacks and determining proper methods to defeat their future application.&lt;br /&gt;Host-based IDS use audit logs, but they are much more automated, having evolved sophisticated and responsive detection techniques.&lt;br /&gt;Host based IDS typically monitor system, event, security logs and system log. When any of these files change, the IDS compares the new log entry with attack signatures to see if there is a match. If so, the system responds with administrator alerts and other calls to action.&lt;br /&gt;&lt;br /&gt;Host-based IDS have grown to include other technologies. One popular method for detecting intrusions checks key system files and executables via checksums at regular intervals for unexpected changes. The timeliness of the response is in direct relation to the frequency of the polling interval.&lt;br /&gt;Finally, some products listen to port activity and alert administrators when specific ports are accessed. This type of detection brings an elementary level of network-based intrusion detection into the host-based environment.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Anonymous , 2 Oct 1998, Network- vs. Host-based Intrusion Detection, Retrieving on 5&lt;br /&gt;May 2009 from &lt;a href="http://documents.iss.net/whitepapers/nvh_ids.pdf"&gt;http://documents.iss.net/whitepapers/nvh_ids.pdf&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-5038279181587417845?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/5038279181587417845/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-12-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/5038279181587417845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/5038279181587417845'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-12-2.html' title='Exercise 12-2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-8981069916823331908</id><published>2009-05-15T16:38:00.000-07:00</published><updated>2009-05-15T17:12:37.156-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 12 -1</title><content type='html'>1.      Find out about SET and the use of RSA 128-bit encryption for e-commerce.&lt;br /&gt;Secure Electronic Transaction (SET) was a standard protocol for securing credit card transactions over insecure networks, specifically, the Internet. SET allowed parties to cryptographically identify themselves to each other and exchange information securely. However, it remains to be seen whether the protocol will be widely used because of the weakness of the encryption that it uses.&lt;br /&gt;&lt;br /&gt;RSA was first described in 1977 by Ron Rivest, Adi Shamir, and Leonard Adleman at MIT. RSA encryption is important to the e-commerce, it is the industry standard for securing application.&lt;br /&gt;&lt;br /&gt;RSA-128 bit encryption is considered unbreakable and is adopted as standard feature by BusinessObject XI which is considered as the most flexible and scalable businesses intelligence (BI) platform.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Secure_electronic_transaction"&gt;http://en.wikipedia.org/wiki/Secure_electronic_transaction&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Anonymous, 8 Mar 2005, BusinessObjects XI Increases Security By Providing RSA&lt;br /&gt;       128-Bit Encryption as Standard Platform Security Level, Information Management&lt;br /&gt;Online, Retrieving on 5 May 2009 from &lt;a href="http://www.information-management.com/news/1022600-1.html"&gt;http://www.information-management.com/news/1022600-1.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-8981069916823331908?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/8981069916823331908/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-12-1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/8981069916823331908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/8981069916823331908'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/05/exercise-12-1.html' title='Exercise 12 -1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-3371252720521895756</id><published>2009-04-15T21:01:00.000-07:00</published><updated>2009-04-15T21:22:50.217-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='workshop 3'/><title type='text'>Workshop 3</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeaxTVC8-zI/AAAAAAAAAUQ/3X7SH3nq8c8/s1600-h/wk31.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325138555037350706" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 182px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeaxTVC8-zI/AAAAAAAAAUQ/3X7SH3nq8c8/s320/wk31.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Create a database which name is “obts” by MYSQL at &lt;a href="http://127.0.0.1/mysql/"&gt;http://127.0.0.1/mysql/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeaxTfPD_II/AAAAAAAAAUI/wW5V6Sdoo7M/s1600-h/wk32.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325138557772496002" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 196px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeaxTfPD_II/AAAAAAAAAUI/wW5V6Sdoo7M/s320/wk32.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Create the table, “Passengers” with 13 columns;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/SeaxTFM34xI/AAAAAAAAAUA/GWV0dSe76zI/s1600-h/wk33.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325138550783992594" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 231px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/SeaxTFM34xI/AAAAAAAAAUA/GWV0dSe76zI/s320/wk33.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;In ruby dos command mode, enter the command, rails –d mysql otbs;&lt;br /&gt;Generate an application which name is otbs;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeaxTFWRIGI/AAAAAAAAAT4/vmOVBcRG5Rw/s1600-h/wk34.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325138550823395426" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 192px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeaxTFWRIGI/AAAAAAAAAT4/vmOVBcRG5Rw/s320/wk34.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Run the otbs application by selecting in Rails Application in InstantRails.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In the web browser, enter the address: &lt;a href="http://127.0.0.1:3000/"&gt;http://127.0.0.1:3000/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeaxSySSvXI/AAAAAAAAATw/Uz5ia6EWHGU/s1600-h/wk35.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325138545706450290" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 247px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeaxSySSvXI/AAAAAAAAATw/Uz5ia6EWHGU/s320/wk35.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://127.0.0.1:3000/"&gt;&lt;/a&gt;&lt;br /&gt;This means the connection of the application is successful.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Edit the database.yml in otbs application like the following:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/SeaxAxmE8oI/AAAAAAAAATo/jxXca9maFzo/s1600-h/wk36.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325138236283351682" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 159px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/SeaxAxmE8oI/AAAAAAAAATo/jxXca9maFzo/s320/wk36.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Generate the model for the application by the command, ruby script/generate model Passenger;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeaxAyABPGI/AAAAAAAAATg/Ig2umEENwkE/s1600-h/wk37.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325138236392160354" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 231px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeaxAyABPGI/AAAAAAAAATg/Ig2umEENwkE/s320/wk37.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Generate the controller for the application by the command, ruby script/generate controller Passenger;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/SeaxAqIsriI/AAAAAAAAATY/_j3pbIJwA5Y/s1600-h/wk38.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325138234281078306" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 231px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/SeaxAqIsriI/AAAAAAAAATY/_j3pbIJwA5Y/s320/wk38.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Add scaffolding by edit the passenger_controller.rb like the following:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeaxAoOS_zI/AAAAAAAAATQ/aTXkrUIFFpg/s1600-h/wk39.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325138233767690034" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 231px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeaxAoOS_zI/AAAAAAAAATQ/aTXkrUIFFpg/s320/wk39.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; Install scaffolding with the command, ruby script/plugin install scaffolding&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeaxAWzoOvI/AAAAAAAAATI/YhwBkAIMFsg/s1600-h/wk40.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325138229092432626" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 231px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeaxAWzoOvI/AAAAAAAAATI/YhwBkAIMFsg/s320/wk40.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Amend the passenger_controller.rb as the following:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Seawym_z1ZI/AAAAAAAAATA/5DYDyk1tTwQ/s1600-h/wk41.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325137992920323474" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 159px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Seawym_z1ZI/AAAAAAAAATA/5DYDyk1tTwQ/s320/wk41.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create a rhtml as the following in the views of the otbs application&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeawyZnLvqI/AAAAAAAAAS4/OG_zNkSlBdU/s1600-h/wk42.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325137989327371938" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 182px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeawyZnLvqI/AAAAAAAAAS4/OG_zNkSlBdU/s320/wk42.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Amend the model, passenger.rb, of otbs&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/SeawyQuKhyI/AAAAAAAAASw/ht7GlV9P5e4/s1600-h/wk43.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325137986940733218" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 159px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/SeawyQuKhyI/AAAAAAAAASw/ht7GlV9P5e4/s320/wk43.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Output&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeawyJtUfVI/AAAAAAAAASo/AOImIWZnstk/s1600-h/wk44.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325137985058143570" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 159px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeawyJtUfVI/AAAAAAAAASo/AOImIWZnstk/s320/wk44.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Output list.rhtml:&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeawyGnN6ZI/AAAAAAAAASg/ZAgBEMNPKu0/s1600-h/wk45.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325137984227240338" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 249px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeawyGnN6ZI/AAAAAAAAASg/ZAgBEMNPKu0/s320/wk45.JPG" border="0" /&gt;&lt;/a&gt;  &lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-3371252720521895756?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/3371252720521895756/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-3.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3371252720521895756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3371252720521895756'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-3.html' title='Workshop 3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_qMVlbiwAE6w/SeaxTVC8-zI/AAAAAAAAAUQ/3X7SH3nq8c8/s72-c/wk31.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-7410070279120531917</id><published>2009-04-13T00:48:00.000-07:00</published><updated>2009-04-13T00:49:41.454-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 11 :11.3</title><content type='html'>&lt;p&gt;SMIL is an application of XML. What is the purpose of this technology? Where does it apply?&lt;br /&gt;&lt;br /&gt;According to the w3schools.com, SMIL is an easy-to-learn HTML-like language for describing audiovisual presentations.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;SMIL stands for Synchronized Multimedia Integration Language&lt;/li&gt;&lt;li&gt;SMIL is pronounced "smile" &lt;/li&gt;&lt;li&gt;SMIL is a language for describing audiovisual presentations &lt;/li&gt;&lt;li&gt;SMIL is easy to learn and understand &lt;/li&gt;&lt;li&gt;SMIL is an HTML-like language &lt;/li&gt;&lt;li&gt;SMIL is written in XML &lt;/li&gt;&lt;li&gt;SMIL presentations can be written using a text-editor &lt;/li&gt;&lt;li&gt;SMIL is a W3C recommendation &lt;/li&gt;&lt;li&gt;Define an XML-based language that allows authors to write interactive multimedia presentations. Using SMIL, an author may describe the temporal behaviour of a multimedia presentation, associate hyperlinks with media objects and describe the layout of the presentation on a screen. &lt;/li&gt;&lt;li&gt;Allow reusing of SMIL syntax and semantics in other XML-based languages, in particular those who need to represent timing and synchronization. For example, SMIL components are used for integrating timing into XHTML XHTML10 and into SVG.&lt;br /&gt;Extend the functionalities contained in the SMIL 2.1 into new or revised SMIL 3.0 modules. &lt;/li&gt;&lt;li&gt;Define new SMIL 3.0 Profiles incorporating features useful within the industry. &lt;/li&gt;&lt;li&gt;SMIL lets you create simple to highly complex media presentations by coordinating any number of media clips. Using SMIL, you can replicate almost all of the features that you can set through the Ram file. Plus, SMIL offers some advanced capabilities for opening HTML pages at different points during a presentation. A SMIL presentation works in RealOne Player on any operating system.&lt;br /&gt;&lt;a name="188259"&gt;&lt;/a&gt;&lt;br /&gt;http://www.w3.org/TR/2008/REC-SMIL3-20081201/smil-introduction.html&lt;br /&gt;http://www.w3schools.com/smil/default.asp&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-7410070279120531917?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/7410070279120531917/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-11-113.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7410070279120531917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7410070279120531917'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-11-113.html' title='Exercise 11 :11.3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-5636733201792075577</id><published>2009-04-13T00:42:00.000-07:00</published><updated>2009-04-13T00:57:35.334-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 11:11.2</title><content type='html'>&lt;div align="justify"&gt;1.      What are the benefits of adopting a schema standardized for a business sector?&lt;br /&gt;XML schemas allow us to solve many of the technical challenges presented by e-commerce requirements, and to leverage the best of EDI technology.&lt;br /&gt;&lt;br /&gt;&lt;a name="N78337"&gt;&lt;/a&gt;Strong data typing&lt;br /&gt;Schema languages contain native data types that align with the standard data types of some programming languages: strong numeric types like signed integers, floats, doubles, etc.; enumerated lists; date, time, and date time; and, of course, strings. It becomes possible to capture code-lists as enumerations, to limit the length of string types to fit into typical database fields, and to describe numeric types very exactly.&lt;br /&gt;&lt;a name="N78346"&gt;&lt;/a&gt;&lt;br /&gt;Manageability and componentization&lt;br /&gt;Further, some schema languages (SOX and XSDL, for example, and to some extent XDR) have inherent capabilities for reusing components by doing the kind of importing and referencing that are found in programming languages such as Java. It becomes possible to take another person's schemas - assuming they are publically available in the correct schema language - and to incorporate them into schemas that you are creating.&lt;br /&gt;&lt;a name="N78361"&gt;&lt;/a&gt;&lt;br /&gt;Extension&lt;br /&gt;Another aspect of XML schema that helps us solve the tough problems of e-commerce is the ability to not only reuse another person's data models, but to "refine" them. At runtime, processing applications can identify what the differences are between the parent class and it's subclasses, enabling polymorphic processing and default processing&lt;br /&gt;The application of this capability from a design perspective is that minimized components were used in anticipation that they will be extended to fit particular requirements.&lt;br /&gt;For supporting Global interoperability, the ability to extend, reuse, rename, and refine other people's components is a major enabling technology.&lt;br /&gt;&lt;a name="N78376"&gt;&lt;/a&gt;&lt;br /&gt;Data and documents&lt;br /&gt;When schema was properly employed, also makes it fairly easy to translate document structures into normalized relational structures. This is one of the places where XDR has been effectively used. The simplest way to handle graphing requirements was to use element structures. DTDs just weren't designed to support this requirement.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.gca.org/papers/xmleurope2000/papers/s21-01.html#N78329"&gt;http://www.gca.org/papers/xmleurope2000/papers/s21-01.html#N78329&lt;/a&gt;&lt;br /&gt;&lt;a href="http://xml.coverpages.org/schemas.html"&gt;http://xml.coverpages.org/schemas.html&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-5636733201792075577?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/5636733201792075577/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-11112.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/5636733201792075577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/5636733201792075577'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-11112.html' title='Exercise 11:11.2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-8175211894944913444</id><published>2009-04-13T00:41:00.000-07:00</published><updated>2009-04-13T00:42:10.080-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 11 -11.1</title><content type='html'>1.      Conduct research on the Internet to find out what tools can be used to parse an XML document and ensure that the document is well formed and valid.&lt;br /&gt;By the google search engine, there are many XML validators in the Internet. Some of them are listed below:&lt;br /&gt;l   W3school.com&lt;br /&gt;n   &lt;a href="http://www.w3schools.com/Dom/dom_validate.asp"&gt;http://www.w3schools.com/Dom/dom_validate.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;l   Scholarly technology group&lt;br /&gt;n   &lt;a href="http://www.stg.brown.edu/service/xmlvalid/"&gt;http://www.stg.brown.edu/service/xmlvalid/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;l   Validome&lt;br /&gt;n   &lt;a href="http://www.validome.org/xml/"&gt;http://www.validome.org/xml/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;l   HTML/XML Validator&lt;br /&gt;n   &lt;a href="http://validator.aborla.net/index.php5?lang=en"&gt;http://validator.aborla.net/index.php5?lang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;l   XML well-formedness checker and validator&lt;br /&gt;n   &lt;a href="http://www.cogsci.ed.ac.uk/~richard/xml-check.html"&gt;http://www.cogsci.ed.ac.uk/~richard/xml-check.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;l   DecisionSoft&lt;br /&gt;n   &lt;a href="http://tools.decisionsoft.com/schemaValidate/"&gt;http://tools.decisionsoft.com/schemaValidate/&lt;/a&gt;      &lt;br /&gt;&lt;br /&gt;l   XML Schema Validator&lt;br /&gt;n   &lt;a href="http://schneegans.de/sv/"&gt;http://schneegans.de/sv/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The above validators can be used to parse an XML document and ensure that the document is well formed and valid&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-8175211894944913444?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/8175211894944913444/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-11-111.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/8175211894944913444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/8175211894944913444'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-11-111.html' title='Exercise 11 -11.1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-2547165271023673193</id><published>2009-04-13T00:40:00.003-07:00</published><updated>2009-04-13T00:40:54.913-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 10 -10.3</title><content type='html'>What are the similarities between the object-oriented development using model-view-controller (MVC) in Ruby on Rails 2.0 and Action Script 2.0 (Flash animations)?&lt;br /&gt;&lt;br /&gt;The characteristics of object-oriented programming languages are:&lt;br /&gt;l   Objects: it has properties and behaviors;&lt;br /&gt;l   Instances and class members&lt;br /&gt;l   Inheritance&lt;br /&gt;l   Interfaces&lt;br /&gt;l   Encapsulation&lt;br /&gt;l   Polymorphism&lt;br /&gt;&lt;br /&gt;Both Ruby on Rails 2.0 and Action Script 2.0 are object-oriented programming languages and contains the above properties.&lt;br /&gt;From the tutorial, it states that Ruby follows strict concepts of Object Oriented programming languages (OOPS) which has objects, methods and classes available for programming.&lt;br /&gt;Ruby also supports the common features of OOPS, such as Objects, Classes and Instances, Methods, Portability, Security.&lt;br /&gt;Whenever any class method is called in Ruby, it tries to track a particular method at several locations. It also follows a specific path to locate that method so as to avoid wasting search time.&lt;br /&gt;Two critical concepts in Ruby on Rails: "Convention over Configuration" and "Don't Repeat Yourself"&lt;br /&gt;"Convention over Configuration" means that a programmer only needs to write code for unconventional parts of the application they're building.&lt;br /&gt;"Don't Repeat Yourself". Ruby on Rails makes repeating yourself unnecessary with the help of the ActiveRecord and the method of scaffolding.&lt;br /&gt;With scaffolding, a compiler automatically generates basic pieces of code necessary for the "logistics" of a website -- for creating, reading, modifying or deleting data in the database. So one is left with a sort of template upon which one can build the rest of the website with more specific code.&lt;br /&gt;The Ruby on Rails framework uses the Model-View-Controller design pattern which helps the programmer to separate the actual data (model) from the interface (view) of the application.&lt;br /&gt;The reason why this is extremely useful is that it provides modularity and ensures efficiency of the application, making it much easier to modify when needed and eliminating redundancy of code.&lt;br /&gt;The primary feature of ActionScript 2.0 is a familiar model for creating object-oriented programs. It is based on the concept of classes and instances. A class defines all of the properties that distinguish a series of objects.&lt;br /&gt;&lt;br /&gt;ActionScript 2.0 provides the OOP model as a syntactic formalization of the prototype chaining method used in previous versions of Flash to create objects and establish inheritance. With ActionScript 2.0, custom classes and extend Flash's built-in classes can be created.&lt;br /&gt;&lt;br /&gt;Colin identified that not all Flash applications need to be purely object-oriented. Flash supports both procedural and object-oriented programming and allows to combine both approaches in a single Flash movie.&lt;br /&gt;&lt;br /&gt;Not all Flash content necessarily involves timeline-based motion. If a video game is being created, it becomes impossible to predict the actions of each role by using the timeline. Therefore, ActionScript has to be used instead of the timeline to position the characters in response to user actions&lt;br /&gt;&lt;br /&gt;Colin suggested that OOP concept is used while create:&lt;br /&gt;• Traditional desktop-style applications with few transitions and standardized user interfaces&lt;br /&gt;• Applications that include server-side logic&lt;br /&gt;• Functionality that is reused across multiple projects&lt;br /&gt;• Games&lt;br /&gt;• Highly customized user interfaces that include complex visual transitions&lt;br /&gt;&lt;br /&gt;Colin also argued that ActionScript 2.0 using MVC would provide the following benefits:&lt;br /&gt;•         Allows multiple representations (views) of the same information (model)&lt;br /&gt;•         Allows user interfaces (views) to be easily added, removed, or changed, at both compile time and runtime&lt;br /&gt;•         Allows response to user input (controller) to be easily changed, at both compile time and runtime&lt;br /&gt;•         Promotes reuse (e.g., one view might be used with different models)&lt;br /&gt;•         Allows multiple developers to simultaneously update the interface, logic, or input of an application without affecting other source code&lt;br /&gt;•         Helps developers focus on a single aspect of the application at a time&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;Ruby on Rails tutorials, retrieving on 5 April 2009, from &lt;a href="http://www.meshplex.org/wiki/Ruby/Ruby_on_Rails_programming_tutorials#Ruby_and_Object-Oriented_Programming"&gt;http://www.meshplex.org/wiki/Ruby/Ruby_on_Rails_programming_tutorials#Ruby_and_Object-Oriented_Programming&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Colin Moock, Essential ActionScript 2.0, O’Reilly, retrieving on 5 April 2009, from&lt;br /&gt;&lt;a href="http://oreilly.com/catalog/0596006527/chapter/ch02.pdf"&gt;http://oreilly.com/catalog/0596006527/chapter/ch02.pdf&lt;/a&gt;, pp.19-22&lt;br /&gt;&lt;br /&gt;Flash CS4 Professional ActionScript 2.0&lt;br /&gt;&lt;a href="http://help.adobe.com/sv_SE/AS2LCR/Flash_10.0/help.html?content=00000531.html"&gt;http://help.adobe.com/sv_SE/AS2LCR/Flash_10.0/help.html?content=00000531.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Colin Moock, Essential ActionScript 2.0, O’Reilly, retrieving on 5 April 2009, from&lt;br /&gt;&lt;a href="http://www.adobe.com/devnet/flash/articles/mv_controller/as2ess_ch18.pdf"&gt;http://www.adobe.com/devnet/flash/articles/mv_controller/as2ess_ch18.pdf&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-2547165271023673193?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/2547165271023673193/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-10-103.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2547165271023673193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2547165271023673193'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-10-103.html' title='Exercise 10 -10.3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1052528289729136160</id><published>2009-04-13T00:40:00.001-07:00</published><updated>2009-04-13T00:40:26.461-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 10: 10.2</title><content type='html'>Why is the perception getting stronger that integration will become a critical factor in coming days? What is the role of AJAX within the enterprise software architecture?&lt;br /&gt;&lt;br /&gt;From the industrial report of Siemen, it identifies that integration have the following benefits:&lt;br /&gt;l   To make the facility run more efficiently;&lt;br /&gt;l   To reduce costs;&lt;br /&gt;l   To increase the productivity of the facility staff;&lt;br /&gt;&lt;br /&gt;Integration implies that all relevant data for a particular bounded and closed set of business processes is processed in the same software application. Updates in one application module or component are reflected throughout the business process logic, with no complex external interfacing. Data are stored once, and it is instantaneously shared by all business processes that are enabled by the software application.&lt;br /&gt;&lt;br /&gt;Integration implies “one source of truth” for those business processes that are enabled by core ERP solutions. The concept is simple: if all data are stored once and shared, then integrity issues are less likely to occur. Furthermore, complexity is significantly reduced.&lt;br /&gt;&lt;br /&gt;Integration can be used to some form of interfacing, even though they are loosely called system integration. Modern systems invoke shared objects to share business logic and interact with resources (such as databases or queues).&lt;br /&gt;&lt;br /&gt;Most organizations have needs for B2B connectivity, as well as other forms of integration. Internal business processes and systems require enterprise integration efforts, where external business transactions are processed through B2B eCommerce.&lt;br /&gt;&lt;br /&gt;AJAX or Asynchronous JavaScript and XML is a new programming technique that is based on existing standards and technologies for creating faster and more interactive web applications. The core of AJAX is XML HTTP Request that gives web applications the ability to exchange data asynchronously with the web server eliminating the need for a complete page refresh. Apart from the XML HTTP Request API AJAX uses a combination of XHTML or HTML and CSS, JavaScript, DOM and XML which is common markup languages for data formatting. It is because web pages are not always coupled and they need to be formatted before they are displayed to the user and they have to be re-loaded each time a user makes a http request. Using AJAX the page re-loading can be minimized or can be eliminated.&lt;br /&gt;&lt;br /&gt;One of the main advantages of using AJAX is the minimization of bandwidth usage. The “transfer only what you need” was impossible to implement in classic web architectures because the data needed to be marshaled into a recognized format, such as html and the page needed to be re-loaded each time a request for a new dataset is made. Implement an AJAX based solution makes possible the asynchronous exchange of data between the client browser and the web server. The data transfer is done in the background and is formatted using JavaScript on the client side. This implementation also reduces the consumption of hardware resources on the server side because the formatting is done on the client’s machine.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Thomas Gulledge, What is integration. Industrial Management &amp;amp; Data Systems, 106&lt;br /&gt; (1), pp: 5-20&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Payel A. and Bogdan C.M., (2008), Object-Oriented Construction of Portals Using&lt;br /&gt;  AJAX, Int. J. of Computers, Communications &amp;amp; Control, 3, pp. 442-447&lt;br /&gt;&lt;br /&gt;Anonymous, April 2001, Building Systems Integration: Understanding The Benefits Of Integration, Siemens Building Technologies&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1052528289729136160?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1052528289729136160/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-10-102.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1052528289729136160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1052528289729136160'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-10-102.html' title='Exercise 10: 10.2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-890745783465993825</id><published>2009-04-13T00:39:00.001-07:00</published><updated>2009-04-13T00:39:59.852-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 10: 10-1</title><content type='html'>1. Go to the website of IBM, Oracle, Microsoft and Sybase. Is there any mention of e-commerce associated with their database products? What suite or partnership do they list with related e-commerce offerings? How do they compare with open source products like MySQL?&lt;br /&gt;&lt;br /&gt;IBM:&lt;br /&gt;Aviva Investors wished to move to a more flexible cost base and improve efficiency; many diverse applications and data repositories had become so intertwined over the years that decoupling selected functions presented serious challenges&lt;br /&gt;&lt;br /&gt;Aviva Investors and IBM Premier Business Partner Alphacourt developed a ‘hub and spoke’ architecture based on the IBM WebSphere Business Integration product set&lt;br /&gt;&lt;br /&gt;The IBM WebSphere solution is allowing Aviva Investors to change profoundly how it does business; Aviva Investors’ people can gain access to more comprehensive, accurate and timely information which will sharpen the company’s competitiveness by shortening its time to market with new products&lt;br /&gt;&lt;br /&gt;IBM products:&lt;br /&gt;WebSphere Message Broker&lt;br /&gt;WebSphere MQ&lt;br /&gt;&lt;br /&gt;Oracle:&lt;br /&gt;Midea Group Share Co., Ltd. Guangdong, China&lt;br /&gt;&lt;br /&gt;Oracle Products &amp;amp; Services:&lt;br /&gt;l   Oracle Database&lt;br /&gt;l   Oracle Discrete Manufacturing&lt;br /&gt;l   Oracle Order Management&lt;br /&gt;l   Oracle Financials&lt;br /&gt;&lt;br /&gt;Key Benefits:&lt;br /&gt;l   Increased sales by 40% and reduced product delivery cycles by streamlining workflow for each distribution channel and product line&lt;br /&gt;l   Improved productivity by 15% and brought production costs under control by establishing a more efficient manufacturing processes&lt;br /&gt;l   Reduced inventory levels by 10% after enhancing efficiency of order management&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Microsoft:&lt;br /&gt;WebTrends solutions deliver enterprise Web analytics and deep visitor intelligence that help organizations measure site performance and drive customer engagement to maximize return on marketing spend.&lt;br /&gt;Software and Services&lt;br /&gt;Feature: Analysis ServicesFeature: Reporting ServicesMicrosoft Dynamics CRM 3.0Microsoft Office Outlook 2007Microsoft SQL Server 2005&lt;br /&gt;&lt;br /&gt;By the Microsoft solution&lt;br /&gt;l   Easy Integration with Existing Services&lt;br /&gt;l   Flexible Deployment&lt;br /&gt;l   Increased Workflow Automation&lt;br /&gt;&lt;br /&gt;Sybase:&lt;br /&gt;&lt;br /&gt;Agriculture Bank of China&lt;br /&gt;&lt;br /&gt;KEY BENEFITS&lt;br /&gt;• Provides systematic, comprehensive, standard and accurate card analysis&lt;br /&gt;• Adapts to the changing statistic requirements of the management team, avoiding repetitive system development&lt;br /&gt;• Promotes quick and healthy development of the bank card business&lt;br /&gt;&lt;br /&gt;SYBASE TECHNOLOGY&lt;br /&gt;• Adaptive ServerR Enterprise&lt;br /&gt;• Sybase IQ&lt;br /&gt;http://www.sybase.com/detail?id=1045499&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;IBM, 28-Apr-2008, Aviva Investors works more effectively with IBM WebSphere solutions. Retrieving on 5 April 2009 from &lt;a href="ftp://ftp.software.ibm.com/common/ssi/pm/ab/n/swc02032gben/SWC02032GBEN.PDF"&gt;ftp://ftp.software.ibm.com/common/ssi/pm/ab/n/swc02032gben/SWC02032GBEN.PDF&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Oracle, December 2006, Midea Boosts Sales by 40%, Reduces Inventory Levels by 10%, Retrieving on 5 April 2009 from&lt;br /&gt;&lt;a href="http://www.oracle.com/customers/snapshots/midea-ebs-case-study.pdf"&gt;www.oracle.com/customers/snapshots/midea-ebs-case-study.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Microsoft&lt;br /&gt;Microsoft , 7/11/2007, Web Analytics Integrates With CRM for More Effective Marketing, Sales, and Service, Retrieving on 5 April 2009 from&lt;br /&gt;&lt;a href="http://whitepapers.techrepublic.com.com/abstract.aspx?docid=312314"&gt;http://whitepapers.techrepublic.com.com/abstract.aspx?docid=312314&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Sybase&lt;br /&gt;Sybase, 2008, CUSTOMER SUCCESS STORIES: Agriculture Bank of China, Retrieving on 5 April 2009 from &lt;a href="http://www.sybase.com/files/Success_Stories/ABC-110708-ss.pdf"&gt;http://www.sybase.com/files/Success_Stories/ABC-110708-ss.pdf&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-890745783465993825?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/890745783465993825/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-10-10-1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/890745783465993825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/890745783465993825'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-10-10-1.html' title='Exercise 10: 10-1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-7639360115830220634</id><published>2009-04-13T00:38:00.001-07:00</published><updated>2009-04-13T00:38:34.514-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 9 -9.3</title><content type='html'>Can you modify the script to process the form?&lt;br /&gt;&lt;br /&gt;name=Evan+Burke&amp;amp;card=Visa&amp;amp;number=8443261344895544&amp;amp;order=French+perfume&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.          #!c:/usr/bin/perl&lt;br /&gt;2.          print "Content-type: text/html \n\n";&lt;br /&gt;3.          $finfo = &lt;stdin&gt;;&lt;br /&gt;4.          @pairs = split(/&amp;amp;/,$finfo);&lt;br /&gt;5.          foreach $pair (@pairs)&lt;br /&gt;6.          {&lt;br /&gt;7.          ($name,$value) = split(/=/,$pair);&lt;br /&gt;8.          $value=~ s/\+/ /g;&lt;br /&gt;9.          $value =~ s/%([0-9a-fA-F][0-9a-fA-F])/ pack("C", hex($1))/eg;&lt;br /&gt;10.      $FORM{$name} = $value;&lt;br /&gt;11.      }&lt;br /&gt;12.      print "$FORM{'name'}&lt;br /&gt;\n";&lt;br /&gt;13.      print "$FORM{'card'}\n";&lt;br /&gt;14.      print "$FORM{'cardno'}&lt;br /&gt;\n";&lt;br /&gt;15.      print "$FORM{'order'}\n";&lt;br /&gt;16.      exit (0);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;description:&lt;br /&gt;Line 1: perl.exe is installed at c:/usr/bin;&lt;br /&gt;Line 2: display the output as HTML format;&lt;br /&gt;Line 3: we use $finfo to store the standard input of the form;&lt;br /&gt;Line 4: @pairs is an array used to store the data; the whole data is split into 4 parts by the sign “&amp;amp;”;&lt;br /&gt;      name=Evan+Burke;&lt;br /&gt;card=Visa;&lt;br /&gt;number=8443261344895544;&lt;br /&gt;order=French+perfume;&lt;br /&gt;Line 5: It is a loop for each element in the array;&lt;br /&gt;Line 7: we use two variables to store the data; like the following:&lt;br /&gt;      $name=name;&lt;br /&gt;      $value= Evan+Burke;&lt;br /&gt;Line 8: convert the symbol “+” to a space “ “;&lt;br /&gt;Line 9: convert the machine codes into English-like letters;&lt;br /&gt;Line 10: we use a hash to store the output;&lt;br /&gt;    name=Evan Burke;&lt;br /&gt;card=Visa;&lt;br /&gt;number=8443261344895544;&lt;br /&gt;order=French perfume;&lt;br /&gt;Line 12-15: call and display the related data;&lt;br /&gt;Line 16: exit from the code&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-7639360115830220634?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/7639360115830220634/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-9-93.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7639360115830220634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7639360115830220634'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-9-93.html' title='Exercise 9 -9.3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-2555382328298490697</id><published>2009-04-13T00:35:00.000-07:00</published><updated>2009-04-13T00:38:09.333-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 9 - 9.2</title><content type='html'>Write the script&lt;br /&gt;&lt;br /&gt;Script archives exist for PERL, Python and JavaScript. Search the Web for a script that processes the HTML forms data. Read the code and list the steps involved in processing the form.&lt;br /&gt;&lt;br /&gt;Script:&lt;br /&gt;&lt;br /&gt;&lt;form action="http://cmis.mis.brighton.ac.uk/cgi-bin/mas/mas_form.exe"&gt;&lt;br /&gt;&lt;input value="Your name" name="name"&gt;&lt;br /&gt;&lt;/form&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeLrgffYnqI/AAAAAAAAAOY/dqnSzBL_ehU/s1600-h/92.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5324076652946824866" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 122px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeLrgffYnqI/AAAAAAAAAOY/dqnSzBL_ehU/s320/92.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/SeLrgu0lbMI/AAAAAAAAAOg/xRJ4FIL-njI/s1600-h/93.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5324076657062276290" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 150px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/SeLrgu0lbMI/AAAAAAAAAOg/xRJ4FIL-njI/s320/93.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From the HTML tutorial on W3C, It illustrates that&lt;br /&gt;When the user submits a form by activating a submit button, the user agent processes it as follows&lt;br /&gt;1.          Identify the successful controls&lt;a name="h-17.13.3.1"&gt; &lt;/a&gt;&lt;br /&gt;2.          Build a &lt;a name="form-data-set"&gt;form data set&lt;/a&gt;&lt;a name="h-17.13.3.2"&gt; &lt;/a&gt;&lt;a name="didx-form_data_set"&gt;A form data set&lt;/a&gt; is a sequence of &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#control-name#control-name"&gt;control-name&lt;/a&gt;/current-value pairs constructed from successful controls&lt;br /&gt;&lt;a name="idx-form-11"&gt;3.          Encode the form data set&lt;/a&gt;&lt;a name="h-17.13.3.3"&gt;. &lt;/a&gt;The form data set is then encoded according to the &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#form-content-type#form-content-type"&gt;content type&lt;/a&gt; specified by the &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#adef-enctype"&gt;enctype&lt;/a&gt; attribute of the &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#edef-FORM"&gt;FORM&lt;/a&gt; element.&lt;br /&gt;&lt;a name="idx-form-12"&gt;4.          Submit the encoded form data set&lt;/a&gt;&lt;a name="h-17.13.3.4"&gt;. &lt;/a&gt; Finally, the encoded data is sent to the processing agent designated by the &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#adef-action"&gt;action&lt;/a&gt; attribute using the protocol specified by the method attribute.&lt;br /&gt;        This specification does not specify all valid submission methods or &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#form-content-type#form-content-type"&gt;content types&lt;/a&gt;&lt;br /&gt;        that may be used with forms.&lt;br /&gt;However, HTML 4 user agents must support the established conventions in the following cases:&lt;br /&gt;&lt;br /&gt;If the &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#adef-method"&gt;method&lt;/a&gt; is "get" and the &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#adef-action"&gt;action&lt;/a&gt; is an HTTP URI, the user agent takes the value of &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#adef-action"&gt;action&lt;/a&gt;, appends a `?' to it, then appends the &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#form-data-set#form-data-set"&gt;form data set&lt;/a&gt;, encoded using the "application/x-www-form-urlencoded" &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#form-content-type#form-content-type"&gt;content type&lt;/a&gt;. The user agent then traverses the link to this URI. In this scenario, form data are restricted to ASCII codes.&lt;br /&gt;&lt;br /&gt;If the &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#adef-method"&gt;method&lt;/a&gt; is "post" and the &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#adef-action"&gt;action&lt;/a&gt; is an HTTP URI, the user agent conducts an HTTP "post" transaction using the value of the &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#adef-action"&gt;action&lt;/a&gt; attribute and a message created according to the &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#form-content-type#form-content-type"&gt;content type&lt;/a&gt; specified by the &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#adef-enctype"&gt;enctype&lt;/a&gt; attribute.&lt;br /&gt;&lt;br /&gt;For any other value of &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#adef-action"&gt;action&lt;/a&gt; or &lt;a href="http://www.w3.org/TR/html401/interact/forms.html#adef-method"&gt;method&lt;/a&gt;, behavior is unspecified.&lt;br /&gt;User agents should render the response from the HTTP "get" and "post" transactions&lt;br /&gt;&lt;br /&gt;Refernce:&lt;br /&gt;&lt;a href="http://www.w3.org/TR/html401/interact/forms.html#h-17.13.3"&gt;http://www.w3.org/TR/html401/interact/forms.html#h-17.13.3&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.comp.it.bton.ac.uk/~mas/mas/courses/html/html2.html"&gt;http://www.comp.it.bton.ac.uk/~mas/mas/courses/html/html2.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-2555382328298490697?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/2555382328298490697/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-9-92.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2555382328298490697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2555382328298490697'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-9-92.html' title='Exercise 9 - 9.2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_qMVlbiwAE6w/SeLrgffYnqI/AAAAAAAAAOY/dqnSzBL_ehU/s72-c/92.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1196481774316200845</id><published>2009-04-13T00:34:00.000-07:00</published><updated>2009-04-13T00:35:35.921-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 9 - 9.1</title><content type='html'>&lt;div&gt;Web form design and processing: A basis for e-commerce interaction&lt;br /&gt;&lt;br /&gt;1. Design the form&lt;br /&gt;&lt;br /&gt;“&lt;a name="OLE_LINK2"&gt;&lt;/a&gt;&lt;a name="OLE_LINK1"&gt;Retrofit&lt;/a&gt;” the form data string above for buying some French perfume into the HTML form fields and submit button on the Web page form.&lt;br /&gt;&lt;br /&gt;name=Evan+Burke&amp;amp;card=Visa&amp;amp;number=8443261344895544&amp;amp;order=French+perfume &lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeLrNsv-awI/AAAAAAAAAOQ/vu-mbt9ozjQ/s1600-h/91.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5324076330088557314" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 151px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeLrNsv-awI/AAAAAAAAAOQ/vu-mbt9ozjQ/s320/91.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1196481774316200845?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1196481774316200845/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-9-91.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1196481774316200845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1196481774316200845'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-9-91.html' title='Exercise 9 - 9.1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qMVlbiwAE6w/SeLrNsv-awI/AAAAAAAAAOQ/vu-mbt9ozjQ/s72-c/91.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-5944861332764130377</id><published>2009-04-13T00:14:00.002-07:00</published><updated>2009-04-13T00:23:04.320-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 5 - 5.3</title><content type='html'>&lt;p align="justify"&gt; Frameworks for development. Compare and contrast any TWO of:&lt;br /&gt;                Java&lt;br /&gt;                .NET&lt;br /&gt;                Ruby on Rails&lt;br /&gt;                Turbo Gears&lt;br /&gt;                Google Gears&lt;br /&gt;                AJAX frameworks&lt;br /&gt;&lt;br /&gt;Comparison with .NET and Java:&lt;br /&gt;&lt;a name="Standardization"&gt;&lt;/a&gt;&lt;br /&gt;Java platform was first released by Sun Microsystems Inc. Java advocates its simplicities and elegance of the strong-typed object-oriented, its security features, hardware and operating system, independence and the open architecture.&lt;br /&gt;&lt;br /&gt;The Microsoft .NET Framework is a software framework available with several Microsoft Windows operating systems. It includes a large library of coded solutions to prevent common programming problems and a virtual machine that manages the execution of programs written specifically for the framework.&lt;br /&gt;&lt;br /&gt;Components:&lt;br /&gt;Java platform&lt;br /&gt;It includes following main components:&lt;br /&gt;l   Class loader: It’s responsible for dynamically locating and loading one type of class file, maintaining type safety by adding link-time checks, consults the security policy, and defines the class object with the appropriate permissions.&lt;br /&gt;l   The Class File Verifier: The class file verifier is invoked by the class loader to check all aspects of a class file from its size and structure down to its runtime characteristics.&lt;br /&gt;l   Memory for Storage: It stores java objects, class-specific information such as methods and static fields and native code generated for class method, or loaded from native.&lt;br /&gt;l    JIT Complier: Translate the class code into native code on a method-by method basis as needed. It’s optional.&lt;br /&gt;l    Execution engine: It is the heart of the JVM. It is the virtual processor that executes byte code and performs memory management, thread management and calls to native methods.&lt;br /&gt;l   Security Manager: It’s responsible for enforcing runtime security restrictions.&lt;br /&gt;&lt;br /&gt;.NET Platform&lt;br /&gt;According to MSDN .NET Beta documentation, the CLR contains following main processes which are similar to Java platform counterpart:&lt;br /&gt;&lt;br /&gt;Class loading: There is a class loader which is used to load the implementation of a loadable type into memory and prepare it for execution. The class loader uses the name of the assembly, version information, information about the application, and administrative configuration to locate the assembly and its constituent files.&lt;br /&gt;The class loader is part of the CLR security enforcement mechanism. It performs a variety of consistency checks including enforcement of certain accessibility rules and self-consistency requirements.&lt;br /&gt;&lt;br /&gt;Verification: It ensures that consistency of type signatures is maintained within verified code.&lt;br /&gt;&lt;br /&gt;JIT compilation: There is a JIT complier to translate the intermediate language code into native code on a method-by-method basis as needed. As part of compiling intermediate language to native code, the code must pass a verification process. Verification examines intermediate language and metadata to see whether the code can be determined to be type-safe, which means that it is known to access only the memory locations it is authorized to access&lt;br /&gt;&lt;br /&gt;Execution: Before a method can be executed, it must be compiled to processor-specific code. Each method for which intermediate language has been generated is Just in time compiled when it is called for the first time, then executed.&lt;br /&gt;During execution, managed code receives services such as automatic memory management, security, interoperability with unmanaged code, cross-language debugging support, and enhanced deployment and versioning support.&lt;br /&gt;&lt;br /&gt;Security Check: It’s responsible for enforcing runtime security restrictions on access to resources and authentication.&lt;br /&gt;&lt;br /&gt;They are different from their main platforms, programming libraries, formats and their runtime environments.&lt;br /&gt;&lt;br /&gt;Standardization&lt;br /&gt;.NET has been standardized by ECMA International, &lt;a title="ISO" href="http://en.wikipedia.org/wiki/ISO"&gt;ISO&lt;/a&gt;/&lt;a title="IEC" href="http://en.wikipedia.org/wiki/IEC"&gt;IEC&lt;/a&gt;, &lt;a title="ANSI" href="http://en.wikipedia.org/wiki/ANSI"&gt;ANSI&lt;/a&gt; and the executable environment for .NET is known as the Common Language Infrastructure, (CLI) and its executable format is known as Common Intermediate Language(CIL), but excluding most of the foundation classes (the Base Class Library, or BCL).&lt;br /&gt;&lt;br /&gt;No part of Java has been standardized by &lt;a title="Ecma International" href="http://en.wikipedia.org/wiki/Ecma_International"&gt;Ecma International&lt;/a&gt;, &lt;a title="ISO" href="http://en.wikipedia.org/wiki/ISO"&gt;ISO&lt;/a&gt;/&lt;a title="IEC" href="http://en.wikipedia.org/wiki/IEC"&gt;IEC&lt;/a&gt;, &lt;a title="ANSI" href="http://en.wikipedia.org/wiki/ANSI"&gt;ANSI&lt;/a&gt;, or any other third-party standards organization. Sun voluntarily participates in a process called the &lt;a title="Java Community Process" href="http://en.wikipedia.org/wiki/Java_Community_Process"&gt;Java Community Process&lt;/a&gt; (JCP) that allows interested parties to propose changes to any of Sun's Java technologies from language and tools to API via forums, consultation exercises and expert groups.&lt;br /&gt;&lt;a name="License"&gt;&lt;/a&gt;&lt;br /&gt;License&lt;br /&gt;&lt;a name="Java"&gt;&lt;/a&gt;Java&lt;br /&gt;Sun owns the license of Java, any numerous free software projects exist that are compatible with Sun Java.&lt;br /&gt;Sun released the complete &lt;a title="Source code" href="http://en.wikipedia.org/wiki/Source_code"&gt;source code&lt;/a&gt; of the Class library under GPL, except some limited parts that were licensed by Sun from 3rd parties who did not want their code to be released under an open-source license. Sun's goal is to replace the parts that remain closed with alternative implementations and make the class library completely open.&lt;br /&gt;&lt;a name=".NET"&gt;&lt;/a&gt;&lt;br /&gt;.NET&lt;br /&gt;Microsoft's .NET CLI executable environment and some of the corresponding class library have been standardized and can be freely operated without any license. Some standards-compliant free software environments have been implemented. Microsoft distributes a &lt;a title="Shared source" href="http://en.wikipedia.org/wiki/Shared_source"&gt;shared source&lt;/a&gt; version of its .NET runtime environment for academic use.&lt;br /&gt;&lt;a name="Community"&gt;&lt;/a&gt;&lt;br /&gt;2.4.1 Java platform&lt;br /&gt;Policy-based, fine-grained, easy-configured code access control&lt;br /&gt;Object signing, sealing and guarding for remote object security&lt;br /&gt;Cryptographic services, including secure encoding and decoding of data, as&lt;br /&gt;well as many other operations, such as hashing, random number generation,&lt;br /&gt;message authentication, and formation of digital signatures&lt;br /&gt;2.4.2 .NET platform&lt;br /&gt;Policy-based, fine-grained, easy-configured code access control&lt;br /&gt;Role-based access control&lt;br /&gt;Remoting security support for remote object&lt;br /&gt;Cryptographic services, including secure encoding and decoding of data, as well as many other operations, such as hashing, random number generation, message authentication, and formation of digital signatures&lt;br /&gt;&lt;br /&gt;Community&lt;br /&gt;Java&lt;br /&gt;In its proprietorship of Java, Sun works with an open culture, allowing multiple parties, from organizations to individuals, to steer the decision making process. Sun reserves exclusive and unlimited legal rights to its Java &lt;a title="Intellectual property" href="http://en.wikipedia.org/wiki/Intellectual_property"&gt;intellectual properties&lt;/a&gt;, and the Java community is subject to those rights.&lt;br /&gt;&lt;br /&gt;.Net&lt;br /&gt;&lt;a title="Microsoft" href="http://en.wikipedia.org/wiki/Microsoft"&gt;Microsoft&lt;/a&gt; has developed C# and .NET without a formal community contribution system, the language and some parts of the executable format and runtime have been standardized and freely distributed through Ecma.&lt;br /&gt;&lt;a name="Traditional_computer_applications"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a name="Desktop_applications"&gt;&lt;/a&gt;Desktop applications&lt;br /&gt;Java&lt;br /&gt;Java has tried to occupy the market of the desktop. Its rigid adherence to the notion of write once, run anywhere makes it difficult to use to the maximum the unique features and modes of working within each individual desktop environment.&lt;br /&gt;&lt;br /&gt;.Net&lt;br /&gt;.NET has become increasingly common in open source and free software systems due to its inclusion.&lt;br /&gt;&lt;a name="Server_applications"&gt;&lt;/a&gt;&lt;br /&gt;Although the design goal of each platform is different, the architecture and code&lt;br /&gt;access control security mechanism of both platform are very similar.&lt;br /&gt;Access control security of .NET platform is slightly better than those of Java platform&lt;br /&gt;from the following aspects:&lt;br /&gt;l   Support Role-based security∗&lt;br /&gt;l   Support identity permission*&lt;br /&gt;l   Easy security policy configuration: four level of security policy, declarative attributes by using IL metadata&lt;br /&gt;l   Procedure of access control decision-making is little bit simple, by using permission demand.&lt;br /&gt;&lt;br /&gt;Some of the advantages of the .NET Framework Stem from the fact it was designed&lt;br /&gt;much later, which means you get the ground-up effect as opposed to that append-iton-&lt;br /&gt;later effect.&lt;br /&gt;But it’s some above slightly advantages the .NET platform over Java platform that&lt;br /&gt;make access control security of .NET platform too complicated. Access control&lt;br /&gt;security of Java platform, however are simple, elegant and comprehensive, even if&lt;br /&gt;Java platform has to consider some backward compatibility when new features were added in it.&lt;br /&gt;&lt;br /&gt;From above analysis, I conclude that the access control securities of both platforms&lt;br /&gt;are very similar. There is no significant difference of access control security between the two platforms.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Anonymous, 3 April 2009, Comparison of the Java and .NET platforms, Retrieving on 4&lt;br /&gt;  April 2009 from http://en.wikipedia.org/wiki/Comparison_of_the_Java_and_.NET_platforms&lt;br /&gt;&lt;br /&gt;Yongqiang Li, May 2001, A Comparison of Access Control Security of Java Platform&lt;br /&gt;   and .NET Platform&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-5944861332764130377?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/5944861332764130377/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-5-53.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/5944861332764130377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/5944861332764130377'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-5-53.html' title='Exercise 5 - 5.3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-135783010649091890</id><published>2009-04-13T00:14:00.001-07:00</published><updated>2009-04-13T00:14:49.559-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 5 - 5.2</title><content type='html'>Describe the important and distinguishing properties of Peer to Peer computing and the Grid. How is this peer to peer and the Grid architecture changing work flow and service-oriented applications?&lt;br /&gt;&lt;br /&gt;Jussis concluded (2008) that a P2P system exhibits the following characteristics:&lt;br /&gt;1.          Individual nodes have unsteady connectivity;&lt;br /&gt;2.          Unreliable, uncoordinated, unmanaged&lt;br /&gt;3.          No central authority, peers are completely independent&lt;br /&gt;4.          Increases flexibility of individual peers, but makes the overall system  unreliable&lt;br /&gt;5.          Resilient to attacks, heterogeneous peers make viruses and worms;&lt;br /&gt;6.          Large number of peers in the system&lt;br /&gt;7.          Large collection of resources&lt;br /&gt;8.          Voluntary participation, global reach&lt;br /&gt;&lt;br /&gt;Grid Computing&lt;br /&gt;It identifies that grid enables sharing, selection, and aggregation of a wide variety of resources that are geographically distributed and owned by different organizations for solving large-scale computational and data intensive problems in science, engineering, and commerce. Therefore, it creates virtual organizations and enterprises as a temporary union that come together to share resources and skills, core competencies, or resources in order to better respond to business opportunities or large-scale application processing requirements, and whose cooperation is supported by computer networks. (Mark Baker et al, 2002, p.3)&lt;br /&gt;&lt;br /&gt;Grids can be used to provide the following types of services:&lt;br /&gt;• Computational services. These are concerned with providing secure services for executing application jobs on distributed computational resources individually or collectively. Resources brokers provide the services for collective use of distributed resources.&lt;br /&gt;&lt;br /&gt;• Data services&lt;br /&gt;To provide a scalable storage and access to the data sets, they may be replicated, catalogued, and even different datasets stored in different locations to create an illusion of mass storage.&lt;br /&gt;&lt;br /&gt;• Application services.&lt;br /&gt;It is the application management and providing access to remote software and libraries transparently. The emerging technologies such as Web services are expected to play a leading role in defining application services. They build on computational and data services provided by the Grid.&lt;br /&gt;&lt;br /&gt;•             Information services.&lt;br /&gt;It is the extraction and presentation of data with meaning by using the services of computational, data, and/or application services. The information is represented, stored, accessed, shared, and maintained by this service.&lt;br /&gt;&lt;br /&gt;•   Knowledge services.&lt;br /&gt;Knowledge is acquired, used, retrieved, published, and maintained to assist users in achieving their particular goals and objectives. Knowledge is understood as information applied to achieve a goal, solve a problem, or execute a decision.&lt;br /&gt;&lt;br /&gt;Mark (2002 p.27) argued that grid is not only a computing infrastructure, for large applications, it is a technology that can bond and unify remote and diverse distributed resources ranging from meteorological sensors to data vaults, and from parallel supercomputers to personal digital organizers.&lt;br /&gt;&lt;br /&gt;As such, it will provide pervasive services to all users that need them. Scientists and engineers routinely perform their work without regard to their physical location. They will be able to interact with colleagues, access instrumentation, share data and computational resources, and access information in digital libraries. All scientific and technical journals will be available on-line, allowing readers to download documents and other forms of information, and manipulate it to interactively explore the published research. This exciting vision has a direct impact on the next generation of computer applications and on the way that they will be designed and developed.&lt;br /&gt;&lt;br /&gt;To reduce the costs of system development, it is foreseeable that no single company or organization would be able to or hire and train all the necessary expertise necessary to build an application. This will heighten the movement towards component frameworks, enabling rapid construction from third-party ready-to-use components.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Jussi Kangasharju, 2008, Peer-to-Peer Networks, Retrieving on 22 mar 2009, from&lt;br /&gt;&lt;a href="http://www.cs.helsinki.fi/u/jakangas/Teaching/p2p-08f.html"&gt;http://www.cs.helsinki.fi/u/jakangas/Teaching/p2p-08f.html&lt;/a&gt;&lt;br /&gt;Mark Baker, Rajkumar Buyya and Domenico Laforenza, 2002, Grids and Grid technologies for wide-area distributed computing&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-135783010649091890?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/135783010649091890/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-5-52.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/135783010649091890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/135783010649091890'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-5-52.html' title='Exercise 5 - 5.2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-6644080406097497172</id><published>2009-04-13T00:09:00.000-07:00</published><updated>2009-04-13T00:14:13.518-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 5 - 5.1</title><content type='html'>Investigate a simple chat client/server system. Look at some program code and describe how it works with multiple users.&lt;br /&gt;&lt;br /&gt;The following system(program) is written in visual basic 6.0.&lt;br /&gt;Sources:&lt;br /&gt;&lt;a href="http://tw.myblog.yahoo.com/lk-hsu/article?mid=1457&amp;amp;next=1438&amp;amp;l=f&amp;amp;fid=16"&gt;http://tw.myblog.yahoo.com/lk-hsu/article?mid=1457&amp;amp;next=1438&amp;amp;l=f&amp;amp;fid=16&lt;/a&gt;&lt;br /&gt;Dim MaxClient As Integer&lt;br /&gt;Private Sub Form_Activate()&lt;br /&gt;X = picF.WidthY = picF.Height&lt;br /&gt;nnx = Me.ScaleWidth \ Xnny = Me.ScaleHeight \ Y&lt;br /&gt;For i = 0 To nny&lt;br /&gt;For j = 0 To nnx&lt;br /&gt;Me.PaintPicture picF.Picture, j * picF.Width, i * picF.Height&lt;br /&gt;Next j, i&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Form_Load()&lt;br /&gt;Winsock_Server(0).Protocol = sckTCPProtocolWinsock_Server(0).LocalPort = 3000Winsock_Server(0).Listen&lt;br /&gt;MaxClient = 20&lt;br /&gt;For i = 1 To MaxClient&lt;br /&gt;Load Winsock_Server(i)Next&lt;br /&gt;txt.Text = EmptypicF.Visible = FalseMe.AutoRedraw = TrueMe.Top = 200&lt;br /&gt;'Frm_tcpClient.Show (Test two forms of client communication)&lt;br /&gt;'Frm_tcpClient.Top = Me.Top + Me.Height'Frm_tcpClient.Left = Me.Left&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Winsock_Server_Close(Index As Integer)&lt;br /&gt;For i = 0 To List1.ListCount - 1 List1.ListIndex = i &lt;span style="color:#ff9900;"&gt;(Display the text row by row)&lt;/span&gt; strList = Split(List1.Text, "&lt;") If strList(0) = Index Then List1.RemoveItem List1.ListIndex List1.Refresh Exit For End IfNext Winsock_Server(Index).Close &lt;span style="color:#ff9900;"&gt;‘(close Winsock)&lt;br /&gt;&lt;/span&gt;Unload Winsock_Server(Index) &lt;span style="color:#ff9900;"&gt;‘(release resources)Load Winsock_Server&lt;/span&gt;(Index) &lt;span style="color:#ff9900;"&gt;‘(regeneration)&lt;br /&gt;&lt;/span&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Winsock_Server_ConnectionRequest(Index As Integer, ByVal requestID As Long)&lt;br /&gt;For i = 1 To MaxClient If Winsock_Server(i).State = sckClosed Then&lt;br /&gt;Winsock_Server(i).Accept requested&lt;br /&gt;List1.AddItem i &amp;amp; " &lt;&gt; &lt;&gt;"&lt;br /&gt;txt.SelText = vbCrLf &amp;amp; Winsock_Server(i).RemoteHostIP &amp;amp; " Connection successful"&lt;br /&gt;Exit For End If&lt;br /&gt;Next&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Winsock_Server_DataArrival(Index As Integer, ByVal bytesTotal As Long)&lt;br /&gt;On Error Resume Next&lt;br /&gt;Dim inData As StringWinsock_Server(Index).GetData inData, vbString &lt;span style="color:#ff9900;"&gt;'(RECEIVE DATA)&lt;br /&gt;&lt;/span&gt;txt.SelColor = QBColor(Index mod 7)txt.SelText = vbNewLine &amp;amp; inData '(DISPLAY DATA)&lt;br /&gt;For i = 1 To MaxClient &lt;span style="color:#ff9900;"&gt;'(DISPLAY TO ALL CLIENTS WHO CONNECTED)&lt;br /&gt;&lt;/span&gt;If Winsock_Server(i).State = sckConnected Then Winsock_Server(i).SendData Trim(Str(Index)) &amp;amp; "," &amp;amp; inData DoEvents End If&lt;br /&gt;Next&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Winsock_Server_Error(Index As Integer, ByVal Number As Integer, Description As String, ByVal Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal HelpContext As Long, CancelDisplay As Boolean)s = Indexs = s &amp;amp; "ERROR MESSAGES：" &amp;amp; Number &amp;amp; vbNewLines = s &amp;amp; "MESSAGES：" &amp;amp; Description &amp;amp; vbNewLines = s &amp;amp; "Scode：" &amp;amp; Scode &amp;amp; vbNewLines = s &amp;amp; "ERROR CODE：" &amp;amp; Source &amp;amp; vbNewLineMsgBox sEnd Sub&lt;br /&gt;&lt;br /&gt;'Client Codes&lt;br /&gt;Private Sub btnClose_Click()&lt;br /&gt;txt.Text = Empty &lt;span style="color:#ff9900;"&gt;'(clear the message box) &lt;/span&gt;txtSend.Text = Empty &lt;span style="color:#ff9900;"&gt;'(clear the sent message box)&lt;br /&gt;&lt;/span&gt;Winsock_Client.ClosebtnClose.Enabled = FalsebtnConnect.Enabled = TruetxtSend.Enabled = False&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub btnConnect_Click()&lt;br /&gt;Winsock_Client.Protocol = sckTCPProtocolWinsock_Client.RemoteHost = Combo1.TextWinsock_Client.RemotePort = 3000 '(set the port as 3000)&lt;br /&gt;Winsock_Client.ConnectbtnClose.Enabled = TruebtnConnect.Enabled = FalsetxtSend.Enabled = True&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub btnEnd_Click()&lt;br /&gt;Winsock_Client.CloseUnload Me&lt;br /&gt;End Sub&lt;br /&gt;Private Sub Form_Activate()X = picF.WidthY = picF.Height&lt;br /&gt;nnx = Me.ScaleWidth \ Xnny = Me.ScaleHeight \ Y&lt;br /&gt;For i = 0 To nny For j = 0 To nnx Me.PaintPicture picF.Picture, j * picF.Width, i * picF.HeightNext j, i&lt;br /&gt;End Sub&lt;br /&gt;Private Sub Form_Load()&lt;br /&gt;Combo1.AddItem "127.1" '(Set localhost as server)Combo1.AddItem "LocalHost" ‘(Set localhost as server)Combo1.AddItem "HSU_PC" &lt;span style="color:#ff9900;"&gt;'(Set server name)&lt;br /&gt;&lt;/span&gt;Combo1.AddItem "192.168.1.1" ' (Set IP for server)Combo1.AddItem "122.127.21.70" '(Set Public IP Address)Combo1.ListIndex = 0 &lt;span style="color:#ff9900;"&gt;'Set default&lt;/span&gt; selection btnClose.Enabled = FalsetxtSend.Enabled = FalsepicF.Visible = FalseMe.AutoRedraw = True&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub txtSend_Click()&lt;br /&gt;txtSend = ""End Sub&lt;br /&gt;&lt;br /&gt;Private Sub txtSend_KeyPress(KeyAscii As Integer)&lt;br /&gt;On Error GoTo errnick = txtNickName.TextIf nick = "" Then nick = "anonymous"If KeyAscii = vbKeyReturn Then&lt;br /&gt;Winsock_Client.SendData nick &amp;amp; " says：" &amp;amp; txtSend.Text txtSend = ""End If&lt;br /&gt;Exit Suberr:Call Winsock_Client_Error(vbError, "Can’t establish connection with remote host", vbError, "txtSend", HelpFile, HelpContext, False)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Winsock_Client_DataArrival(ByVal bytesTotal As Long)&lt;br /&gt;Dim inData As StringWinsock_Client.GetData inData, vbString 'Receiving the contentarrData = Split(inData, ",") 'split the contentcolorData = arrData(0) 'get the indexstrData = arrData(1) 'get the contenttxt.SelColor = QBColor(colorData Mod 7) 'change the colortxt.SelText = vbCrLf &amp;amp; strData 'Display the content&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Winsock_Client_Error(ByVal Number As Integer, Description As String, ByVal Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal HelpContext As Long, CancelDisplay As Boolean)&lt;br /&gt;s = ""s = s &amp;amp; "Error code：" &amp;amp; Number &amp;amp; vbNewLines = s &amp;amp; "Message：" &amp;amp; Description &amp;amp; vbNewLines = s &amp;amp; "Scode：" &amp;amp; Scode &amp;amp; vbNewLines = s &amp;amp; "Error reason：" &amp;amp; Source &amp;amp; vbNewLineMsgBox stxtSend.Enabled = FalsebtnClose.Enabled = FalsebtnConnect.Enabled = TrueWinsock_Client.Close&lt;br /&gt;End Sub&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-6644080406097497172?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/6644080406097497172/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-5-51.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6644080406097497172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6644080406097497172'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-5-51.html' title='Exercise 5 - 5.1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-351892624983325228</id><published>2009-04-13T00:07:00.000-07:00</published><updated>2009-04-13T00:08:41.547-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 4 - 4.4</title><content type='html'>What role can a VPN play in business-to-business e-commerce?&lt;br /&gt;The role that a VPN play in business-to-business e-commerce is to provide confidentiality and integrity for data over ‘danger’ networks like the Internet. Therefore, it is used to secure traffic from remote workers to a VPN gateway at the edge of the company network. That gateway is responsible for authenticating users and controlling which destinations can be reached. For example, a worker on a public PC may only be permitted to check e-mail, while a worker on a company laptop may be given access to sensitive servers. A laptop missing patches or infected with a Trojan may be directed a quarantine server for remediation. Besides, a VPN allows two or more offices together to allow them to work as one. Therefore, they can share files, printers and more since the Broadband connection carries data between offices is secure and fast.&lt;br /&gt;&lt;br /&gt;http://www1.alcatel-lucent.com/bnd/bvs/VPN_Poster_May08.pdf&lt;br /&gt;&lt;br /&gt;http://www.vpn-for-business.co.uk/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-351892624983325228?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/351892624983325228/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-4-44.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/351892624983325228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/351892624983325228'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/exercise-4-44.html' title='Exercise 4 - 4.4'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-6491381080678403671</id><published>2009-04-12T23:50:00.002-07:00</published><updated>2009-04-12T23:52:18.757-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='workshop 4'/><title type='text'>workshop 4 - Ex 4.3</title><content type='html'>3. Compare the Ruby and Python versions of the dog years calculator:&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Comparison:&lt;br /&gt;The purpose of both programs is to calculate the ages of dogs relate to human.&lt;br /&gt;Fist, if the input is less than zero, it displays “negative age”. And if the input is less than 3 or more than 110, it also doesn’t make sense. Therefore, any input which is between 3 and 110 will multiply 7 as the output, dog years. &lt;br /&gt;&lt;br /&gt;The syntaxes in both programs are different:&lt;/p&gt;&lt;p&gt;Ruby&lt;br /&gt;Use “puts” to display the output&lt;br /&gt;Use “gets” to get the keyboard input&lt;br /&gt;Define function without any argument or variable&lt;br /&gt;Call the function “dogyears” directly&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Python&lt;br /&gt;Use “print” to display the output&lt;br /&gt;Use “input” to get the keyboard input&lt;br /&gt;Define function with blank bracket “()”&lt;br /&gt;Define the function “main” to call the function “dogyears”&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-6491381080678403671?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/6491381080678403671/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-4-ex-43_12.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6491381080678403671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6491381080678403671'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-4-ex-43_12.html' title='workshop 4 - Ex 4.3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-2076543165930726036</id><published>2009-04-12T23:50:00.001-07:00</published><updated>2009-04-12T23:50:38.902-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='workshop 4'/><title type='text'>workshop 4 - Ex 4.2</title><content type='html'>2. Write a Ruby program called fizzbuzz.rb that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".&lt;br /&gt;&lt;br /&gt;#!/usr/bin/ruby&lt;br /&gt;def fizzbuzz&lt;br /&gt;  1.upto(100) do i&lt;br /&gt;    if i % 5 == 0 and i % 3 == 0&lt;br /&gt;      puts "FizzBuzz"&lt;br /&gt;    elsif i % 5 == 0&lt;br /&gt;      puts "Buzz"&lt;br /&gt;    elsif i % 3 == 0&lt;br /&gt;      puts "Fizz"&lt;br /&gt;    else&lt;br /&gt;      puts i&lt;br /&gt;    end&lt;br /&gt;  end&lt;br /&gt;end&lt;br /&gt;fizzbuzz&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-2076543165930726036?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/2076543165930726036/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-4-ex-42_12.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2076543165930726036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2076543165930726036'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-4-ex-42_12.html' title='workshop 4 - Ex 4.2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-4442460954464963106</id><published>2009-04-12T23:21:00.000-07:00</published><updated>2009-04-12T23:49:59.561-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='workshop 4'/><title type='text'>workshop 4 - Ex 4.3</title><content type='html'>Challenge Problems:&lt;br /&gt;1.        Create, test and debug a Ruby program called dognames.rb or catnames.rb to accept 3 names from the keyboard and to display each name on the screen in alphabetical order WITHOUT using a data structure such as a list.&lt;br /&gt;&lt;br /&gt;#!/usr/bin/env ruby&lt;br /&gt;i=0my&lt;br /&gt;array=[]&lt;br /&gt;puts "enter the name"while i&lt;3 &lt;br /&gt;STDOUT.flush &lt;br /&gt;name= gets.chomp&lt;br /&gt;myarray.push(name)&lt;br /&gt;myarray[i].capitalize!&lt;br /&gt; i+=1&lt;br /&gt;end&lt;br /&gt;puts "\n"myarray.sort.each { i print i, "\n"}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-4442460954464963106?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/4442460954464963106/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-4-ex-43.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/4442460954464963106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/4442460954464963106'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-4-ex-43.html' title='workshop 4 - Ex 4.3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-112158971831246440</id><published>2009-04-12T23:20:00.000-07:00</published><updated>2009-04-12T23:21:15.274-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='workshop 4'/><title type='text'>workshop 4 - Ex 4.2</title><content type='html'>1.        While Ruby and Python are quite similar, can you find some similarities between Ruby and Javascript?&lt;br /&gt;&lt;br /&gt;Ruby:&lt;br /&gt;l   Ruby's class-based design approach;&lt;br /&gt;l   There are four eval() functions in Ruby.&lt;br /&gt;l   Ruby is similar to Javascript 3.0 but without punctuation;&lt;br /&gt;l   Ruby has a “method” method that returns a reference to the specified method. This is mostly needed because of the blurred line between properties and methods.&lt;br /&gt;l   It provides some modules that are convenient to programmers. They are Module#method_missing, Module#included, Class#inherited and Module#const_missing&lt;br /&gt;&lt;br /&gt;Javascript:&lt;br /&gt;l   Javascript is prototype-based design approach;&lt;br /&gt;l   It has only the basic eval() function.&lt;br /&gt;l   It’s widely deployed in most web browsers;&lt;br /&gt;l   It misses some magic method to allow dynamically, on-demand-generated runtime methods;&lt;br /&gt;l   They can have own properties which is not true for Ruby methods, they can be passed as arguments, and they can be bound and unbound at will.&lt;br /&gt;l   It doesn’t have the four modules as Ruby mentioned above.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;&lt;a href="http://code.google.com/p/trimpath/wiki/RubyVsJavaScript"&gt;http://code.google.com/p/trimpath/wiki/RubyVsJavaScript&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.bias2build.com/thesis/ruby_v_js_MP.html"&gt;http://www.bias2build.com/thesis/ruby_v_js_MP.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-112158971831246440?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/112158971831246440/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-4-ex-42.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/112158971831246440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/112158971831246440'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-4-ex-42.html' title='workshop 4 - Ex 4.2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-7382485594570631952</id><published>2009-04-12T23:19:00.002-07:00</published><updated>2009-04-12T23:20:44.691-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='workshop 4'/><title type='text'>workshop 4 - Ex 4.1</title><content type='html'>1.        What are the syntax differences in the way that Ruby and Javascript use the if statement?&lt;br /&gt;&lt;br /&gt;Ruby&lt;br /&gt;An if statement with an else clause (the else clause is optional)&lt;br /&gt;&lt;br /&gt;If syntax&lt;br /&gt;if var == 10     print "Variable is 10″end&lt;br /&gt;&lt;br /&gt;If Else Syntax&lt;br /&gt;if var == 10   print "Variable is 10″else   print "Variable is something else"end&lt;br /&gt;&lt;br /&gt;If Else If Syntax&lt;br /&gt;Here's the key difference between Ruby and most other languages. Note that "else if" is actually spelled "elsif" without the “e”.&lt;br /&gt;&lt;br /&gt;if var == 10   print "Variable is 10″elsif var == "20″   print "Variable is 20″else   print "Variable is something else"end&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Java&lt;br /&gt;If (booleanexpression){&lt;br /&gt;         Statement (s)&lt;br /&gt;}&lt;br /&gt;Or&lt;br /&gt;If (booleanexpression){&lt;br /&gt;         Statement (s)&lt;br /&gt;} else {&lt;br /&gt;    Statement (s)&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example 1&lt;br /&gt; def add_definition(definition)&lt;br /&gt;  definition.word = self if definition.word != self&lt;br /&gt;  @definitions &lt;&lt; definition   &lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;Example 2&lt;br /&gt;def add_definition(definition)&lt;br /&gt;  if definition.word != self&lt;br /&gt;    definition.word = self&lt;br /&gt;  end&lt;br /&gt;  @definitions &lt;&lt; definition   &lt;br /&gt;end&lt;br /&gt;In the Java language, if the body of a conditional is a single line, you can drop the brackets. In Ruby, if the body of a conditional is a single line, you can write expressions like the one shown in &lt;a href="http://www.ibm.com/developerworks/library/j-ruby/#code11"&gt;example&lt;/a&gt; 1. Also note that the same conditional could also be written as definition.word = self unless definition.word == self, which uses Ruby's unless feature.&lt;br /&gt;References:&lt;br /&gt;http://www.ibm.com/developerworks/library/j-ruby/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-7382485594570631952?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/7382485594570631952/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-4-ex-41.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7382485594570631952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7382485594570631952'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-4-ex-41.html' title='workshop 4 - Ex 4.1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-2496572235415160476</id><published>2009-04-12T23:19:00.001-07:00</published><updated>2009-04-12T23:19:46.184-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='workshop 2'/><title type='text'>workshop 2 - Ex 2.1</title><content type='html'>1.          What is meant by “convention over configuration” and how does it reduce coding?&lt;br /&gt;&lt;br /&gt;"Convention over Configuration" means a developer only needs to specify unconventional aspects of the application. For example, if there is a class Sale in the model, the corresponding table in the database is called sales by default. It is only if one deviates from this convention, such as calling the table "products sold", that the developer needs to write code regarding these names. Generally, this leads to less code and less repetition.&lt;br /&gt;&lt;br /&gt;"Don't repeat yourself" means that information is located in a single, unambiguous place. For example, using the ActiveRecord module of Rails, the developer does not need to specify database column names in class definitions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Ruby on Rails, Retrieving on 26 Mar 2009 from http://en.wikipedia.org/wiki/Ruby_on_Rails&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-2496572235415160476?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/2496572235415160476/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-2-ex-21.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2496572235415160476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2496572235415160476'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-2-ex-21.html' title='workshop 2 - Ex 2.1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-9143123404045562682</id><published>2009-04-12T23:13:00.000-07:00</published><updated>2009-04-12T23:19:00.095-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop 1'/><title type='text'>workshop 1- Ex 1.6</title><content type='html'>6. Describe the steps involved with the MVC design approach.&lt;br /&gt;The Model-View-Controller and its application structuring paradigm for thinking about interactive application components were developed. First, we have to create the three main elements, Model, Controller and View.&lt;br /&gt;&lt;br /&gt;Models are those components of the system application that actually do the work. They are kept quite distinct from views, which display aspects of the models. Controllers are used to send messages to the model, and provide the interface between the model with its associated views and the interactive user interface devices.&lt;br /&gt;Each view may be thought of as being closely associated with a controller, each having exactly one model, but a model may have many view/controller pairs.&lt;br /&gt;&lt;br /&gt;A change in a model is often triggered by a controller connecting a user action to a message sent to the model. This change should be reflected in all of its views, not just the view associated with the controller that initiated the change.&lt;br /&gt;&lt;br /&gt;Dependents&lt;br /&gt;To manage change notification, the notion of objects as dependents was developed. Views and controllers of a model are registered in a list as dependents of the model, to be informed whenever some aspect of the model is changed. When a model has changed, a message is broadcast to notify all of its dependents about the change. Each view or controller responds to the appropriate model changes in the appropriate manner.&lt;br /&gt;The Interaction Cycle&lt;br /&gt;&lt;br /&gt;The user takes some input action and the active controller notifies the model to change itself accordingly. The model carries out the prescribed operations, possibly changing its state, and broadcasts to its dependents that it has changed, possibly inform them the nature of the change. Views can then inquire of the model about its new state, and update their display if necessary. Controllers may change their method of interaction depending on the new state of the model. The following diagram shown the flow of the approach.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/SeLZP3PvDSI/AAAAAAAAANw/E8Q0nHQOjr4/s1600-h/mvcpicture.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5324056576056560930" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 165px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/SeLZP3PvDSI/AAAAAAAAANw/E8Q0nHQOjr4/s320/mvcpicture.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Glenn Krasner &amp;amp; Stephen Pope, 1988, A Description of the Model-View-Controller User Interface Paradigm in the Smalltalk-80 System&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-9143123404045562682?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/9143123404045562682/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-116.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/9143123404045562682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/9143123404045562682'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/04/workshop-116.html' title='workshop 1- Ex 1.6'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_qMVlbiwAE6w/SeLZP3PvDSI/AAAAAAAAANw/E8Q0nHQOjr4/s72-c/mvcpicture.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-6010165760241102273</id><published>2009-03-29T23:22:00.001-07:00</published><updated>2009-03-29T23:22:34.494-07:00</updated><title type='text'>Exercise 8-5: PHP and MySQL database access</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/SdBlJd0YLXI/AAAAAAAAANg/tNnjBd5JNHk/s1600-h/ex8_5.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318862373222100338" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 121px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/SdBlJd0YLXI/AAAAAAAAANg/tNnjBd5JNHk/s320/ex8_5.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-6010165760241102273?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/6010165760241102273/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-8-5-php-and-mysql-database.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6010165760241102273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6010165760241102273'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-8-5-php-and-mysql-database.html' title='Exercise 8-5: PHP and MySQL database access'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qMVlbiwAE6w/SdBlJd0YLXI/AAAAAAAAANg/tNnjBd5JNHk/s72-c/ex8_5.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1153301655166878396</id><published>2009-03-29T23:21:00.000-07:00</published><updated>2009-03-29T23:22:03.338-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 8-4: PHP and MySQL database access</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/SdBlAWMQeOI/AAAAAAAAANY/T05yIyfnDAU/s1600-h/ex8_4.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318862216555952354" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 102px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/SdBlAWMQeOI/AAAAAAAAANY/T05yIyfnDAU/s320/ex8_4.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1153301655166878396?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1153301655166878396/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-8-4-php-and-mysql-database.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1153301655166878396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1153301655166878396'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-8-4-php-and-mysql-database.html' title='Exercise 8-4: PHP and MySQL database access'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qMVlbiwAE6w/SdBlAWMQeOI/AAAAAAAAANY/T05yIyfnDAU/s72-c/ex8_4.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-3882512763521904598</id><published>2009-03-29T23:20:00.001-07:00</published><updated>2009-03-29T23:21:25.907-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 8-3: PHP and MySQL database access</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/SdBk2sBEH4I/AAAAAAAAANQ/8OZfa_TYxKY/s1600-h/ex8_3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318862050615893890" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 119px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/SdBk2sBEH4I/AAAAAAAAANQ/8OZfa_TYxKY/s320/ex8_3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-3882512763521904598?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/3882512763521904598/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-8-3-php-and-mysql-database.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3882512763521904598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3882512763521904598'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-8-3-php-and-mysql-database.html' title='Exercise 8-3: PHP and MySQL database access'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qMVlbiwAE6w/SdBk2sBEH4I/AAAAAAAAANQ/8OZfa_TYxKY/s72-c/ex8_3.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-7252920060730295776</id><published>2009-03-29T23:19:00.001-07:00</published><updated>2009-03-29T23:20:41.176-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 8-2: PHP and MySQL database access</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/SdBknL3Hb2I/AAAAAAAAANI/geYuRW57GUU/s1600-h/ex8_2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318861784286195554" style="WIDTH: 377px; CURSOR: hand; HEIGHT: 100px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/SdBknL3Hb2I/AAAAAAAAANI/geYuRW57GUU/s320/ex8_2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-7252920060730295776?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/7252920060730295776/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-8-2-php-and-mysql-database.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7252920060730295776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7252920060730295776'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-8-2-php-and-mysql-database.html' title='Exercise 8-2: PHP and MySQL database access'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_qMVlbiwAE6w/SdBknL3Hb2I/AAAAAAAAANI/geYuRW57GUU/s72-c/ex8_2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-7610212768578601208</id><published>2009-03-29T23:17:00.000-07:00</published><updated>2009-03-29T23:19:38.697-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 8-1: PHP and MySQL database access</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/SdBkQvLKECI/AAAAAAAAANA/0VnWbAGH1KE/s1600-h/81.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318861398628503586" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 58px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/SdBkQvLKECI/AAAAAAAAANA/0VnWbAGH1KE/s320/81.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-7610212768578601208?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/7610212768578601208/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-8-1-php-and-mysql-database.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7610212768578601208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7610212768578601208'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-8-1-php-and-mysql-database.html' title='Exercise 8-1: PHP and MySQL database access'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_qMVlbiwAE6w/SdBkQvLKECI/AAAAAAAAANA/0VnWbAGH1KE/s72-c/81.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-7851380863225033285</id><published>2009-03-29T23:16:00.000-07:00</published><updated>2009-04-13T00:28:00.155-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 7-2: User input for database access with PHP</title><content type='html'>&lt;div&gt;2. Then, create a PHP file named submit.php with the following code: &lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/SeLpbumBfpI/AAAAAAAAAOI/1rOG-ZS8QDE/s1600-h/73.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5324074372078599826" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 263px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/SeLpbumBfpI/AAAAAAAAAOI/1rOG-ZS8QDE/s320/73.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-7851380863225033285?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/7851380863225033285/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-7-2-user-input-for-database.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7851380863225033285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7851380863225033285'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-7-2-user-input-for-database.html' title='Exercise 7-2: User input for database access with PHP'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qMVlbiwAE6w/SeLpbumBfpI/AAAAAAAAAOI/1rOG-ZS8QDE/s72-c/73.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-8999701495452764711</id><published>2009-03-29T21:17:00.000-07:00</published><updated>2009-03-29T21:23:18.468-07:00</updated><title type='text'>Exercise 7-1: User input for database access with PHP</title><content type='html'>1.&lt;br /&gt;Create an HTML page with the form:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;form action="submit.php" method="get"&gt;What's your name? &lt;input size="10" name="myname"&gt;(Then press RETURN)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/SdBIB8Sn1gI/AAAAAAAAAMw/14w4geMyPT0/s1600-h/71.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318830358125860354" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 231px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/SdBIB8Sn1gI/AAAAAAAAAMw/14w4geMyPT0/s320/71.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/form&gt;&lt;p&gt;Output:&lt;/p&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/SdBIeqSmRSI/AAAAAAAAAM4/0EpUCKBi0QY/s1600-h/72.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318830851510125858" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 232px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/SdBIeqSmRSI/AAAAAAAAAM4/0EpUCKBi0QY/s320/72.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-8999701495452764711?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/8999701495452764711/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-7-1-user-input-for-database.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/8999701495452764711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/8999701495452764711'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-7-1-user-input-for-database.html' title='Exercise 7-1: User input for database access with PHP'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qMVlbiwAE6w/SdBIB8Sn1gI/AAAAAAAAAMw/14w4geMyPT0/s72-c/71.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1575295832985230257</id><published>2009-03-29T20:52:00.000-07:00</published><updated>2009-03-29T20:53:18.063-07:00</updated><title type='text'>Exercise 4-3: Virtual Private Networks</title><content type='html'>3. What do you know about building e-business applications as an Intranet, Extranet, Web portal, B2B, B2C or Virtual Private Network (VPN)? Find some examples on the Web.&lt;br /&gt;&lt;br /&gt;Infomatika is a leading e-Business consulting company specializing in providing B2B and B2C e-commerce solutions. Infomatika helps businesses implement Internet strategies from concept to launch, to help them achieve their Internet goals. (&lt;a href="http://www.infomatika.com/"&gt;http://www.infomatika.com/&lt;/a&gt;) &lt;/p&gt;&lt;p align="justify"&gt;Infomatika offers businesses a full spectrum of Internet and telecommunication services. These include e-Business consulting, application development, marketing, dial-up and dedicated access, and high-performance web hosting. &lt;/p&gt;&lt;p align="justify"&gt;B2B: http://www.etrenchless.com/&lt;br /&gt;Etrenchless.com was formed to deliver trenchless solutions by providing a global marketplace for the underground construction industry. Their solutions allow industry participants to buy and sell assets and inventory online, search for employees and purchase products from industry suppliers. &lt;/p&gt;&lt;p align="justify"&gt;Services Rendered: &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Consulting: Strategy, &lt;/li&gt;&lt;li&gt;Business Process&lt;/li&gt;&lt;li&gt;Development: Application Architecture, Application Development, Database Design, e-commerce and Auction System. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Functionality Provided: &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Member Registration&lt;/li&gt;&lt;li&gt;Auction &lt;/li&gt;&lt;li&gt;Employment Search&lt;/li&gt;&lt;li&gt;Admin Module - Auction, Employment&lt;/li&gt;&lt;li&gt;Email Notifications - Auction&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;B2C: Online shopping(&lt;a href="http://www.jshoppers.com/"&gt;http://www.jshoppers.com/&lt;/a&gt;)&lt;/p&gt;&lt;p align="justify"&gt;JSOPPERS is the online shop where Japanese fashion items and small goods can be purchased from 120 countries worldwide.People can purchase Nissen’s items from autumn 2005. People have to register and get their own account for purchasing. Electronic payment methods in this shop are PayPal, Credit card (Visa and Master cards), Alipay and PRC debit Card for Chinese. Transactions are protected by SSL. These products can be returned under its own policies.&lt;/p&gt;&lt;p align="justify"&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;/p&gt;&lt;p align="justify"&gt;VPN service: &lt;a href="http://strongvpn.com/"&gt;http://strongvpn.com/&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;This company provides VPN services as the following:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;Security&lt;/div&gt;&lt;/li&gt;&lt;li&gt;Virtual firewall&lt;/li&gt;&lt;li&gt;Anonymous surfing&lt;/li&gt;&lt;li&gt;Hot spot users preventing password sniffing&lt;/li&gt;&lt;li&gt;Companies want to lock down access via static IP&lt;/li&gt;&lt;li&gt;International users blocked by Government control&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1575295832985230257?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1575295832985230257/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-4-3-virtual-private-networks.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1575295832985230257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1575295832985230257'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-4-3-virtual-private-networks.html' title='Exercise 4-3: Virtual Private Networks'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-3751699789741371903</id><published>2009-03-29T20:50:00.001-07:00</published><updated>2009-03-29T20:54:12.477-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 4-2: Virtual Private Networks</title><content type='html'>2. Describe the TCP protocol. How is it related to the IP protocol? &lt;div align="justify"&gt;The TCP provides reliable transmission of data in an IP environment. TCP corresponds to the transport layer (Layer 4) of the OSI reference model. Among the services TCP provides are stream data transfer, reliability, efficient flow control, full-duplex operation, and multiplexing.&lt;br /&gt;&lt;br /&gt;&lt;a name="wpmkr3636"&gt;&lt;/a&gt;&lt;a name="wpmkr3635"&gt;&lt;/a&gt;&lt;a name="wp3637"&gt;&lt;/a&gt;With stream data transfer, TCP delivers an unstructured stream of bytes identified by sequence numbers. This service benefits applications because they do not have to chop data into blocks before handing it off to TCP. Instead, TCP groups bytes into segments and passes them to IP for delivery.&lt;br /&gt;&lt;br /&gt;&lt;a name="wp3638"&gt;&lt;/a&gt;TCP offers reliability by providing connection-oriented, end-to-end reliable packet delivery through an internetwork. It does this by sequencing bytes with a forwarding acknowledgment number that indicates to the destination the next byte the source expects to receive. Bytes not acknowledged within a specified time period are retransmitted. &lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;The reliability mechanism of TCP allows devices to deal with lost, delayed, duplicate, or misread packets. A time-out mechanism allows devices to detect lost packets and request retransmission.&lt;br /&gt;&lt;br /&gt;&lt;a name="wp3639"&gt;&lt;/a&gt;TCP offers efficient flow control, which means that, when sending acknowledgments back to the source, the receiving TCP process indicates the highest sequence number it can receive without overflowing its internal buffers. &lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;a name="wp3640"&gt;&lt;/a&gt;Full-duplex operation means that TCP processes can both send and receive at the same time. &lt;a name="wp3641"&gt;&lt;/a&gt;Finally, TCP's multiplexing means that numerous simultaneous upper-layer conversations can be multiplexed over a single connection. &lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sc22gu1MwyI/AAAAAAAAAMA/8vyJGFc_URM/s1600-h/tcpip.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318107408437658402" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 213px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sc22gu1MwyI/AAAAAAAAAMA/8vyJGFc_URM/s320/tcpip.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Internet Protocol (IP) is a routable protocol that handles IP addressing, routing, and the fragmentation and reassembly of packets.&lt;br /&gt;&lt;br /&gt;TCP provides a one-to-one, connection-oriented, reliable communications service. TCP handles the establishment of a TCP connection, the sequencing and acknowledgment of packets sent, and the recovery of packets lost during transmission.&lt;br /&gt;&lt;br /&gt;IP is a connectionless, unreliable datagram protocol primarily responsible for addressing and routing packets between hosts. Connectionless means that a session is not established before exchanging data. Unreliable means that delivery is not guaranteed. IP always makes a “best effort” attempt to deliver a packet. An IP packet might be lost, delivered out of sequence, duplicated, or delayed. IP does not attempt to recover from these types of errors. The acknowledgment of packets delivered and the recovery of lost packets is the responsibility of a higher-layer protocol, such as TCP.&lt;br /&gt;&lt;br /&gt;For IP version 4, each TCP/IP host is identified by a logical IP address. The IP address is a Network layer address and has no dependence on the Data-Link layer address (such as a MAC address of a network adapter). A unique IP address is required for each host and network component that communicates using TCP/IP and can be assigned manually or by using Dynamic Host Configuration Protocol (DHCP).&lt;br /&gt;&lt;br /&gt;The IP address identifies a system’s location on the network in the same way a street address identifies a house on a city block. Just as a street address must identify a unique residence, an IP address must be globally unique to the internetwork and have a uniform format.&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;IP protocol-Internetworking Technology Handbook, Cisco, Retrieving on 20 Mar 2009, from&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/docs/internetworking/technology/handbook/Internet-Protocols.html#wp3632"&gt;http://www.cisco.com/en/US/docs/internetworking/technology/handbook/Internet-Protocols.html#wp3632&lt;/a&gt;&lt;br /&gt;How TCP/IP Works, Microsoft (March 28, 2003), Retrieving on 20 Mar 2009, from &lt;a href="http://technet.microsoft.com/en-us/library/cc786128.aspx"&gt;http://technet.microsoft.com/en-us/library/cc786128.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-3751699789741371903?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/3751699789741371903/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-4-2-virtual-private-networks_29.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3751699789741371903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3751699789741371903'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-4-2-virtual-private-networks_29.html' title='Exercise 4-2: Virtual Private Networks'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_qMVlbiwAE6w/Sc22gu1MwyI/AAAAAAAAAMA/8vyJGFc_URM/s72-c/tcpip.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-6623669685146149057</id><published>2009-03-29T20:50:00.000-07:00</published><updated>2009-04-13T00:05:51.451-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 4-2: Virtual Private Networks</title><content type='html'>2. Describe the TCP protocol. How is it related to the IP protocol? &lt;div align="justify"&gt;The TCP provides reliable transmission of data in an IP environment. TCP corresponds to the transport layer (Layer 4) of the OSI reference model. Among the services that TCP provides are stream data transfer, reliability, efficient flow control, full-duplex operation, and multiplexing.&lt;br /&gt;&lt;br /&gt;&lt;a name="wpmkr3636"&gt;&lt;/a&gt;&lt;a name="wpmkr3635"&gt;&lt;/a&gt;&lt;a name="wp3637"&gt;&lt;/a&gt;With stream data transfer, TCP delivers an unstructured stream of bytes identified by sequence numbers. This service benefits applications because they do not have to chop data into blocks before handing it off to TCP. Instead, TCP groups bytes into segments and passes them to IP for delivery.&lt;br /&gt;&lt;br /&gt;&lt;a name="wp3638"&gt;&lt;/a&gt;TCP offers reliability by providing connection-oriented, end-to-end reliable packet delivery through an internetwork. It does this by sequencing bytes with a forwarding acknowledgment number that indicates to the destination the next byte the source expects to receive. Bytes not acknowledged within a specified time period are retransmitted. The reliability mechanism of TCP allows devices to deal with lost, delayed, duplicate, or misread packets. A time-out mechanism allows devices to detect lost packets and request retransmission.&lt;br /&gt;&lt;br /&gt;&lt;a name="wp3639"&gt;&lt;/a&gt;TCP offers efficient flow control, which means that, when sending acknowledgments back to the source, the receiving TCP process indicates the highest sequence number it can receive without overflowing its internal buffers.&lt;br /&gt;&lt;a name="wp3640"&gt;&lt;/a&gt;Full-duplex operation means that TCP processes can both send and receive at the same time. &lt;a name="wp3641"&gt;&lt;/a&gt;Finally, TCP's multiplexing means that numerous simultaneous upper-layer conversations can be multiplexed over a single connection. (Table 1) &lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sc22gu1MwyI/AAAAAAAAAMA/8vyJGFc_URM/s1600-h/tcpip.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318107408437658402" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 213px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sc22gu1MwyI/AAAAAAAAAMA/8vyJGFc_URM/s320/tcpip.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Internet Protocol (IP) is a routable protocol that handles IP addressing, routing, and the fragmentation and reassembly of packets.&lt;br /&gt;&lt;br /&gt;TCP provides a one-to-one, connection-oriented, reliable communications service. TCP handles the establishment of a TCP connection, the sequencing and acknowledgment of packets sent, and the recovery of packets lost during transmission.&lt;br /&gt;&lt;br /&gt;IP is a connectionless, unreliable datagram protocol primarily responsible for addressing and routing packets between hosts. IP always makes a “best effort” attempt to deliver a packet. An IP packet might be lost, delivered out of sequence, duplicated, or delayed. IP does not attempt to recover from these types of errors. The acknowledgment of packets delivered and the recovery of lost packets is the responsibility of a higher-layer protocol, such as TCP.&lt;br /&gt;&lt;br /&gt;For IP version 4, each TCP/IP host is identified by a logical IP address. The IP address is a Network layer address and has no dependence on the Data-Link layer address (such as a MAC address of a network adapter). A unique IP address is required for each host and network component that communicates using TCP/IP and can be assigned manually or by using Dynamic Host Configuration Protocol (DHCP).&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;IP protocol-Internetworking Technology Handbook, Cisco, Retrieving on 20 Mar 2009, from&lt;br /&gt;http://www.cisco.com/en/US/docs/internetworking/technology/handbook/Internet-Protocols.html#wp3632&lt;br /&gt;&lt;br /&gt;How TCP/IP Works, Microsoft (March 28, 2003), Retrieving on 20 Mar 2009, from http://technet.microsoft.com/en-us/library/cc786128.aspx&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-6623669685146149057?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/6623669685146149057/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-4-2-virtual-private-networks.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6623669685146149057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6623669685146149057'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-4-2-virtual-private-networks.html' title='Exercise 4-2: Virtual Private Networks'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_qMVlbiwAE6w/Sc22gu1MwyI/AAAAAAAAAMA/8vyJGFc_URM/s72-c/tcpip.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-3949518227432139566</id><published>2009-03-29T20:48:00.000-07:00</published><updated>2009-04-13T00:03:32.593-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 4-1: Virtual Private Networks</title><content type='html'>&lt;div align="justify"&gt;1. Describe the IP protocol. What is DNS? &lt;/div&gt;The Internet protocols consist of a suite of communication protocols, such as Transmission Control Protocol (TCP) and the Internet Protocol (IP). (Cisco, 20 Mar, 2009)&lt;br /&gt;&lt;br /&gt;Internet protocols were first developed in the mid-1970s, when the Defense Advanced Research Projects Agency (DARPA) became interested in establishing a packet-switched network that would facilitate communication between dissimilar computer systems at research institutions.&lt;br /&gt;The Internet Protocol (IP) is a network-layer (Layer 3) protocol that contains addressing information and some control information that enables packets to be routed. IP is documented in RFC 791 and is the primary network-layer protocol in the Internet protocol suite. Along with the Transmission Control Protocol (TCP), IP represents the heart of the Internet protocols. IP has two primary responsibilities: providing connectionless, best-effort delivery of datagrams through an internetwork; and providing fragmentation and reassembly of datagrams to support data links with different maximum-transmission unit (MTU) sizes. (Table 1)&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sc20vAGYPbI/AAAAAAAAAL4/SMq8ozoUBFw/s1600-h/osi.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318105454568029618" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 258px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sc20vAGYPbI/AAAAAAAAAL4/SMq8ozoUBFw/s320/osi.jpg" border="0" /&gt;&lt;/a&gt;  &lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;The Domain Name System (DNS) is the system in the Internet that maps names of objects (usually host names) into IP numbers or other resource record values. The name space of the Internet is divided into domains, and the responsibility for managing names within each domain is delegated, typically to systems within each domain.&lt;br /&gt;&lt;br /&gt;The primary job that DNS performs is to map between names and numbers. Most importantly, it must provide the translation from host names to IP addresses, so that applications can effect a network connection from a command such as ftp prep.ai.mit.edu. Also, DNS must map from IP addresses back to names in order to provide some level of authentication, as with the r commands.&lt;br /&gt;&lt;br /&gt;Reverse mapping from IP addresses to host names is performed under the auspices of the IN-ADDR.ARPA pseudo-domain. Because the order of significance in the naming system is highest on the right, the notation for addresses is reversed. Therefore, the DNS entry for the IP address 128.196.120.82 is given as 82.120.196.128.IN-ADDR.ARPA.&lt;br /&gt;&lt;br /&gt;For example, all Internet systems that belong to the University of Arizona have names within the arizona.edu domain. The Internet's root name servers delegate the responsibility for managing the arizona.edu name space to a name server system operated by University of Arizona's CCIT Telecom (a system which also happens to be called arizona.edu with the IP addresses 128.196.128.233 and 128.196.128.234).&lt;br /&gt;&lt;br /&gt;The Telecom name server can, in turn, delegate portions of the arizona.edu name space to departmental name servers on campus. By this system, the department gains a measure of autonomy in inventing and managing the names within its sub domain. For example, some or all of the sub domains of arizona.edu can be name served by various departments (such as Computer Science, Math, or Physics).&lt;br /&gt;&lt;br /&gt;In addition to the Internet being divided namewise into domains and sub domains, such as arizona.edu for University of Arizona and apple.com for Apple Computer, it is divided numberwise into networks and subnets, such as 128.196.0.0 or 130.43.0.0. for University of Arizona and Apple, respectively. The namewise layout of the Internet tracks administrative responsibility, while the numberwise layout tracks physical topology.&lt;br /&gt;&lt;br /&gt;There is no necessary relationship between the name(s) of an object in the Internet and its number(s). For example, the 128.196.0.0 network physically resides at the University of Arizona. However, if a machine that belongs to Apple were to be plugged into the University of Arizona network, its name would still be something.apple.com, even though its number would be 128.196.xxx.yyy. In this case, however, Apple and the University of Arizona would share name service responsibility for this system: Apple for the name-to-number name service, and University of Arizona for the number-to-name name service.&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;IP protocol-Internetworking Technology Handbook, Cisco, Retrieving on 20 Mar 2009, from&lt;br /&gt;&lt;a href="http://www.cisco.com/en/US/docs/internetworking/technology/handbook/Internet-Protocols.html"&gt;http://www.cisco.com/en/US/docs/internetworking/technology/handbook/Internet-Protocols.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Understanding the Domain Name System&lt;br /&gt;http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00800c5e03.shtml&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-3949518227432139566?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/3949518227432139566/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-4-1-virtual-private-networks.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3949518227432139566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/3949518227432139566'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-4-1-virtual-private-networks.html' title='Exercise 4-1: Virtual Private Networks'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qMVlbiwAE6w/Sc20vAGYPbI/AAAAAAAAAL4/SMq8ozoUBFw/s72-c/osi.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-2311180178486790014</id><published>2009-03-29T20:21:00.000-07:00</published><updated>2009-03-29T20:41:23.025-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 1-1: Analysis of the online communitites paradigm</title><content type='html'>&lt;p align="justify"&gt;a. What is meant by an online community and how is it important for e-commerce?&lt;br /&gt;There is no unique definition of ‘online community’ as it can be meant differently to different people (Preece, 2000). Some people viewed online community as a social phenomenon; others believed that it is a structure of the supporting software.&lt;br /&gt;Arens (2008) believed that ‘online communities are the primary enabler of social media, providing the audience, motivation, and system for users to create and distribute content. If today there is any community which is not based on caste, creed or culture then it’s this online community. Internet is the sole reason for emergence of this community.’ Therefore, it has attracted a group of people (with similar goals or interest) who primarily interact via computer network to connect and exchange information (Owyang, 2008). Yahoo can be a good example. Yahoo is served as a channel for both (public and private) of the Internet community. It has an impact on society – there will be a closed-tie in relative relationship and also people with similar interest. Furthermore, it allows consumers to work in ways that are impossible before.&lt;br /&gt;However, online community can also be technically defined as it can be described as supporting software, such as chat, bulletin board and web-based communities (Preece, 2001); Zope is an example. Zope is a large and very busy community for web application developers and electronic businesses. It can provide solutions.&lt;br /&gt;&lt;br /&gt;Online community is important for e-commerce by:&lt;br /&gt;E-commerce entrepreneurs take a very broad view of community. Any communications software that can be added to a web site is regarded as an online community.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Yahoo, Retrieving on 15 mar 2009, from &lt;a href="http://docs.yahoo.com/info/values/"&gt;http://docs.yahoo.com/info/values/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Whittaker, S., Issacs, E., &amp;amp; O'Day, V. (1997). Widening the net. Workshop report on the theory and practice of physical and network communities. SIGCHI Bulletin, 29(3), 27-30.&lt;br /&gt;&lt;br /&gt;ZOPE, retrieving on 15 mar 2009, from &lt;a href="http://wiki.zope.org/zope2/IntroductionToZope"&gt;http://wiki.zope.org/zope2/IntroductionToZope&lt;/a&gt; &lt;/p&gt;&lt;p align="justify"&gt;&lt;br /&gt;b.&lt;br /&gt;i. Is there a common thread and a local community sense in action?&lt;br /&gt;The answer is yes. Among these three auctions sites of ebay in different countries, the common thread in action is trust between sellers and bidders. Since the sellers and bidders won’t meet one another face to face before having the transactions, so they need to have trust in each other in order to have a complete transactions (Kollmann, 2001). As a result, Ebay auction system has created its own “community trust” to constraint the users to be honest and ethical in their transactions. (Rothenbuhler, 1991)&lt;br /&gt;&lt;br /&gt;ii. What electronic payment systems are used? Are they globally acceptable?&lt;br /&gt;The electronic payment systems are used included credit card, debit card networks and ACH (Automated Clearing House) network. These methods are globally acceptable. However, there are some which can only be accepted in particular areas, such as paypal which is not acceptable in Macau SAR.&lt;br /&gt;&lt;br /&gt;iii. What are the benefits to of an online auction sale to a buyer, a seller and E-bay owners?&lt;br /&gt;Buyer – It saves time and is convenient to the buyers as they do not need to go from places to places to find the products; they can browse as many categories of goods as they want at once. There are some same or similar products that are shown in the website; therefore, the buyers can easily make a comparison on the cost of the products from different sellers.&lt;br /&gt;&lt;br /&gt;Sellers – There will not have time limitation to the sellers. They can run their business even in 24 hours a day and 7days a week. In addition, they are not restricted by the geography. It reduces costs of operations and provides flexibility. They may not need to pay taxes as they are selling products in the Internet.&lt;br /&gt;&lt;br /&gt;E-bay owners – They earn from the sold products. They build up a community of auction business and helpfulness to this industry.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Ebay.com, retrieving 16 mar 2009 from &lt;a href="http://pages.ebay.com.my/help/pay/methods.html"&gt;http://pages.ebay.com.my/help/pay/methods.html&lt;/a&gt;&lt;br /&gt;John Boyd (2002), In Community We Trust: Online Security Communication at eBay, CERIAS Tech Report 2002-19, P.5&lt;br /&gt;Kollman, T. (2001). Measuring the acceptance of electronic marketplaces: A study based on a used-car trading site. Journal of Computer-Mediated Communication, 6:2. Retrieved 15 Mar 2009, from http://jcmc.indiana.edu/vol6/issue2/kollmann.html&lt;br /&gt;Rothenbuhler, E. W. (1991). The process of community involvement. Communication Monographs, 58, 63-78.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c. Find three others examples of an online business using an online community approach.&lt;br /&gt;Three others examples of online businesses using online community approach:&lt;br /&gt;1. &lt;a href="http://bizica.com/bizica/"&gt;http://bizica.com/bizica/&lt;/a&gt;&lt;br /&gt;Bizica.com is an online community directly connecting you with businesses in your neighborhood. Bizica provides the functions such as: (a) find and communicate with great neighborhood businesses; (b) shop and browse products or services; (c) compare businesses and receive reviews; (d) discover sales and business news and (e) discuss the issues of your neighborhood.&lt;br /&gt;&lt;br /&gt;2. &lt;a href="http://www.threadless.com/"&gt;http://www.threadless.com/&lt;/a&gt;&lt;br /&gt;Threadless is a community-based tee shirt company with an ongoing, open call for design submissions. It is a popular online t-shirt design business and its first store opened in Chicago. The designers submitted their designs to the Threadless store. The designers will be paid after scoring by Threadless.&lt;br /&gt;&lt;br /&gt;3. &lt;a href="http://www.agork.com/"&gt;http://www.agork.com/&lt;/a&gt;&lt;br /&gt;With Agork, you get all the amazing services available today on the internet: blogs, forums, files sharing, micro-blogging, news, articles, knowledge base, media gallery, personal pages - all ready to let your community start sharing and all integrated into one single platform. All this power continues to expand through the development of new modules and is highly usable due to the clean and simple user interface.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Bizica.com, Retrieving on 15 mar 2009, from &lt;a href="http://www.bizica.com/bizica/about-bizica.html"&gt;http://www.bizica.com/bizica/about-bizica.html&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;Agork.com, Retrieving on 15 mar 09, from&lt;br /&gt;&lt;a href="http://www.agork.com/"&gt;http://www.agork.com&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p align="justify"&gt;Threadless.com, Retrieving on 15 mar 2009, from &lt;a href="http://www.threadless.com/"&gt;http://www.threadless.com/&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-2311180178486790014?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/2311180178486790014/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-1-1-analysis-of-online.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2311180178486790014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2311180178486790014'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-1-1-analysis-of-online.html' title='Exercise 1-1: Analysis of the online communitites paradigm'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-6996624511529449724</id><published>2009-03-29T20:12:00.000-07:00</published><updated>2009-03-29T20:16:12.172-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 6-2: Some server practice with PHP</title><content type='html'>Exercise 6.2&lt;br /&gt;2. Create a web application called "hello_world.php" which contains in the body:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/SdA5YHL5KFI/AAAAAAAAAMo/mcOSeNPqizQ/s1600-h/621.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318814246333130834" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 214px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/SdA5YHL5KFI/AAAAAAAAAMo/mcOSeNPqizQ/s320/621.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-6996624511529449724?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/6996624511529449724/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-6-2-some-server-practice-with.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6996624511529449724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6996624511529449724'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-6-2-some-server-practice-with.html' title='Exercise 6-2: Some server practice with PHP'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qMVlbiwAE6w/SdA5YHL5KFI/AAAAAAAAAMo/mcOSeNPqizQ/s72-c/621.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-6794459715236723167</id><published>2009-03-29T19:53:00.000-07:00</published><updated>2009-03-29T20:16:39.724-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 6-1: Some server practice with PHP</title><content type='html'>Exercise 6-1&lt;br /&gt;1.In this exercise with can call up and examine some environment variables on the server. The code below has the UNIX environment variable for storing your remote Internet address. UNIX environment variable are recognised by the use of upper case letters. Try the same code by replacing with $REMOTE_ADDR $SERVER_NAME, or $PHP_SELF&lt;br /&gt;&lt;br /&gt;a).&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/SdA3ekrYfkI/AAAAAAAAAMg/1NhvqtM0uvE/s1600-h/63.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318812158305795650" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 227px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/SdA3ekrYfkI/AAAAAAAAAMg/1NhvqtM0uvE/s320/63.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;b).&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/SdA3eHbjSNI/AAAAAAAAAMY/mkuZnvbzISc/s1600-h/62.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318812150454765778" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 234px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/SdA3eHbjSNI/AAAAAAAAAMY/mkuZnvbzISc/s320/62.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/SdA3dqsRMCI/AAAAAAAAAMQ/ijq1PoNDnFk/s1600-h/6.1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318812142740254754" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 230px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/SdA3dqsRMCI/AAAAAAAAAMQ/ijq1PoNDnFk/s320/6.1.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-6794459715236723167?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/6794459715236723167/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-6-some-server-practice-with.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6794459715236723167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/6794459715236723167'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-6-some-server-practice-with.html' title='Exercise 6-1: Some server practice with PHP'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qMVlbiwAE6w/SdA3ekrYfkI/AAAAAAAAAMg/1NhvqtM0uvE/s72-c/63.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-2421168556125179280</id><published>2009-03-27T22:22:00.000-07:00</published><updated>2009-03-29T20:54:39.859-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 4-4: Virtual Private Networks</title><content type='html'>&lt;p align="justify"&gt;4. What role can a VPN play in business-to-business e-commerce?&lt;br /&gt;&lt;br /&gt;Remote Working&lt;/p&gt;&lt;div align="justify"&gt;Work smarter with VPN wouldn't it be great to be able to switch on PDAs or laptops or desktops while away from the office and to be able to read company e-mail, upload and download files, see reports and work other employees are working on, work on projects, files, spreadsheets and databases together.&lt;br /&gt;&lt;/div&gt;&lt;p align="justify"&gt;It allows users to connect to database from anywhere via the Internet securely and safely, 24 hours a day, 7 days a week and the only cost is the Internet connection fee.&lt;br /&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sc24q3T4apI/AAAAAAAAAMI/G4MZcRKNskk/s1600-h/vigor.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318109781535779474" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 174px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sc24q3T4apI/AAAAAAAAAMI/G4MZcRKNskk/s320/vigor.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Office to Office VPN&lt;br /&gt;With VPN is as also possible to cheaply connect two or more offices together to allow them to work as one. The Broadband connection carries your data between offices which is secure and fast. Share files, printers and more in another remote office.&lt;br /&gt;&lt;br /&gt;Summary - The Advantages of VPNs &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Link Remote offices using the public Internet&lt;/li&gt;&lt;li&gt;No district limitation across the world&lt;/li&gt;&lt;li&gt;Keep the company confidential data behind the firewall &lt;/li&gt;&lt;li&gt;High-Security encryption&lt;/li&gt;&lt;li&gt;Users can use different kinds of connection method to connect the VPN (such as ADSL, Cable Modem, ISDN or dial-up modem)&lt;/li&gt;&lt;li&gt;Save huge sums of money against leased lines or direct dial-up access&lt;/li&gt;&lt;li&gt;Support for multiple simultaneous tunnels &lt;/li&gt;&lt;li&gt;Remote offices can be set up quickly, or temporarily deployed&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Protocol: Most VPN routers support IPSec Tunnelling, PPTP, L2TP and L2TP over IPSec.&lt;br /&gt;&lt;br /&gt;http://www1.alcatel-lucent.com/bnd/bvs/VPN_Poster_May08.pdf&lt;br /&gt;&lt;br /&gt;http://www.vpn-for-business.co.uk/&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-2421168556125179280?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/2421168556125179280/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-4-virtual-private-networks.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2421168556125179280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2421168556125179280'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-4-virtual-private-networks.html' title='Exercise 4-4: Virtual Private Networks'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_qMVlbiwAE6w/Sc24q3T4apI/AAAAAAAAAMI/G4MZcRKNskk/s72-c/vigor.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1964502311638151539</id><published>2009-03-27T20:55:00.000-07:00</published><updated>2009-04-13T00:01:49.279-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 3: Finding some common ground</title><content type='html'>Describe the steps involved with the Rapid Evolutionary Prototyping Approach as it applies to developing a Web application.&lt;br /&gt;&lt;br /&gt; The Evolutionary prototype model for web application&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeLjBcgj2oI/AAAAAAAAAOA/aZkOGPiN_zg/s1600-h/diagram.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5324067323477482114" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 300px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/SeLjBcgj2oI/AAAAAAAAAOA/aZkOGPiN_zg/s320/diagram.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Evolutionary prototype model generally reduces development time compared with traditional methods, but makes it more difficult to predict when the project would be completed. In the daily build approach, the entire product is built everyday. This approach addresses the schedule risks and eliminates some of the risks that can cause extreme delays like integration problems, too many defects, missing requirements and lack of progress visibility.&lt;br /&gt;&lt;br /&gt;The merits of Evolutionary prototype model make it extremely suitable for web projects. We can expect&lt;br /&gt;1. Improved customer relations&lt;br /&gt;2. Reduced or better used human resources&lt;br /&gt;3. Potential knowledge gathered via customer interaction with the web site&lt;br /&gt;This model is a way for the project team/ developers to exchange information with customers to the benefit of everyone involved. This process is likely to replace or at least reduce the movement of email/correspondence within the project team and between the project team and the customer/client. Hardware, software , people , data and procedures all play an important role in making the process a success. Proper technology must be used to increase the speed of information transmission .Hardware must be fast enough and big enough to transmit and store the information needed to operate. Advanced software must take advantage of the hardware available.&lt;br /&gt;&lt;br /&gt;The most common risks with the Evolutionary prototype model for web projects are as follows:&lt;br /&gt;1.      Unrealistic customer expectations&lt;br /&gt;   Improved visibility of the work in progress can lead to unrealistic customer schedule expectations. It may be easy to complete the most visible work at a faster pace, but a great deal of the work may not be obvious to the customer or end user.&lt;br /&gt;2.      Poor end user or customer feedback&lt;br /&gt;Prototyping does not guarantee high quality feedback from the end user/ customer.&lt;br /&gt;3.      Poor product performance&lt;br /&gt;4.      Poorly structured and inefficient code developed quickly for the prototype may contribute to low performance of the product.&lt;br /&gt;5.      Unrealistic performance expectations&lt;br /&gt;6.      The initial prototypes often have much better performance than the final product. This is because the prototype does not incorporate the functionality of the final product.&lt;br /&gt;7.      Poor design&lt;br /&gt;The factors contributing to design deterioration are patches being added to the original design and the product taking a direction totally unanticipated at the design phase.&lt;br /&gt;8.      Feature creep&lt;br /&gt;As the customers and end users have direct access to the prototype, the list of features desired may increase indefinitely.&lt;br /&gt;&lt;br /&gt;The Evolutionary prototype model generally decreases development time compared with traditional methods, but makes it more difficult to predict when the project would be completed.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Madhavi K., Alice Jacob, EVOLUTIONARY PROTOTYPE MODEL FOR WEB PROJECTS, Retrieving on 21 Mar 2009, from &lt;a href="http://www.nestsoftware.com/"&gt;http://www.nestsoftware.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How is it related to agile development?&lt;br /&gt;Customer plays an important role in either EP or agile development, so both are customer centric. In addition, both of them pay more attention on the working piece of code for software product rather than its documentation. Since both of them have the iterative nature of development, management can be clearly carried even though there are changes – a change could be addressed in the next iteration. Therefore, E, steps involved in EP and agile development are similar. It can be explained as in the diagram (Kamlesh &amp;amp; Ahmad, 2008).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeLjBX408HI/AAAAAAAAAN4/OANny7F1-VI/s1600-h/diagram2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5324067322237087858" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 293px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/SeLjBX408HI/AAAAAAAAAN4/OANny7F1-VI/s320/diagram2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;A relationship between EP and agile development&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1964502311638151539?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1964502311638151539/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-3-finding-some-common-ground.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1964502311638151539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1964502311638151539'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-3-finding-some-common-ground.html' title='Exercise 3: Finding some common ground'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qMVlbiwAE6w/SeLjBcgj2oI/AAAAAAAAAOA/aZkOGPiN_zg/s72-c/diagram.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-2068119797020577802</id><published>2009-03-27T19:30:00.000-07:00</published><updated>2009-03-27T20:09:40.974-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 2: Technology and the evolution of business options</title><content type='html'>Web quest: Find a range of five sites each offering different business options: online shopping, electronic payments, database access, WAP sites for mobile phones. Key words for your search engine: M-commerce, T-commerce and E-wallet.&lt;br /&gt;&lt;br /&gt;The sites are:&lt;br /&gt;&lt;br /&gt;Online shopping: JSHOPPERS.com (http://www.jshoppers.com)&lt;br /&gt;JSOPPERS is the online shop which sells Japanese fashion items and accessories. All these can be purchased to 120 countries worldwide.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sc2P5_9IyVI/AAAAAAAAALQ/2tVNPsJuSfo/s1600-h/jshopper.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318064961577601362" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 347px; CURSOR: hand; HEIGHT: 243px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sc2P5_9IyVI/AAAAAAAAALQ/2tVNPsJuSfo/s320/jshopper.jpg" border="0" /&gt;&lt;/a&gt; People can purchase Nissen’s (Nissen is the biggest mail order company in Japan) items from autumn 2005. People have to register and get their own account for purchasing.&lt;br /&gt;&lt;br /&gt;Electronic payment methods in this shop are PayPal, Credit card (Visa and Master cards), Alipay and PRC debit Card for Chinese. Transactions are protected by SSL. These products can be returned under its own policies.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Electronic payments: Alipay.com (&lt;a href="https://www.alipay.com/"&gt;https://www.alipay.com/&lt;/a&gt;)&lt;br /&gt;Alipay.com Co.,Ltd (AliPay) is one of the China’s leading online payment service by both the number of users and the total transaction volume. It enables individuals and businesses to send and receive payments online securely, easily and quickly. AliPay works like an escrow service, solving the issue of settlement risk in China.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sc2P596niuI/AAAAAAAAALY/v-WCxsOZe-4/s1600-h/payment.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318064961030163170" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 257px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/Sc2P596niuI/AAAAAAAAALY/v-WCxsOZe-4/s320/payment.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AliPay’s products and services are built on trust. Not only does AliPay guarantee the safety of each online transaction, but also it helps Internet users to create their own trust profile which fosters a safe online payment environment.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Database access: selectory.com (&lt;a href="http://www.selectory.com/"&gt;http://www.selectory.com/&lt;/a&gt;)&lt;br /&gt;D&amp;amp;B® is the leading provider of global business information, tools and insight, enabling our customers to Decide with Confidence for over 160 years.D&amp;amp;B helps you find to new customers, increase sales and manage business risk with a full array of online information solutions.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sc2P6eF_iqI/AAAAAAAAALg/luRtY618NdY/s1600-h/selectory.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318064969667807906" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 288px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sc2P6eF_iqI/AAAAAAAAALg/luRtY618NdY/s320/selectory.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The D&amp;amp;B global database of company information is the foundation for products specializing in prospecting, sales intelligence, risk and credit management, and data cleanse and append. These products allow the businessmen to grow their business and protect their cash flow - all from one trusted source – The Selectory database. It is from D&amp;amp;B which is backed by the patented DUNSRightTM data quality process. DUNSRight consists of more than 2,000 automated checks to guarantee that all company profiles are as complete, accurate and timely as possible. Only DUNSRight gives the industry-leading mail deliverability and phone connectivity.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;WAP services for mobile phones: CTM (&lt;a href="http://mobiweb.ctm-mobile.com/"&gt;http://mobiweb.ctm-mobile.com/&lt;/a&gt;)&lt;br /&gt;Companhia de Telecomuniçães de Macau S.A.R.L (CTM) is a GSM mobile phone operator and monopoly Internet Service provider in Macau. By using the WAP services from CTM, customers can enjoy the following services: such as Music, News, Finance &amp;amp; Real Estate information, Mobile Banking, Sports, CyberCTM Member Zone, Hung San Chon (a metaphysics expert), MSN, Games, Trendy, Disney Mobile, M-Magazine, Adult Zone, General Enquires, About Macau and CTM News.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sc2O-_PSa6I/AAAAAAAAAKo/vbxWtD1VNOE/s1600-h/ctm.jpg"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sc2O-_PSa6I/AAAAAAAAAKo/vbxWtD1VNOE/s1600-h/ctm.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318063947773012898" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 506px; CURSOR: hand; HEIGHT: 377px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sc2O-_PSa6I/AAAAAAAAAKo/vbxWtD1VNOE/s320/ctm.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;E-Wallets: Ilium Software (&lt;a href="http://www.iliumsoft.com/"&gt;http://www.iliumsoft.com/&lt;/a&gt;)&lt;br /&gt;Ilium offers mobile software for mobile devices. eWallet® helps users protect themselves by keeping their passwords safe, but easy for them to access when they need them. It even stores the security v&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/Sc2O-_PSa6I/AAAAAAAAAKo/vbxWtD1VNOE/s1600-h/ctm.jpg"&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;erification questions that companies ask the users. Besides, users can synchronize their cards or files with eWallet on their Windows PC.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sc2PXkraE3I/AAAAAAAAAK4/fpcsQBqkqQ8/s1600-h/ewallet.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318064370139927410" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 309px; CURSOR: hand; HEIGHT: 255px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sc2PXkraE3I/AAAAAAAAAK4/fpcsQBqkqQ8/s320/ewallet.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.iliumsoft.com/site/ew/ew_feats.php?sec"&gt;Store Your Information Securely&lt;/a&gt; - Using government-level (FIPS) 256-bit AES encryption, eWallet protects your personal information from falling into the wrong hands.&lt;br /&gt;&lt;a href="http://www.iliumsoft.com/site/ew/ew_feats.php?pw"&gt;Never Forget Another Password&lt;/a&gt; - eWallet remembers your passwords so you don't have to. Create strong passwords for online banking and more - stop choosing weak passwords just so you won't forget!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sc2PH8KEcxI/AAAAAAAAAKw/y4hfE6xuZ0Y/s1600-h/ewallet2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318064101564642066" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 271px; CURSOR: hand; HEIGHT: 271px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/Sc2PH8KEcxI/AAAAAAAAAKw/y4hfE6xuZ0Y/s320/ewallet2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.iliumsoft.com/site/ew/ew_feats.php?sync"&gt;Use Your Data Anywhere&lt;/a&gt; - Sync your wallets with multiple devices or PCs to keep your info current everywhere. Or sign up for a chance to join the eWallet Web Companion beta for online access anytime!&lt;br /&gt;&lt;a href="http://www.iliumsoft.com/site/ew/ew_feats.php?web"&gt;Surf the Web Safely&lt;/a&gt; -Protect yourself from keyloggers, malware, and other threats to your identity with eWallet's built-in tools for entering passwords and filling in web forms. &lt;a href="http://www.iliumsoft.com/site/ew/ew_feats.php?pers"&gt;Personalize Your Wallet&lt;/a&gt; - Create the look you want with custom icons, card backgrounds, and over 30 pre-built card templates. Or save your own templates to get the design you need.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sc2PYFloXQI/AAAAAAAAALA/35WwZsUZsyw/s1600-h/ilium.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318064378974067970" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 285px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/Sc2PYFloXQI/AAAAAAAAALA/35WwZsUZsyw/s320/ilium.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-2068119797020577802?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/2068119797020577802/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-2-technology-and-evolution-of.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2068119797020577802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2068119797020577802'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-2-technology-and-evolution-of.html' title='Exercise 2: Technology and the evolution of business options'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_qMVlbiwAE6w/Sc2P5_9IyVI/AAAAAAAAALQ/2tVNPsJuSfo/s72-c/jshopper.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-2284939420749213964</id><published>2009-03-12T23:12:00.000-07:00</published><updated>2009-04-12T23:12:48.061-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop 1'/><title type='text'>Workshop 1 - Ex 1.5</title><content type='html'>&lt;?xml:namespace prefix = w /&gt;&lt;w:validateagainstschemas&gt;&lt;w:compatibility&gt;&lt;w:spaceforul&gt;&lt;w:balancesinglebytedoublebytewidth&gt;&lt;w:donotleavebackslashalone&gt;&lt;w:ultrailspace&gt;&lt;w:donotexpandshiftreturn&gt;&lt;w:adjustlineheightintable&gt;&lt;w:breakwrappedtables&gt;&lt;w:snaptogridincell&gt;&lt;w:wraptextwithpunct&gt;&lt;span lang="EN-AU"  style="font-family:';"&gt;5. When did Model-View-Controller begin and where is it used?&lt;br /&gt;MVC was conceived in 1978 as the design solution to a particular problem. The goal was to support the user's mental model of the relevant information space and to enable the user to inspect and edit this information.&lt;br /&gt;&lt;br /&gt;Model-View-Controller (MVC) programming is the application of this three-way factoring, whereby objects of different classes take over the operations related to the application domain (the model), the display of the application's state (the view), and the user interaction with the model and the view (the controller). In earlier Smalltalk system user interfaces, the tools that were put into the interface tended to consist of arrangements of four basic viewing idioms: paragraphs of text, lists of text (menus), choice "buttons," and graphical forms (bit- or pixel-maps). These tools also tended to use three basic user interaction paradigms: browsing, inspecting and editing. A goal&lt;br /&gt;of the current Smalltalk-80 system was to be able to define user interface components for handling these idioms and paradigms once, and share them among all the programming environment tools and user-written applications using the methodology of MVC programming.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Trygve Reenskaug, 2003, The Model-View-Controller (MVC)&lt;br /&gt;Its Past and Present&lt;br /&gt;&lt;br /&gt;Glenn E. Krasner and Stephen T. Pope, 1988, A Description of the Model-View-Controller User Interface Paradigm in the Smalltalk-80 System&lt;/span&gt;&lt;/w:wraptextwithpunct&gt;&lt;/w:snaptogridincell&gt;&lt;/w:breakwrappedtables&gt;&lt;/w:adjustlineheightintable&gt;&lt;/w:donotexpandshiftreturn&gt;&lt;/w:ultrailspace&gt;&lt;/w:donotleavebackslashalone&gt;&lt;/w:balancesinglebytedoublebytewidth&gt;&lt;/w:spaceforul&gt;&lt;/w:compatibility&gt;&lt;/w:validateagainstschemas&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-2284939420749213964?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/2284939420749213964/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/workshop-1-ex-15.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2284939420749213964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/2284939420749213964'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/workshop-1-ex-15.html' title='Workshop 1 - Ex 1.5'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-1405177185972374092</id><published>2009-03-12T18:45:00.000-07:00</published><updated>2009-04-12T23:11:56.181-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop 1'/><title type='text'>Workshop 1 - Ex 1.4</title><content type='html'>&lt;span lang="EN-AU"   style="font-family:';font-size:18;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:times new roman;"&gt;2.        What is meant by “convention over configuration” in regards to the use of Rails&lt;br /&gt;    in Web application development?&lt;br /&gt;&lt;br /&gt;"Convention over Configuration" means a developer only needs to specify unconventional aspects of the application. For example, if there is a class Sale in the model, the corresponding table in the database is called sales by default. It is only if one deviates from this convention, such as calling the table "products sold", that the developer needs to write code regarding these names. Generally, this leads to less code and less repetition.&lt;br /&gt;&lt;br /&gt;"Don't repeat yourself" means that information is located in a single, unambiguous place. For example, using the ActiveRecord module of Rails, the developer does not need to specify database column names in class definitions.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Ruby on Rails, Retrieving on 26 Mar 2009 from http://en.wikipedia.org/wiki/Ruby_on_Rails&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-1405177185972374092?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/1405177185972374092/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/ex-14.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1405177185972374092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/1405177185972374092'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/ex-14.html' title='Workshop 1 - Ex 1.4'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-8854804027246006895</id><published>2009-03-12T18:42:00.000-07:00</published><updated>2009-04-12T23:10:37.011-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop 1'/><title type='text'>Workshop 1 - Ex 1.3</title><content type='html'>&lt;?xml:namespace prefix = w /&gt;&lt;w:displayhorizontaldrawinggridevery&gt;&lt;/w:displayhorizontaldrawinggridevery&gt;&lt;w:validateagainstschemas&gt;&lt;w:compatibility&gt;&lt;w:spaceforul&gt;&lt;w:balancesinglebytedoublebytewidth&gt;&lt;w:donotleavebackslashalone&gt;&lt;w:ultrailspace&gt;&lt;w:donotexpandshiftreturn&gt;&lt;w:adjustlineheightintable&gt;&lt;w:breakwrappedtables&gt;&lt;w:snaptogridincell&gt;&lt;w:wraptextwithpunct&gt;&lt;w:useasianbreakrules&gt;&lt;w:dontgrowautofit&gt;&lt;w:browserlevel&gt;&lt;/w:browserlevel&gt;&lt;/w:dontgrowautofit&gt;&lt;/w:useasianbreakrules&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face  {font-family:Wingdings;  panose-1:5 0 0 0 0 0 0 0 0 0;  mso-font-charset:2;  mso-generic-font-family:auto;  mso-font-pitch:variable;  mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face  {font-family:新細明體;  panose-1:2 2 3 0 0 0 0 0 0 0;  mso-font-alt:PMingLiU;  mso-font-charset:136;  mso-generic-font-family:roman;  mso-font-pitch:variable;  mso-font-signature:3 137232384 22 0 1048577 0;} @font-face  {font-family:"\@新細明體";  panose-1:2 2 3 0 0 0 0 0 0 0;  mso-font-charset:136;  mso-generic-font-family:roman;  mso-font-pitch:variable;  mso-font-signature:3 137232384 22 0 1048577 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal  {mso-style-parent:"";  margin:0cm;  margin-bottom:.0001pt;  mso-pagination:none;  font-size:12.0pt;  font-family:"Times New Roman";  mso-fareast-font-family:新細明體;  mso-font-kerning:1.0pt;}  /* Page Definitions */  @page  {mso-page-border-surround-header:no;  mso-page-border-surround-footer:no;} @page Section1  {size:595.3pt 841.9pt;  margin:72.0pt 90.0pt 72.0pt 90.0pt;  mso-header-margin:42.55pt;  mso-footer-margin:49.6pt;  mso-paper-source:0;  layout-grid:18.0pt;} div.Section1  {page:Section1;}  /* List Definitions */  @list l0  {mso-list-id:1748772395;  mso-list-type:hybrid;  mso-list-template-ids:378828782 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1  {mso-level-number-format:bullet;  mso-level-text:;  mso-level-tab-stop:24.0pt;  mso-level-number-position:left;  margin-left:24.0pt;  text-indent:-24.0pt;  font-family:Wingdings;} ol  {margin-bottom:0cm;} ul  {margin-bottom:0cm;} --&gt; &lt;/style&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span lang="EN-US"&gt;What is Rails and how does it work with Ruby?&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span lang="EN-US"&gt;Rails is a web development framework written in the Ruby language. It is designed to make programming web applications easier by making several assumptions about what every developer needs to get started. It allows you to write less code while accomplishing more than many other languages and frameworks. Longtime Rails developers also report that it makes web application development more fun.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span lang="EN-US"&gt;Rails is opinionated software. That is, it assumes that there is a best way to do things, and it’s designed to encourage that best way – and in some cases to discourage alternatives. If you learn “The Rails Way” you’ll probably discover a tremendous increase in productivity. If you persist in bringing old habits from other languages to your Rails development, and trying to use patterns you learned elsewhere, you may have a less happy experience.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span lang="EN-US"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span lang="EN-US"&gt;The Rails philosophy includes several guiding principles:&lt;/span&gt;&lt;/p&gt;&lt;/w:wraptextwithpunct&gt;&lt;/w:snaptogridincell&gt;&lt;/w:breakwrappedtables&gt;&lt;/w:adjustlineheightintable&gt;&lt;/w:donotexpandshiftreturn&gt;&lt;/w:ultrailspace&gt;&lt;/w:donotleavebackslashalone&gt;&lt;/w:balancesinglebytedoublebytewidth&gt;&lt;/w:spaceforul&gt;&lt;/w:compatibility&gt;&lt;/w:validateagainstschemas&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Rails has the following properties:&lt;br /&gt;l   Convention over configuration: application uses a few simple programming conventions that allow it to figure everything out through reflection and discovery.&lt;br /&gt;l   Less code: It can automatically handle many lower-level details without you having to tell it to do so.&lt;br /&gt;l   Generators: Rails' use of runtime reflection and metaprogramming eliminates much of the template code that you would have to create&lt;br /&gt;l   Zero turnaround time: The typical development cycle for testing a change to a web app has steps such as configure, compile, deploy, reset, and test. This is very time consuming. The Rails development environment has none of this.&lt;br /&gt;l   Scaffolding: Rails can automatically create a full set of CRUD (Create, Retrieve, Update, and Delete) operations and views on any database table. This scaffolding can get you up and running quickly with manipulating your database tables.&lt;br /&gt;&lt;br /&gt;&lt;w:validateagainstschemas&gt;&lt;w:compatibility&gt;&lt;w:spaceforul&gt;&lt;w:balancesinglebytedoublebytewidth&gt;&lt;w:donotleavebackslashalone&gt;&lt;w:ultrailspace&gt;&lt;w:donotexpandshiftreturn&gt;&lt;w:adjustlineheightintable&gt;&lt;w:breakwrappedtables&gt;&lt;w:snaptogridincell&gt;&lt;w:wraptextwithpunct&gt;&lt;/w:wraptextwithpunct&gt;&lt;/w:snaptogridincell&gt;&lt;/w:breakwrappedtables&gt;&lt;/w:adjustlineheightintable&gt;&lt;/w:donotexpandshiftreturn&gt;&lt;/w:ultrailspace&gt;&lt;/w:donotleavebackslashalone&gt;&lt;/w:balancesinglebytedoublebytewidth&gt;&lt;/w:spaceforul&gt;&lt;/w:compatibility&gt;&lt;/w:validateagainstschemas&gt;Reference:&lt;/p&gt;&lt;p&gt;Rails Guides, 13 mar 2009. Retrieving from &lt;w:validateagainstschemas&gt;&lt;w:compatibility&gt;&lt;w:spaceforul&gt;&lt;w:balancesinglebytedoublebytewidth&gt;&lt;w:donotleavebackslashalone&gt;&lt;w:ultrailspace&gt;&lt;w:donotexpandshiftreturn&gt;&lt;w:adjustlineheightintable&gt;&lt;w:breakwrappedtables&gt;&lt;w:snaptogridincell&gt;&lt;w:wraptextwithpunct&gt;&lt;span lang="EN-US"&gt;&lt;a href="http://guides.rubyonrails.org/getting_started.html"&gt;http://guides.rubyonrails.org/getting_started.html&lt;/a&gt;&lt;/span&gt;&lt;w:validateagainstschemas&gt;&lt;w:compatibility&gt;&lt;w:spaceforul&gt;&lt;w:balancesinglebytedoublebytewidth&gt;&lt;w:donotleavebackslashalone&gt;&lt;w:ultrailspace&gt;&lt;w:donotexpandshiftreturn&gt;&lt;w:adjustlineheightintable&gt;&lt;w:breakwrappedtables&gt;&lt;/w:breakwrappedtables&gt;&lt;/w:adjustlineheightintable&gt;&lt;/w:donotexpandshiftreturn&gt;&lt;/w:ultrailspace&gt;&lt;/w:donotleavebackslashalone&gt;&lt;/w:balancesinglebytedoublebytewidth&gt;&lt;/w:spaceforul&gt;&lt;/w:compatibility&gt;&lt;/w:validateagainstschemas&gt; &lt;/w:wraptextwithpunct&gt;&lt;/w:snaptogridincell&gt;&lt;/w:breakwrappedtables&gt;&lt;/w:adjustlineheightintable&gt;&lt;/w:donotexpandshiftreturn&gt;&lt;/w:ultrailspace&gt;&lt;/w:donotleavebackslashalone&gt;&lt;/w:balancesinglebytedoublebytewidth&gt;&lt;/w:spaceforul&gt;&lt;/w:compatibility&gt;&lt;/w:validateagainstschemas&gt;&lt;/p&gt;&lt;p&gt;&lt;w:validateagainstschemas&gt;&lt;w:compatibility&gt;&lt;w:spaceforul&gt;&lt;w:balancesinglebytedoublebytewidth&gt;&lt;w:donotleavebackslashalone&gt;&lt;w:ultrailspace&gt;&lt;w:donotexpandshiftreturn&gt;&lt;w:adjustlineheightintable&gt;&lt;w:breakwrappedtables&gt;&lt;w:snaptogridincell&gt;&lt;w:wraptextwithpunct&gt;Curt Hibbs, 10 2005, What Is Ruby on Rails, retrieving on 1 Apr 2009 on &lt;a href="http://www.onlamp.com/pub/a/onlamp/2005/10/13/what_is_rails.html"&gt;http://www.onlamp.com/pub/a/onlamp/2005/10/13/what_is_rails.html&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;/w:wraptextwithpunct&gt;&lt;/w:snaptogridincell&gt;&lt;/w:breakwrappedtables&gt;&lt;/w:adjustlineheightintable&gt;&lt;/w:donotexpandshiftreturn&gt;&lt;/w:ultrailspace&gt;&lt;/w:donotleavebackslashalone&gt;&lt;/w:balancesinglebytedoublebytewidth&gt;&lt;/w:spaceforul&gt;&lt;/w:compatibility&gt;&lt;/w:validateagainstschemas&gt;&lt;w:validateagainstschemas&gt;&lt;w:compatibility&gt;&lt;w:spaceforul&gt;&lt;w:balancesinglebytedoublebytewidth&gt;&lt;w:donotleavebackslashalone&gt;&lt;w:ultrailspace&gt;&lt;w:donotexpandshiftreturn&gt;&lt;w:adjustlineheightintable&gt;&lt;w:breakwrappedtables&gt;&lt;w:snaptogridincell&gt;&lt;w:wraptextwithpunct&gt;&lt;/w:wraptextwithpunct&gt;&lt;/w:snaptogridincell&gt;&lt;/w:breakwrappedtables&gt;&lt;/w:adjustlineheightintable&gt;&lt;/w:donotexpandshiftreturn&gt;&lt;/w:ultrailspace&gt;&lt;/w:donotleavebackslashalone&gt;&lt;/w:balancesinglebytedoublebytewidth&gt;&lt;/w:spaceforul&gt;&lt;/w:compatibility&gt;&lt;/w:validateagainstschemas&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-8854804027246006895?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/8854804027246006895/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/ex-13.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/8854804027246006895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/8854804027246006895'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/ex-13.html' title='Workshop 1 - Ex 1.3'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-987817866590233552</id><published>2009-03-11T20:43:00.000-07:00</published><updated>2009-04-12T23:09:26.437-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop 1'/><title type='text'>Workshop 1 - EX 1.2</title><content type='html'>&lt;p&gt;2.          Ruby is “an interpreted scripting language” for quick and easy object-oriented programming”. Find out about the Ruby language and discover what this means.&lt;br /&gt;Ruby is an interpreted scripting language for quick and easy object-oriented programming&lt;br /&gt;Interpreted scripting language:&lt;br /&gt;l   ability to make operating system calls directly&lt;br /&gt;l   powerful string operations and regular expressions&lt;br /&gt;l   immediate feedback during development&lt;br /&gt;&lt;br /&gt;Quick and easy:&lt;br /&gt;l   variable declarations are unnecessary&lt;br /&gt;l   variables are not typed&lt;br /&gt;l   syntax is simple and consistent&lt;br /&gt;l   memory management is automatic&lt;br /&gt;&lt;br /&gt;Object oriented programming:&lt;br /&gt;l   everything is an object&lt;br /&gt;l   classes, methods, inheritance, etc.&lt;br /&gt;l   singleton methods&lt;br /&gt;l   "mixin" functionality by module&lt;br /&gt;l   iterators and closures&lt;br /&gt;&lt;br /&gt;Other properties:&lt;br /&gt;l   multiple precision integers&lt;br /&gt;l   convenient exception processing&lt;br /&gt;l   dynamic loading&lt;br /&gt;l   threading support&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Ruby guides, Retrieving on 20 mar 0209 from &lt;a href="http://guides.rubyonrails.org/getting_started.html"&gt;http://guides.rubyonrails.org/getting_started.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-987817866590233552?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/987817866590233552/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/ex-12.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/987817866590233552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/987817866590233552'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/ex-12.html' title='Workshop 1 - EX 1.2'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-5707790673253045805</id><published>2009-03-09T20:24:00.000-07:00</published><updated>2009-03-12T23:16:52.480-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop 1'/><title type='text'>Workshop 1 - EX 1.1</title><content type='html'>1. Make a list of all programming languages and Web development tools used by you in prior experiences. Describe what you know about Web application frameworks before we begin.&lt;br /&gt;&lt;br /&gt;In my past study, I learnt the following programming languages:&lt;br /&gt;&lt;br /&gt;LOGO, GWBASIC, BASIC, COBOL, C++, Common LISP, Java 6.0, Pascal, Visual Basic 6.0, SQL, VBA, etc...&lt;br /&gt;&lt;br /&gt;Web development tools:&lt;br /&gt;Frontpage, ASP 3.0, ASP.NET 3.5, Dreamweaver CS3 and visual web developer 2008 Express, etc...&lt;br /&gt;&lt;br /&gt;A web application framework is a software framework that is designed to support the development of dynamic websites, web applications and web services. The framework aims to reduce the overhead associated with common activities used in web development.&lt;br /&gt;&lt;br /&gt;Ruby on Rails (RoR) is a free open source web development framework based on Model-View-Controller with Ruby language to develop rapidly data-driven web applications. Ruby is a highly developer friendly, reflective and object-oriented language with features inspired from PERL, Python, Small talk, Lisp.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;Ruby on Raiils, 12 Mar 2009, Retrieving from &lt;a href="http://rubyonrails.org/"&gt;http://rubyonrails.org/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-5707790673253045805?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/5707790673253045805/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/ex-11.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/5707790673253045805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/5707790673253045805'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/ex-11.html' title='Workshop 1 - EX 1.1'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-7712974592261622549</id><published>2009-03-05T19:09:00.000-08:00</published><updated>2009-03-29T20:42:05.941-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercise'/><title type='text'>Exercise 1-2: Analysis of the online communitites paradigm</title><content type='html'>2.&lt;br /&gt;a. Why has it been a successful site? How does the purchase of a book work?&lt;br /&gt;Amazon has been a successful site due to the following reasons:&lt;br /&gt;² Amazon is an online shopping website with one of the largest product supplies online. It is one of the first companies that sells products by housing them all in numerous warehouses and distributing products from many partner companies.&lt;br /&gt;² Amazon is using cash to escape from debt. Few companies’ operations are that healthy, and the ones that are will likely emerge from the recession much stronger than their competitors.&lt;br /&gt;² Amazon’s hard-line adherence to its basic strategy — keep the prices low, and the experience easy — cost it a lot of debt early on and a lot of short-term profit ever since. But now the company’s debt is being paid off and the cash on hand is growing.&lt;br /&gt;² The recession is far from over, and like all companies, Amazon faces its share of challenges. But there is emerging in the company’s short history an important lesson for tech companies: Find a clear vision and, not matter how fast things change or how impatient others become, stick with it. It’s a very hard road to take. But at least it’s simple.&lt;br /&gt;&lt;br /&gt;B. Is there any secure transactions not involving money?&lt;br /&gt;Yes, there is. The membership management of Amazon.com is protected by SSL which provide a certain level of security.&lt;br /&gt;&lt;br /&gt;C. What is the range of items that you can buy? List the steps involved and comment.&lt;br /&gt;You can buy several categories of products as the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Books&lt;/li&gt;&lt;li&gt;Movies, Music &amp;amp; Games&lt;/li&gt;&lt;li&gt;Digital Downloads&lt;/li&gt;&lt;li&gt;Kindle&lt;/li&gt;&lt;li&gt;Computers &amp;amp; Office&lt;/li&gt;&lt;li&gt;Electronics&lt;/li&gt;&lt;li&gt;Home &amp;amp; Garden&lt;/li&gt;&lt;li&gt;Grocery, Health &amp;amp; Beauty&lt;/li&gt;&lt;li&gt;Apparel, Shoes &amp;amp; Jewelry&lt;/li&gt;&lt;li&gt;Sports &amp;amp; Outdoors&lt;/li&gt;&lt;li&gt;Tools, Auto &amp;amp; Industrial&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/ScRZ4r09C1I/AAAAAAAAAJQ/F7IJqtb-oB0/s1600-h/amazon1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5315472290576403282" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/ScRZ4r09C1I/AAAAAAAAAJQ/F7IJqtb-oB0/s320/amazon1.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The steps of buying a book:&lt;br /&gt;For example, to buy the book “Developing Distributed And E-commerce Applications”&lt;br /&gt;(ISBN: 9780321154224), Author: Ince, Publisher: Addison Wesley&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/ScRdEFPY2eI/AAAAAAAAAJg/MsjJRWGOfdE/s1600-h/amazon2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5315475784911608290" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/ScRdEFPY2eI/AAAAAAAAAJg/MsjJRWGOfdE/s320/amazon2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Login into the Amazon membership account&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/ScRdEUi2QcI/AAAAAAAAAJo/8gwdqMSBvSo/s1600-h/amazon3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5315475789019759042" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 182px" alt="" src="http://2.bp.blogspot.com/_qMVlbiwAE6w/ScRdEUi2QcI/AAAAAAAAAJo/8gwdqMSBvSo/s320/amazon3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select the category as "Book"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/ScRdElP0ZgI/AAAAAAAAAJw/L6tmNgRvtxo/s1600-h/amazon4.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5315475793503348226" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/ScRdElP0ZgI/AAAAAAAAAJw/L6tmNgRvtxo/s320/amazon4.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Search with the ISBN; type the ISBN in the textbox;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qMVlbiwAE6w/ScRdEo8fSXI/AAAAAAAAAJ4/SU5wUSWNtH4/s1600-h/amazon5.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5315475794496014706" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px" alt="" src="http://4.bp.blogspot.com/_qMVlbiwAE6w/ScRdEo8fSXI/AAAAAAAAAJ4/SU5wUSWNtH4/s320/amazon5.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select the desired item;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/ScRdFNmMQKI/AAAAAAAAAKA/EuxRW-QYW3I/s1600-h/amazon6.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5315475804334604450" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/ScRdFNmMQKI/AAAAAAAAAKA/EuxRW-QYW3I/s320/amazon6.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Check the information of the chosen book;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_qMVlbiwAE6w/ScRdaBB4KkI/AAAAAAAAAKI/CP4mbZY26PY/s1600-h/amazon7.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5315476161738320450" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px" alt="" src="http://3.bp.blogspot.com/_qMVlbiwAE6w/ScRdaBB4KkI/AAAAAAAAAKI/CP4mbZY26PY/s320/amazon7.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Click to buy a new one book;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_qMVlbiwAE6w/ScRdacdVr2I/AAAAAAAAAKQ/ZMP6fSekA_c/s1600-h/amazon8.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5315476169101258594" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px" alt="" src="http://1.bp.blogspot.com/_qMVlbiwAE6w/ScRdacdVr2I/AAAAAAAAAKQ/ZMP6fSekA_c/s320/amazon8.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_qMVlbiwAE6w/ScRdaS9igsI/AAAAAAAAAKg/uk5augt_IDY/s1600-h/amazon9.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Add the item to the shopping cart;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;then go to the payment method page, choose the payment method, such as creidt cards or Paypal;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;check the order and wait for the shippment;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-7712974592261622549?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/7712974592261622549/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7712974592261622549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7712974592261622549'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/exercise-1.html' title='Exercise 1-2: Analysis of the online communitites paradigm'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_qMVlbiwAE6w/ScRZ4r09C1I/AAAAAAAAAJQ/F7IJqtb-oB0/s72-c/amazon1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7330488129011096351.post-7794005478782818467</id><published>2009-03-04T16:18:00.000-08:00</published><updated>2009-03-04T16:21:10.329-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Introduction'/><title type='text'>Introduction</title><content type='html'>HI, everyone. I am Bill. I am a teacher for a secondary school in Macao.&lt;br /&gt;&lt;br /&gt;I am studying MIT from CSU. This blog is used for ITC594 E-systems infrastructure.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7330488129011096351-7794005478782818467?l=billngau.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billngau.blogspot.com/feeds/7794005478782818467/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://billngau.blogspot.com/2009/03/introduction.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7794005478782818467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7330488129011096351/posts/default/7794005478782818467'/><link rel='alternate' type='text/html' href='http://billngau.blogspot.com/2009/03/introduction.html' title='Introduction'/><author><name>mastus</name><uri>http://www.blogger.com/profile/17259888604761253831</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
