<?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-4645558078964269803</id><updated>2011-04-22T03:23:07.432+08:00</updated><category term='Introduction'/><category term='Workshop'/><category term='Chit-Chat'/><category term='Exercises'/><title type='text'>Ken Yau 's Blog</title><subtitle type='html'>ITC594 E-Systems Infrastructure Development</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>36</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-7247473709734661874</id><published>2009-05-18T16:15:00.001+08:00</published><updated>2009-05-18T16:16:37.313+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop'/><title type='text'>WorkShop 8 Ruby on Rails Workshops Report and Evaluation</title><content type='html'>Please read the Wiki Interact . Thanks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-7247473709734661874?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/7247473709734661874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/workshop-8-ruby-on-rails-workshops.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7247473709734661874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7247473709734661874'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/workshop-8-ruby-on-rails-workshops.html' title='WorkShop 8 Ruby on Rails Workshops Report and Evaluation'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-2636296117968582939</id><published>2009-05-18T16:13:00.002+08:00</published><updated>2009-05-18T16:15:19.445+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop'/><title type='text'>WorkShop 7 End of the Line: Production Site Migration and Maintenance</title><content type='html'>Please read the Wiki Interact . Thanks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-2636296117968582939?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/2636296117968582939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/workshop-7-end-of-line-production-site.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/2636296117968582939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/2636296117968582939'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/workshop-7-end-of-line-production-site.html' title='WorkShop 7 End of the Line: Production Site Migration and Maintenance'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-4680364915310634878</id><published>2009-05-17T21:49:00.002+08:00</published><updated>2009-05-18T00:04:39.371+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop'/><title type='text'>Workshop 6 Enjoying the Ride: Web framework Alternatives, Scalability and Flexibility</title><content type='html'>Please read the Wiki Interact . Thanks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-4680364915310634878?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/4680364915310634878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/workshop-6-enjoying-ride-web-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/4680364915310634878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/4680364915310634878'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/workshop-6-enjoying-ride-web-framework.html' title='Workshop 6 Enjoying the Ride: Web framework Alternatives, Scalability and Flexibility'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-4769793310488323086</id><published>2009-05-16T23:28:00.007+08:00</published><updated>2009-05-17T21:44:54.505+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop'/><title type='text'>Workshop 5 Admiring the scenery Forms, AJAX Screen Layout and Mobile Interfaces</title><content type='html'>&lt;span style="font-family:arial;"&gt;1. Ideas for customers enhancing experience on Web 2.0 and mobile technologies&lt;/span&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;Sales and marketing. Web 2.0 sites provide new sales and marketing venues for companies—ones that are often already geared demographically to certain populations. For example, companies that want to target professionals may choose to advertise on LinkedIn, a business-oriented social networking site, whereas companies targeting the youth market may advertise on FunkySexyCool, a mobile-oriented social network run in cooperation with MTV. In addition, these new online sales and marketing channels compare very favorably to traditional channels in terms of cost. Also, with the mobile technologies, customers can get into different channels at anytime and anywhere they want.&lt;br /&gt;Customer service. Web 2.0 platforms offer companies the ability to create very interactive high-quality customer service sites that network together customers, staff, and suppliers. In addition, companies can create customer service sites moderated by full-time employees that encourages end-user created content and wide participation among users—enhancing consumers’ customer service experience and building loyalty. ( BoozAllen, 2007)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2. Software, hardware, networking, systems, procedures and personnel would be needed to support the Developers in order to provide mobile device interfaces to the OTBS in a stage 2 project. There are four critieria we have to care about :- &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;- User friendliness&lt;br /&gt;- Didactic efficiency&lt;br /&gt;- Technical feasibility&lt;br /&gt;- Cost effectiveness&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:Arial;"&gt;The diagram below shows the delivery options , deployment languages and plateforms can be used for the mobile device interface (Attewell, 2005)&lt;/span&gt;&lt;a href="http://3.bp.blogspot.com/_8600fW6wqpk/Sg_uiqTLQZI/AAAAAAAAAJw/lukC4DuAE54/s1600-h/mobile.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336746362695008658" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 253px" alt="" src="http://3.bp.blogspot.com/_8600fW6wqpk/Sg_uiqTLQZI/AAAAAAAAAJw/lukC4DuAE54/s400/mobile.JPG" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:arial;"&gt;3.The improved business process can be divided into four different steps&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:arial;"&gt;- Customer contacts the call centre through any of the channels available (telephonist, Interactive Voice Response, Internet etc).&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:arial;"&gt;- The confirmation of location process starts. The main objective is to identify the origin of the customer. &lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:arial;"&gt;- The dispatch system allocates a car. &lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:arial;"&gt;- The car is contacted and it picks up the customer &lt;/span&gt;&lt;a href="http://3.bp.blogspot.com/_8600fW6wqpk/ShARPlgm5hI/AAAAAAAAAJ4/aA08eEFPRrQ/s1600-h/TAXI.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5336784517898626578" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 221px" alt="" src="http://3.bp.blogspot.com/_8600fW6wqpk/ShARPlgm5hI/AAAAAAAAAJ4/aA08eEFPRrQ/s400/TAXI.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p align="justify"&gt;&lt;span style="font-family:arial;"&gt;This new business process system performs a large number of measurements. The company has been able to identify savings by a reduction of the distance from vehicle to customer . Other benefits for taxi drivers are better information access, new services available and improved work environment. Customers experience reduced estimated time of arrival and faster reservation process. The traffic control office is able to perform real-time information retrieval from the cars and at the same time benefits from location based retrieval advantages, improved information retrieval from the mobile resources and finally, real time notification advantages are also achieved. (Heijden, 2002)&lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;span style="font-family:Arial;"&gt;References:&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:arial;"&gt;1&lt;/span&gt;&lt;span style="font-family:arial;"&gt;. BoozAllen, 2007, " Companies to adapt to Web. 20 "&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;&lt;/span&gt;&lt;a href="http://www.boozallen.com/media/file/The_Urgent_Need_for_Companies_to_Adapt_to_Web_2.0.pdf"&gt;&lt;span style="font-family:arial;"&gt;http://www.boozallen.com/media/file/The_Urgent_Need_for_Companies_to_Adapt_to_Web_2.0.pdf&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:arial;"&gt;2. Heijden, 2002, " Buisness Process"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;&lt;/span&gt;&lt;a href="http://is2.lse.ac.uk/asp/aspecis/20020043.pdf"&gt;&lt;span style="font-family:arial;"&gt;http://is2.lse.ac.uk/asp/aspecis/20020043.pdf&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3. 2. Attewell, J., &amp;amp; Savill-Smith, C. (2005), ‘Mobile learning anytime everywhere: A book of papers from MLEARN 2004&lt;br /&gt;&lt;/span&gt;&lt;&lt;a href="http://elearning.typepad.com/thelearnedman/mobile_learning/reports/mLearn04_papers.pdf"&gt;http://elearning.typepad.com/thelearnedman/mobile_learning/reports/mLearn04_papers.pdf&lt;/a&gt;&gt;&lt;br /&gt;&lt;br /&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/4645558078964269803-4769793310488323086?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/4769793310488323086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/workshop-5-admiring-scenery-forms-ajax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/4769793310488323086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/4769793310488323086'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/workshop-5-admiring-scenery-forms-ajax.html' title='Workshop 5 Admiring the scenery Forms, AJAX Screen Layout and Mobile Interfaces'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8600fW6wqpk/Sg_uiqTLQZI/AAAAAAAAAJw/lukC4DuAE54/s72-c/mobile.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-2604824717821532137</id><published>2009-05-13T21:09:00.006+08:00</published><updated>2009-05-13T21:54:02.593+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 26: System Integration</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. I chose Business Process Analysis&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2a. Enterprise Resource Planning is actually a process or approach which attempts to consolidate all of a company's departments and functions into a single computer system that services each department's specific needs. It is, in a sense, a convergence of people, hardware and software into an efficient production, service and delivery system that creates profit for the company. Primary benefit, prior to ERP, each department may be considered an independent fiefdom. Once a department's particular function is completed, it no longer cares for what happens afterwards. Efforts to integrate the system before always met with the stumbling block of different software and procedures. A sales person could not access the finance database to find out the customer's billing status, nor can he easily access the warehouse, inventory or delivery to find out the status of the customer's order.&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;2b. &lt;/span&gt;&lt;span style="font-family:arial;"&gt;Customer Relationship Management is an information industry term for methodologies, software, and usually Internet capabilities that help an enterprisee manage customer relationships in an organized way. For example, an enterprise might build a database about its customers that described relationships in sufficient detail so that management, salespeople, people providing service, and perhaps the customer directly could access information, match customer needs with product plans and offerings, remind customers of service requirements, know what other products a customer had purchased, and so forth. (TechTarget, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;2c. Workflow Management is the management of business processes with information technology. By defining, analyzing, and redesigning an organization's resources and operations, workflow management systems ensure that the right information reaches the right person or computer application at the right time.(Aalst, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;My bank is using CRM and the benefits are as follows&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;- Helping an enterprise to enable its marketing departments to identify and target their best customers, manage marketing campaigns and generate quality leads for the sales team.&lt;br /&gt;- Assisting the organization to improve telesales, account, and sales management by optimizing information shared by multiple employees, and streamlining existing processes (for example, taking orders using mobile devices)&lt;br /&gt;- Allowing the formation of individualized relationships with customers, with the aim of improving customer satisfaction and maximizing profits; identifying the most profitable customers and providing them the highest level of service.&lt;br /&gt;- Providing employees with the information and processes necessary to know their customers, understand and identify customer needs and effectively build relationships between the company, its customer base, and distribution partners.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;References&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;1. Tech-Faq, 2009, " Enterprise Resource Planning"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www.tech-faq.com/enterprise-resource-planning-erp.shtml"&gt;http://www.tech-faq.com/enterprise-resource-planning-erp.shtml&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;2. TechTarget, 2009," Customer Relationship Management"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://searchcrm.techtarget.com/sDefinition/0,,sid11_gci213567,00.html"&gt;http://searchcrm.techtarget.com/sDefinition/0,,sid11_gci213567,00.html&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;3. Aalst, 2009, " Workflow Management"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://mitpress.mit.edu/catalog/item/default.asp?tid=8633&amp;amp;ttype=2"&gt;http://mitpress.mit.edu/catalog/item/default.asp?tid=8633&amp;amp;ttype=2&lt;/a&gt;&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-2604824717821532137?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/2604824717821532137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-26-system-integration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/2604824717821532137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/2604824717821532137'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-26-system-integration.html' title='Exercise 26: System Integration'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-7322103355004714636</id><published>2009-05-12T22:40:00.004+08:00</published><updated>2009-05-13T09:54:34.932+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 25: M-commerce and the E-Wallet : Innovation and Mobile Devices</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;A location-based service (LBS) is an information and entertainment service, accessible with mobile devices through the mobile network and utilizing the ability to make use of the geographical position of the mobile device. LBS services can be used in a variety of contexts, such as health, work, personal life, etc. LBS services include services to identify a location of a person or object, such as discovering the nearest banking cash machine or the whereabouts of a friend or employee. LBS services include parcel tracking and vehicle tracking services. LBS can include mobile commerce when taking the form of coupons or advertising directed at customers based on their current location. They include personalized weather services and even location-based games. They are an example of telecommunication convergence&lt;/span&gt;. (Wikipedia, 2009) &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;Current wireless location based services are growing much slower than expected. One of the major problems is the inefficiency of geographic coordinates such as longitude/latitude and UTM. These coordinates require more than 20 characters at a resolution of meters that are difficult for people to remember and communicate. They are also difficult to be displayed on and input into small wireless devices. All these make geographic coordinates nearly useless to general consumers. &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;This technology has two barriers to overcome before it liberates great power. The first barrier is vast public awareness. If people don’t know the technology and its advantages, they will not use any features brought by the technology, and all these services will not have any advantages because of the introduction of the technology. The second barrier is wide availability of Universal Addresses. If people don’t know their Universal Addresses, they still can’t benefit from the advantages of the technology either. To overcome these two barriers, it requires great influence and comprehensive services that most small or medium size companies are not able to accomplish. Therefore, only large companies with large influence in the society and providing mass communication services can achieve the goal. An ideal candidate is a large telecommunication company which provides both wireless location based services and telephone catalogs for fixed phones.( Shen, 2003)&lt;/div&gt;&lt;div align="justify"&gt; &lt;/div&gt;&lt;div align="justify"&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;References : &lt;/div&gt;&lt;div align="justify"&gt;1. Wikipedia, 2009, " Location Base Service"&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://en.wikipedia.org/wiki/Location-based_service"&gt;http://en.wikipedia.org/wiki/Location-based_service&lt;/a&gt;&gt; &lt;/div&gt;&lt;div align="justify"&gt;2. Shen, 2003," Problem and Solution , "Wireless Location Base Service"&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://www.wirelessdevnet.com/features/nacjan03/"&gt;http://www.wirelessdevnet.com/features/nacjan03/&lt;/a&gt;&gt;&lt;/div&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/4645558078964269803-7322103355004714636?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/7322103355004714636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-25-m-commerce-and-e-wallet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7322103355004714636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7322103355004714636'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-25-m-commerce-and-e-wallet.html' title='Exercise 25: M-commerce and the E-Wallet : Innovation and Mobile Devices'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-8507267282048836205</id><published>2009-05-12T09:53:00.006+08:00</published><updated>2009-05-12T22:40:26.152+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 24: Virtual Business Worlds and Cyberagents</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. The term "software agents" describes a software abstraction, an idea, or a concept, similar to OOP terms such as methods, functions, and objects.[citation needed] The concept of an agent provides a convenient and powerful way to describe a complex software entity that is capable of acting with a certain degree of autonomy in order to accomplish tasks on behalf of its user. (Wikipedia, 2009) and they have various types of agents :&lt;br /&gt;- Intelligent Software Agent&lt;br /&gt;- Autonomous Agent&lt;br /&gt;- Distributed Agent&lt;br /&gt;- Multi-agent System&lt;br /&gt;- Mobile Agent&lt;br /&gt;- Fuzzy Agent&lt;br /&gt;2. Intelligent Software Agent and Fuzzy Agent would be applied to the Artificial Intellegience and while Statistical Techiques would use under Mobile Agent.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;4. Rocky - LC_MOO &lt;br /&gt;&lt;/span&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/SgmJMxuDr7I/AAAAAAAAAJo/9-9WPrO2w_I/s1600-h/bot.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334946086195015602" style="WIDTH: 333px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/SgmJMxuDr7I/AAAAAAAAAJo/9-9WPrO2w_I/s400/bot.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;I found the bot only recongized the keyword only and give certain response, for instances, I type in Hello, the response is ..hmm is that so , therefore, it is meaningless, however, when I type in Hi then the response is correct , hi , how are you ? Again, I typed in thanks then it will response you are welcomed, therefore, i believed, all the keyword is alreayd be hardcode with certain responses.&lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;References:&lt;br /&gt;1. Wikipedia, 2009, " Agents"&lt;br /&gt;&lt;&lt;a href="http://en.wikipedia.org/wiki/Software_agent"&gt;http://en.wikipedia.org/wiki/Software_agent&lt;/a&gt;&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-8507267282048836205?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/8507267282048836205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-24-virtual-business-worlds-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/8507267282048836205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/8507267282048836205'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-24-virtual-business-worlds-and.html' title='Exercise 24: Virtual Business Worlds and Cyberagents'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8600fW6wqpk/SgmJMxuDr7I/AAAAAAAAAJo/9-9WPrO2w_I/s72-c/bot.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-5469969012033280492</id><published>2009-05-10T15:08:00.004+08:00</published><updated>2009-05-12T09:52:58.244+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 23: Searching Mechanisms</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. A program that automatically fetches Web pages. Spiders are used to feed pages to search engines. It's called a spider because it crawls over the Web. Another term for these programs is webcrawler. (Webopedia, 2009). It provides as a search engines like the yahoo search or google search.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;2. A search engine that queries other search engines and then combines the results that are received from all. In effect, the user is not using just one search engine but a combination of many search engines at once to optimize Web searching. For example, Dogpile is a metasearch engine (Webopedia, 2009) &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;3. User meta-tag built it under your web page, use the search keyword as accurate describe your page, subcribe to the major web search sites, in order increase the chance of getting a good site ranking.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;References : &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;1. Webopedia, 2009 " Spider"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www.webopedia.com/TERM/s/spider.html"&gt;http://www.webopedia.com/TERM/s/spider.html&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;2. Webopedia, 2009, "Metasearch Engine"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www.webopedia.com/TERM/m/metasearch_engine.html"&gt;http://www.webopedia.com/TERM/m/metasearch_engine.html&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&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/4645558078964269803-5469969012033280492?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/5469969012033280492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-23-searching-mechanisms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/5469969012033280492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/5469969012033280492'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-23-searching-mechanisms.html' title='Exercise 23: Searching Mechanisms'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-8731107326114268238</id><published>2009-05-10T14:18:00.003+08:00</published><updated>2009-05-10T15:08:05.593+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 22: CRM, B2B and SCM Software</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. Customer relationship management (CRM) consists of the processes a company uses to track and organize its contacts with its current and prospective customers. CRM software is used to support these processes; information about customers and customer interactions can be entered, stored and accessed by employees in different company departments. Typical CRM goals are to improve services provided to customers, and to use customer contact information for targeted marketing.(Wikipedia, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2. Business-to-business (B2B) describes commerce transactions between businesses, such as between a manufacturer and a wholesaler, or between a wholesaler and a retailer..(Wikipedia, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;3. Supply chain management (SCM) is the management of a network of interconnected businessesinvolved in the ultimate provision of product and service packages required by end customers (Harland, 1996). Supply Chain Management spans all movement and storage of raw materials, work-in-process inventory, and finished goods from point-of-origin to point-of-consumption (supply chain)..(Wikipedia, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;References:&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;1. Wikipedia, 2009, " Customer Relationship Management"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://en.wikipedia.org/wiki/Customer_relationship_management"&gt;http://en.wikipedia.org/wiki/Customer_relationship_management&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;2. Wikipedia, 2009, "B2B"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://en.wikipedia.org/wiki/B2B_e-commerce"&gt;http://en.wikipedia.org/wiki/B2B_e-commerce&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;3. Wikipedia, 2009, " Supply Chain Management"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://en.wikipedia.org/wiki/Supply_chain_management"&gt;http://en.wikipedia.org/wiki/Supply_chain_management&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt; &lt;/div&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/4645558078964269803-8731107326114268238?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/8731107326114268238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-22-crm-b2b-and-scm-software.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/8731107326114268238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/8731107326114268238'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-22-crm-b2b-and-scm-software.html' title='Exercise 22: CRM, B2B and SCM Software'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-134818046792568903</id><published>2009-05-10T13:51:00.002+08:00</published><updated>2009-05-10T14:30:25.714+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 21: Shopping Cart Specifications</title><content type='html'>Shopping Cart Class Diagram&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/SgZ0abUUtlI/AAAAAAAAAJg/Vp-dyazzZuI/s1600-h/shoppingcart.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334078806025352786" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 357px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/SgZ0abUUtlI/AAAAAAAAAJg/Vp-dyazzZuI/s400/shoppingcart.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/SgZxm8B8E8I/AAAAAAAAAJQ/WhsSrfjBMkU/s1600-h/shoppingcart.JPG"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-134818046792568903?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/134818046792568903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-21-shopping-cart.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/134818046792568903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/134818046792568903'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-21-shopping-cart.html' title='Exercise 21: Shopping Cart Specifications'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8600fW6wqpk/SgZ0abUUtlI/AAAAAAAAAJg/Vp-dyazzZuI/s72-c/shoppingcart.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-7159007073986073056</id><published>2009-05-10T12:20:00.002+08:00</published><updated>2009-05-10T13:50:36.688+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 20: Modeling and UML</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Diagram show the modeling with UML (SESAR, 2009)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/SgZof3oVA-I/AAAAAAAAAJI/djMBIzu_SoE/s1600-h/models.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334065705385264098" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 298px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/SgZof3oVA-I/AAAAAAAAAJI/djMBIzu_SoE/s400/models.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;A. Class Diagram ( Jua, n.d.)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/SgZobGKEpZI/AAAAAAAAAJA/CAQ2ZieFvFc/s1600-h/class.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334065623385548178" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 236px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/SgZobGKEpZI/AAAAAAAAAJA/CAQ2ZieFvFc/s400/class.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;B. Case Diagram ( Jua, n.d.)&lt;/strong&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/SgZn-usdTFI/AAAAAAAAAI4/zGi8qfreH5o/s1600-h/case.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334065136050981970" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 352px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/SgZn-usdTFI/AAAAAAAAAI4/zGi8qfreH5o/s400/case.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;C. Sequenece Diagram ( Jua, n.d.)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/SgZnzgFaZoI/AAAAAAAAAIw/CFtCmxIaEM0/s1600-h/sequence.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334064943150556802" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 236px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/SgZnzgFaZoI/AAAAAAAAAIw/CFtCmxIaEM0/s400/sequence.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;D. Collaboration Diagram ( Jua, n.d.)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/SgZntuXJuHI/AAAAAAAAAIo/U6PJDlb3f7Q/s1600-h/collabration.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334064843903842418" style="WIDTH: 375px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/SgZntuXJuHI/AAAAAAAAAIo/U6PJDlb3f7Q/s400/collabration.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;E. State Chart ( Jua, n.d.)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/SgZnm5UtZyI/AAAAAAAAAIg/W-1a5Gz_T6s/s1600-h/statechart.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334064726587303714" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/SgZnm5UtZyI/AAAAAAAAAIg/W-1a5Gz_T6s/s400/statechart.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;F. Activity Chart ( Jua, n.d.)&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/SgZnhVSvWXI/AAAAAAAAAIY/Y0cAb6-Pf64/s1600-h/activity.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334064631016020338" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 244px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/SgZnhVSvWXI/AAAAAAAAAIY/Y0cAb6-Pf64/s400/activity.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;G. Component Diagram ( Jua, n.d.)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/SgZnbADp3CI/AAAAAAAAAIQ/2afp7Albs9Q/s1600-h/component.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334064522236386338" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 165px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/SgZnbADp3CI/AAAAAAAAAIQ/2afp7Albs9Q/s400/component.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;H. Deployment ( Jua, n.d.)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/SgZnSmG592I/AAAAAAAAAII/JzkWuqIqBuE/s1600-h/deployment.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334064377831749474" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 279px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/SgZnSmG592I/AAAAAAAAAII/JzkWuqIqBuE/s400/deployment.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References : &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;1. SESAR, 2009," UML Component and Deployment Diagrams"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;&lt;&lt;a href="http://ra.crema.unimi.it/turing/MATERIALE/Admin/corsi/ingSwBozen/sebozebprepexam.ppt"&gt;http://ra.crema.unimi.it/turing/MATERIALE/Admin/corsi/ingSwBozen/sebozebprepexam.ppt &lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;2. Jua, n.d., " Unified Modified Language"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;&lt;&lt;a href="http://jdjua.com/uml.htm"&gt;http://jdjua.com/uml.htm&lt;/a&gt;&gt;&lt;br /&gt;&lt;/span&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 class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-7159007073986073056?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/7159007073986073056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-20-modeling-and-uml.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7159007073986073056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7159007073986073056'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-20-modeling-and-uml.html' title='Exercise 20: Modeling and UML'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_8600fW6wqpk/SgZof3oVA-I/AAAAAAAAAJI/djMBIzu_SoE/s72-c/models.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-7529707266749443220</id><published>2009-05-09T15:37:00.007+08:00</published><updated>2009-05-10T12:19:16.449+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 19: TP Monitors and Transaction Protocols</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. ACID is stand for Atomicity , Consistency, Isolation and Durability ( Microsoft, 2009)&lt;br /&gt;- Atomicity is related to the begin and end of transation statement, once is started just like an atomic and the work is done.&lt;br /&gt;- Consistency preserves data stability and transform from one to another&lt;br /&gt;- Isolation allows concurrency of transaction to behave as one of the transaction running under the system&lt;br /&gt;- Durability is a unit of recovery&lt;br /&gt;2. Transaction processing monitors have been evolving for about 30 years (CICS was introduced in 1968) and have become powerful, high-speed server platforms for mission-critical applications. Some TP products like CICS and TUXEDO. TP monitors are operating systems for business systems whose applications are written in languages like COBOL. It may seem strange to call a TP monitor an "operating system," but because they control an application's entire environment, it's a fitting description. TP monitor systems automatically manage the entire environment that a business system runs in, including transactions, resource management, and fault tolerance. The business logic in TP monitors is made up of procedural applications that are often accessed through network &lt;/span&gt;&lt;a name="INDEX-98"&gt;&lt;/a&gt;&lt;a name="INDEX-99"&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;messaging or &lt;/span&gt;&lt;a name="INDEX-100"&gt;&lt;/a&gt;&lt;a name="INDEX-101"&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;remote procedure calls (RPC), which are ancestors of RMI. Messaging allows a client to send a message directly to a TP monitor requesting that some application be run with certain parameters. It's similar in concept to the &lt;/span&gt;&lt;a name="INDEX-102"&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;Java event model. Messaging can be &lt;/span&gt;&lt;a name="INDEX-103"&gt;&lt;/a&gt;&lt;a name="INDEX-104"&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;synchronous or asynchronous, meaning that the sender may or may not be required to wait for a response. RPC is a distributed mechanism that allows clients to invoke procedures on applications in a TP monitor as if the procedure was executed locally. The primary difference between &lt;/span&gt;&lt;a name="INDEX-105"&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;RPC and RMI is that RPC is used for procedure &lt;/span&gt;&lt;a name="INDEX-106"&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;-based applications and RMI is used for &lt;/span&gt;&lt;a name="INDEX-107"&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;distributed object systems. With RMI, methods can be invoked on a specific object identity, a specific business entity. In RPC, a client can call procedures on a specific type of application, but there is no concept of object identity. RMI is object oriented; RPC is procedural. (O' Reilly. 2001)&lt;br /&gt;Example Show the TP Monitor Process (ETH Zuerich, n.d.)&lt;br /&gt;&lt;/span&gt;&lt;a href="http://3.bp.blogspot.com/_8600fW6wqpk/SgZP_0kzqJI/AAAAAAAAAHw/K5NkxLKtFZ8/s1600-h/tcp.JPG"&gt;&lt;span style="font-family:arial;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334038766530308242" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 299px" alt="" src="http://3.bp.blogspot.com/_8600fW6wqpk/SgZP_0kzqJI/AAAAAAAAAHw/K5NkxLKtFZ8/s400/tcp.JPG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;3. RPC is a point to point protocol in the sense that it supports the interaction between two entities: the client and the server, when there are more entities interaction with each other ( a client with two servers, a client with a server and the server with a database), RPC treats the call as independent of each other. However, the calls are not independent. Transactional RPC is the additional language contstructs and run time support to bundle serveral RPC calls into an atomic unit Message Oriented Middleware (MOM) -products provide an assured, asyncronous and connectionless method to exchange messages between processes. (ETH Zuerich, n.d.)&lt;br /&gt;Digaram shows the basic MOM:&lt;br /&gt;&lt;/span&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/SgZUD9jtd5I/AAAAAAAAAH4/oNsy0ODyYe8/s1600-h/message.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334043235707615122" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 303px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/SgZUD9jtd5I/AAAAAAAAAH4/oNsy0ODyYe8/s400/message.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;4. One-phase atomic  commit protocol can have the decision to abort the process in server, this will affect the stability and consistency of the transaction, however, two phase commit protocol involved in the client side as well in order to abort the transaction, therefore, it is more secure and consistency on the transaction process.&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;References:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;1. Microsoft, 2009, " ACID Properties"&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa719484.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa719484.aspx&lt;/a&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;2.O' Reilly, 2001,"Transaction Processing Monitor "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://docstore.mik.ua/orelly/java-ent/ebeans/ch01_05.htm"&gt;http://docstore.mik.ua/orelly/java-ent/ebeans/ch01_05.htm&lt;/a&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;3. ETH Zuerich, n.d., " Example of TP Monitors"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www.iks.inf.ethz.ch/education/ws05/eai/slides/lec3.pdf"&gt;http://www.iks.inf.ethz.ch/education/ws05/eai/slides/lec3.pdf&lt;/a&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-7529707266749443220?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/7529707266749443220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-19-tp-monitors-and-transaction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7529707266749443220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7529707266749443220'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-19-tp-monitors-and-transaction.html' title='Exercise 19: TP Monitors and Transaction Protocols'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8600fW6wqpk/SgZP_0kzqJI/AAAAAAAAAHw/K5NkxLKtFZ8/s72-c/tcp.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-7937434655809018486</id><published>2009-05-09T15:12:00.002+08:00</published><updated>2009-05-09T15:22:28.945+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 18: Threading Demonstration in Python</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;This demonstration is showing how the locks and semaphore to control on the process. As the reports provide different results and the tasks are running one by one, each thread has to wait for one another to finish before it starts the new one . Therefore, the locks , semaphore and thread are the vital skills manipulate in the applications .&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-7937434655809018486?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/7937434655809018486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-18-threading-demonstration-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7937434655809018486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7937434655809018486'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-18-threading-demonstration-in.html' title='Exercise 18: Threading Demonstration in Python'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-9110175204193801417</id><published>2009-05-08T20:03:00.005+08:00</published><updated>2009-05-09T15:02:54.780+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 17: Concurrency Terms</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. Thread Synchronisation requires that a running thread gain a "lock" on an object before it can access it. The thread will wait in line for another thread that is using the method/data member to be done with it. This is very important to prevent the corruption of program data if multiple threads will be accessing the same data. If two threads try to change a variable or execute the same method at the same, this can cause serious and difficult to find problems. Thread synchronization helps prevent this. (Wikianswer, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2. Locks is a technique that prevents processing of a file by more than one program or user at a time, ensuring that a file in use by one user is made unavailable to others. (Wikianswer, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;3. A deadlock is a situation wherein two or more competing actions are waiting for the other to finish, and thus neither ever does.(Wikianswer, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;4. Semaphores is hardware or software flag used to indicate the status of some activity.(Wikianswer, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;5. Mutex (mutal exclusion) is programming flag used to grab and release an object. When data are acquired that cannot be shared or processing is started that cannot be performed simultaneously elsewhere in the system, the mutex is set to "lock," which blocks other attempts to use it. The mutex is set to "unlock" when the data are no longer needed or the routine is finished. (Wikianswer, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;6. Thread in computer programming, a thread is placeholder information associated with a single use of a program that can handle multiple concurrent users. From the program's point-of-view, a thread is the information needed to serve one individual user or a particular service request. If multiple users are using the program or concurrent requests from other programs occur, a thread is created and maintained for each of them. The thread allows a program to know which user is being served as the program alternately gets re-entered on behalf of different users. (One way thread information is kept by storing it in a special data area and putting the address of that data area in a register. The operating system always saves the contents of the register when the program is interrupted and restores it when it gives the program control again.)(Wikianswer, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;7. The language was organized around a series of events. Each time an event happened (for example, mouse click, pulling down a menu), the program would respond.(Wikianswer, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;8. Waitable timer is a kernel object that is signaled at a certain time or at regular intervals. An asynchronous procedure call (APC) can be associated with a waitable timer to allow a callback function to be executed whenever the timer is signaled. The sample code in this article demonstrates how to do this.  (Microsoft, 2006)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;References&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. Wikianswer, 2009 " Thread Synchronisation"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;&lt;/span&gt;&lt;a href="http://wiki.answers.com/Q/What_is_Thread_Synchronization"&gt;&lt;span style="font-family:arial;"&gt;http://wiki.answers.com/Q/What_is_Thread_Synchronization&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;2. Wikianswer, 2009, " File-Locking"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www.answers.com/topic/file-locking"&gt;http://www.answers.com/topic/file-locking&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;3. Wikianswer, 2009, " Deadlock"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www.answers.com/topic/deadlock"&gt;http://www.answers.com/topic/deadlock&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;4. Wikianswer, 2009, "Semaphores"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www.answers.com/topic/semaphores"&gt;http://www.answers.com/topic/semaphores&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;5. Wikianswer, 2009, " Mutex"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www.answers.com/topic/mutex-technology"&gt;http://www.answers.com/topic/mutex-technology&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;6. Wikianswer, 2009, " Definition of Thread"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://wiki.answers.com/Q/What_is_the_definition_of_thread"&gt;http://wiki.answers.com/Q/What_is_the_definition_of_thread&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;7. Wikianswer, 2009." Event"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www.answers.com/program%20event"&gt;http://www.answers.com/program%20event&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;8. Microsoft, 2006," How To Use a Waitable Timer with an Asynchronous Procedure Call"&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://support.microsoft.com/kb/184796"&gt;http://support.microsoft.com/kb/184796&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&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/4645558078964269803-9110175204193801417?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/9110175204193801417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-17-concurrency-terms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/9110175204193801417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/9110175204193801417'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-17-concurrency-terms.html' title='Exercise 17: Concurrency Terms'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-4890737200201175887</id><published>2009-05-06T21:03:00.007+08:00</published><updated>2009-05-09T14:08:13.876+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 16: Authentication and Encryption Systems</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. E-bay is the e-commerce website that I look into. I found, it allows credit cards and paypal &lt;/span&gt;&lt;span style="font-family:arial;"&gt;for the payment, also it is a security website with secure service level (SSL) . Therefore, while doing the transaction, the information is secure and safe. I trust this site for business.&lt;/span&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/SgGVdueiUdI/AAAAAAAAAHo/Mb1oNI-9Bjw/s1600-h/ebay.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5332707771708232146" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 300px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/SgGVdueiUdI/AAAAAAAAAHo/Mb1oNI-9Bjw/s400/ebay.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;2. VeriSign, Inc. is the trusted provider of Internet infrastructure services for the networked world. Billions of times each day, it provides SSL, identity and authentication, and domain name services allow companies and consumers all over the world to engage in trusted communications and commerce. It offers solution on SSL certificates, identity and authenication services, domain name services, code signing, internet defense network and enterprise security and communication services for e-commerce. (VeriSign, 2009).&lt;/div&gt;&lt;div align="justify"&gt;3. Services and solutions are offered by trusted web site &lt;&lt;a href="http://www.trust-e.co.uk/"&gt;http://www.trust-e.co.uk/&lt;/a&gt;&gt;.&lt;/div&gt;&lt;div align="justify"&gt;Central control &amp;amp; reporting, Pupil &amp;amp; product tracking, Online payments, Multi purse technology,Bio wedge legacy interface, Cash transactions &amp;amp; receipts, Revaluation @ epos, Biometric, pin &amp;amp; card.&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;References:&lt;/div&gt;&lt;div align="justify"&gt;1. VeriSign, 2009 "Product and Services"&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://www.verisign.com/products-services/index.html"&gt;http://www.verisign.com/products-services/index.html&lt;/a&gt;&gt;&lt;/div&gt;&lt;p align="justify"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-4890737200201175887?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/4890737200201175887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-16-authentication-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/4890737200201175887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/4890737200201175887'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/05/exercise-16-authentication-and.html' title='Exercise 16: Authentication and Encryption Systems'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_8600fW6wqpk/SgGVdueiUdI/AAAAAAAAAHo/Mb1oNI-9Bjw/s72-c/ebay.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-5305293717540473593</id><published>2009-04-29T15:19:00.004+08:00</published><updated>2009-05-06T20:46:21.345+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 15: Protecting and Archiving Data</title><content type='html'>&lt;span style="font-family:arial;"&gt;1. A firewall is a part of a computer system or network that is designed to block unauthorized access while permitting outward communication. (Wikipedia, 2009). It is worth to invest the firewall since it guarantee that orgainisation's internal network is free from unauthorized break in. &lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;a. Cisco provides hardware firewall supply, &lt;&lt;a href="http://www.cisco.com/"&gt;http://www.cisco.com/&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;b. Checkpoint provides software and hardware firewall supply, &lt;&lt;a href="http://www.checkpoint.com/"&gt;http://www.checkpoint.com/&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;2. My bank has a backup policy and it is enforced by the Hong Kong Monetary Authority. All the critical data would be backup and placed at the off site.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;3. When search on google.com with the " virus writing kit" , there are 6,470,000 web sites are match, therefore, we can tell how easy to look for a tool and create a new virus&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/SgGFRat56eI/AAAAAAAAAHQ/UOwEDjlHDE4/s1600-h/virus+result.JPG"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/SgGGU7jrDvI/AAAAAAAAAHg/7kopfM-mCXA/s1600-h/virus+result.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5332691127926198002" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 113px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/SgGGU7jrDvI/AAAAAAAAAHg/7kopfM-mCXA/s320/virus+result.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;References:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;Wikipedia, 2009, ' Firewall'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://en.wikipedia.org/wiki/Firewall"&gt;http://en.wikipedia.org/wiki/Firewall&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&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/4645558078964269803-5305293717540473593?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/5305293717540473593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/04/exercise-15-protecting-and-archiving.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/5305293717540473593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/5305293717540473593'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/04/exercise-15-protecting-and-archiving.html' title='Exercise 15: Protecting and Archiving Data'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8600fW6wqpk/SgGGU7jrDvI/AAAAAAAAAHg/7kopfM-mCXA/s72-c/virus+result.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-1588277159217568860</id><published>2009-04-29T10:27:00.003+08:00</published><updated>2009-04-29T15:19:42.260+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 14: Electronic Payments and Security II</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. Cookies are data files with small pieces of text which are stored under the users' computer by a web browser, they contain the user's settings, shopping cart contents, or other data used by websites. ( Wikipedia, 2009) . It support the security enhancement , due to it stores the name and password of the users, therefore, only that particular cookies can get into the security website, otherwise username and password are necessary to re-key in again.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2. Cookies can be a security risk because it contains user name and password in the text format, therefore, when it was connected to the internet, there would be a chance to expose this kind of information to the third party.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;References:&lt;br /&gt;1. Wikipedia, 2009, ' Http Cookies'&lt;br /&gt;&lt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/HTTP_cookie"&gt;&lt;span style="font-family:arial;"&gt;http://en.wikipedia.org/wiki/HTTP_cookie&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/div&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/4645558078964269803-1588277159217568860?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/1588277159217568860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/04/exercise-14-electronic-payments-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/1588277159217568860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/1588277159217568860'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/04/exercise-14-electronic-payments-and.html' title='Exercise 14: Electronic Payments and Security II'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-1664112867770321397</id><published>2009-04-29T09:53:00.005+08:00</published><updated>2009-04-29T10:27:21.466+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 13: Electronic Payments and Security</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. I used the Hong Kong Bank internet-banking very often. I found, the security level is pretty high, they have three levels of security input, firstly, you have to input your name, secondly, your owned password , thirdly the security code generated by token given by Hong Kong Bank. They used the SSL technology for encryptions.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2. Secure Electronic Transactions (SET) is an open protocol which has the potential to emerge as a dominant force in the securing of electronic transactions. Jointly developed by Visa and MasterCard, in conjunction with leading computer vendors such as IBM, SET is an open standard for protecting the privacy, and ensuring the authenticity, of electronic transactions (IBM 1998). SET is comparatively secure common with SSL , since SET needs to have the additional software be installed and informed an other third party , however, SSL just only cater directly with customers and merchants only.SET is not common in the market, since the cost and additional software and configuration had to implemented. (Wikipedia, 2009)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;References:&lt;br /&gt;Wikipedia, 2009, ' Secure Socket Layer'&lt;br /&gt;&lt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Secure_socket_layer"&gt;&lt;span style="font-family:arial;"&gt;http://en.wikipedia.org/wiki/Secure_socket_layer&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/div&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/4645558078964269803-1664112867770321397?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/1664112867770321397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/04/exercise-13-electronic-payments-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/1664112867770321397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/1664112867770321397'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/04/exercise-13-electronic-payments-and.html' title='Exercise 13: Electronic Payments and Security'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-7383014635906378686</id><published>2009-04-25T15:16:00.006+08:00</published><updated>2009-04-29T09:53:12.810+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 12: Designing for a Secure Framework</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. Secure Electronic Transactions (SET) is an open protocol which has the potential to emerge as a dominant force in the securing of electronic transactions. Jointly developed by Visa and MasterCard, in conjunction with leading computer vendors such as IBM, SET is an open standard for protecting the privacy, and ensuring the authenticity, of electronic transactions (IBM 1998). &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;RSA 128-bit encryption as a standard feature to ensure that data stays secure. RSA encryption is the industry standard for use in securing applications, and RSA 128-bit encryption is widely considered unbreakable, therefore, when it applies to the e-commerce, it secures the credit card encryption while works over the transactions through the internet.(Information Management Online, 2005)&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:Arial;"&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;2. Network-based intrusion detection systems use raw network packets as the data source. A&lt;br /&gt;network-based IDS typically utilizes a network adapter running in promiscuous mode to monitor&lt;br /&gt;and analyze all traffic in real-time as it travels across the network. Its attack recognition module&lt;br /&gt;uses four common techniques to recognize an attack signature:&lt;br /&gt;· Pattern, expression or bytecode matching,&lt;br /&gt;· Frequency or threshold crossing&lt;br /&gt;· Correlation of lesser events&lt;br /&gt;· Statistical anomaly detection&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;Host-based intrusion detection started in the early 1980s before networks were as prevalent,&lt;br /&gt;complex and interconnected as they are today. In this simpler environment, it was common&lt;br /&gt;practice to review audit logs for suspicious activity. Intrusions were sufficiently rare that after the fact analysis proved adequate to prevent future attacks (ISS, 1998)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;3. The act of sending an e-mail to a user falsely claiming to be an established legitimate enterprise in an attempt to scam the user into surrendering private information that will be used for identity theft. The e-mail directs the user to visit a Web site where they are asked to update personal information, such as passwords and credit card, social security, and bank account numbers, that the legitimate organization already has. The Web site, however, is bogus and set up only to steal the user’s information. (Webopedia, 2008)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;References&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;1. Information Management Online, 2005 , ' Increases Security by Providing RSA 128-bits Encryption as Standard Platform Security Level'&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&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;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;2. ISS, 1998, ' Network-base vs Host-based Intrusion'&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://documents.iss.net/whitepapers/nvh_ids.pdf"&gt;http://documents.iss.net/whitepapers/nvh_ids.pdf&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;3. Webopedia, 2008 ' Phishing'&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www.webopedia.com/TERM/p/phishing.html"&gt;http://www.webopedia.com/TERM/p/phishing.html&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&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/4645558078964269803-7383014635906378686?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/7383014635906378686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/04/exercise-12-designing-for-secure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7383014635906378686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7383014635906378686'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/04/exercise-12-designing-for-secure.html' title='Exercise 12: Designing for a Secure Framework'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-8293307834025825506</id><published>2009-04-12T21:49:00.007+08:00</published><updated>2009-04-13T13:12:39.522+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop'/><title type='text'>Workshop 4- Riding the Rails with Ruby</title><content type='html'>&lt;span style="font-family:arial;"&gt;1. I found the 46 ruby coding examples are useful and interesting, it shows from easy to hard and give the ways to show how the ruby coding syntax, a very good website for learning ruby programs.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2. The difference between Javascript and Ruby (Githud, 2008)&lt;/span&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:arial;"&gt;Ruby:&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;def create &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;@milestone = Milestone.new @params['milestone'] &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;@milestone.creator = @person &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;@milestone.domain = @person.domain &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;if milestone.save &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;flash['notice'] = 'Milestone ' + @milestone.name + ' is created.'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;redirect_to_action 'show', :id =&gt; @milestone.id &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;else &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;render_action 'new' &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;end &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:arial;"&gt;Javascript:&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;this.create = function(req, res) { &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;with (res) { &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;res.milestone = Milestone.newInstance(req['milestone']); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;milestone.creator_id = person.id; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;milestone.domain_id = person.domain_id; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;if (milestone.save()) { &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;flash['notice'] = 'Milestone ' + milestone.name + ' is created.';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;redirectToAction('show', milestone.id); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;} else &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;renderAction('newInstance'); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;} &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;-Ruby use elsif and else whereas , javascript use elseif and else&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;- Javascript use open bracket for conditions () and {} whereas Ruby didn't use that&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Challenge Problem&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;1. Compare the three dogs name in alphabetical order &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;Source&lt;/span&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/SeK6XcGExgI/AAAAAAAAAGo/YJxmArMT-qo/s1600-h/dogso.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5324022621346776578" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 337px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/SeK6XcGExgI/AAAAAAAAAGo/YJxmArMT-qo/s400/dogso.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;Result &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/SeK6rNnH-gI/AAAAAAAAAG4/28KbaBCdAnA/s1600-h/dog.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5324022961056250370" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 198px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/SeK6rNnH-gI/AAAAAAAAAG4/28KbaBCdAnA/s400/dog.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2. FizzBuzz Source&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/SeLEu8F9IJI/AAAAAAAAAHA/hBLvDI5n-rY/s1600-h/fizzs.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5324034020189479058" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 240px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/SeLEu8F9IJI/AAAAAAAAAHA/hBLvDI5n-rY/s400/fizzs.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family:arial;"&gt;FizzBuzz Result&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/SeLE2BLLk5I/AAAAAAAAAHI/6gMHS5RjxeU/s1600-h/fizzres.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5324034141812659090" style="WIDTH: 348px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/SeLE2BLLk5I/AAAAAAAAAHI/6gMHS5RjxeU/s400/fizzres.JPG" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;3. Compare the program code between Ruby and Python - dog years calculator&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;- Python is using the function method to work on the coding, and this function can call by the program itself&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;- Syntax is not the same between Ruby and Python, in fact, they peform the same task, for instances,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;a. put for Ruby and print for Python&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;b. Elsif for Ruby and elif for Python&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;c. bracket for conditions under Python and not for Ruby&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;References:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;Githud, 2008, 'New and Edit Miliestone'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://github.com/mtkd/gitlab/commit/2cf27df1ed39c1f8644bb436f363e9aa794b7f6a"&gt;http://github.com/mtkd/gitlab/commit/2cf27df1ed39c1f8644bb436f363e9aa794b7f6a&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&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/4645558078964269803-8293307834025825506?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/8293307834025825506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/04/workshop-4-riding-rails-with-ruby.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/8293307834025825506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/8293307834025825506'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/04/workshop-4-riding-rails-with-ruby.html' title='Workshop 4- Riding the Rails with Ruby'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8600fW6wqpk/SeK6XcGExgI/AAAAAAAAAGo/YJxmArMT-qo/s72-c/dogso.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-6035179826515853794</id><published>2009-04-12T12:31:00.008+08:00</published><updated>2009-04-13T12:11:04.322+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop'/><title type='text'>Workshop 3 Online Taxi Booking System</title><content type='html'>&lt;span style="font-family:arial;"&gt;To Do:&lt;br /&gt;1. Setup the MySQL Tools&lt;br /&gt;a: MySQL Query Browser with the inserted records and result&lt;br /&gt;&lt;/span&gt;&lt;a href="http://3.bp.blogspot.com/_8600fW6wqpk/SeGmHfj2UCI/AAAAAAAAAF4/jnGLttlqj4c/s1600-h/browser.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323718882189791266" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 354px" alt="" src="http://3.bp.blogspot.com/_8600fW6wqpk/SeGmHfj2UCI/AAAAAAAAAF4/jnGLttlqj4c/s400/browser.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;b. MySQL Administrator Tool with table properties added&lt;br /&gt;&lt;/span&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/SeGl_D3h2AI/AAAAAAAAAFw/-bnXELg54G0/s1600-h/sql3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323718737317189634" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 327px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/SeGl_D3h2AI/AAAAAAAAAFw/-bnXELg54G0/s400/sql3.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;c. MySQL Administrator creatd the database: itc and table : passsengers&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/SeGl4ybfUWI/AAAAAAAAAFo/gHrOkcRne3g/s1600-h/sql2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323718629556965730" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 302px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/SeGl4ybfUWI/AAAAAAAAAFo/gHrOkcRne3g/s400/sql2.JPG" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;2. Setup the new project called Taxi and created with the startup server Taxiserver&lt;/span&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/SeHa6myiFkI/AAAAAAAAAGA/QBEdDoapnoA/s1600-h/project.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323776934908401218" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 373px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/SeHa6myiFkI/AAAAAAAAAGA/QBEdDoapnoA/s400/project.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;3. The Taxi Server is started , &lt;/span&gt;&lt;a href="http://localhost:3000/"&gt;&lt;span style="font-family:arial;"&gt;http://localhost:3000&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_8600fW6wqpk/SeHbyKa3C2I/AAAAAAAAAGI/wN98HBXYmwg/s1600-h/localhost.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323777889365592930" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 300px" alt="" src="http://3.bp.blogspot.com/_8600fW6wqpk/SeHbyKa3C2I/AAAAAAAAAGI/wN98HBXYmwg/s400/localhost.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3b. Database.yml &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;# MySQL version # gem install mysql -ruby (not necessary on OS X Leopard)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;development: &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;adapter: mysql &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;database: itc &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;username: root &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;password: 123456 &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;host: localhost&lt;br /&gt;# Warning: The database defined as "test" will be erased and# re-generated from your development database when you run "rake".# Do not set this db to the same as development or production.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;test: &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;adapter: mysql &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;database: itc &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;username: root &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;password: 123456 &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;host: localhost&lt;br /&gt;production: &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;adapter: mysql &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;database: itc &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;username: root &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;password: 123456 &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;host: localhost&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/SeHb5gXsKoI/AAAAAAAAAGQ/5CoDq9vc54M/s1600-h/datayml.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323778015516961410" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 300px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/SeHb5gXsKoI/AAAAAAAAAGQ/5CoDq9vc54M/s400/datayml.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;4.a. Generate the Passengers model and create the database table&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;- Firstly, the passengers must be created under the model by the generator&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;- Secondly, amend the 20090412090902_create_passengers.rb which is created by the generator under the db migrate folder&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;- Thirdly, add the table fields like t.column : name, :string into the file , show under the screenshot&lt;br /&gt;&lt;/span&gt;&lt;a href="http://3.bp.blogspot.com/_8600fW6wqpk/SeHhUFqHw5I/AAAAAAAAAGY/7CxOLjT9frI/s1600-h/createtable.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323783969761117074" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 300px" alt="" src="http://3.bp.blogspot.com/_8600fW6wqpk/SeHhUFqHw5I/AAAAAAAAAGY/7CxOLjT9frI/s400/createtable.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;4.b. Rake tasks and select db:migrate, then all the table fields will be created under the passengers.&lt;br /&gt;&lt;/span&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/SeHhcJVIQ6I/AAAAAAAAAGg/5SHbyjIUxaM/s1600-h/dbmigrate.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323784108185764770" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 300px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/SeHhcJVIQ6I/AAAAAAAAAGg/5SHbyjIUxaM/s400/dbmigrate.JPG" border="0" /&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 class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-6035179826515853794?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/6035179826515853794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/04/workshop-3-online-taxi-booking-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/6035179826515853794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/6035179826515853794'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/04/workshop-3-online-taxi-booking-system.html' title='Workshop 3 Online Taxi Booking System'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8600fW6wqpk/SeGmHfj2UCI/AAAAAAAAAF4/jnGLttlqj4c/s72-c/browser.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-8597571435348623463</id><published>2009-04-12T10:46:00.008+08:00</published><updated>2009-04-12T12:22:22.146+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop'/><title type='text'>Workshop 2- Model View Controller design approach</title><content type='html'>&lt;div align="justify"&gt;To Do:&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1. Join one of the classmates , Dennis focus group to take parts in the discussion.&lt;br /&gt;2. A web application framework is a software framework that is made to support the development of dynamic websites, web application and web services ( Wikipedia, 2009). Ruby on Rails provides beautiful code by convention over configuration and it has taken the programming world by storm by its MVC approach to application developement. Also, it provides a micro-framework weighing 4kb, therefore, it keeps things simple and minimal dependencies ( Mindtree, 2008)&lt;br /&gt;3.a.The "topic does not exist yet " under the web page&lt;br /&gt;3.b. MVC is firstly developed by Trygve Reenskaug in year 1979. As Model View Controller has their own responsibility, for instance, stores the data and application logic for the interface . View is used to renders the interface (usually to the screen) . Model is Responds to user input by modifying the model .&lt;br /&gt;4. UC Berkeley RAD lab’s Ruby on Rails Short course is an interesting presentation.&lt;br /&gt;5. The article is concerning the approach and the responsibility of the MVC&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;p align="justify"&gt;&lt;span style="font-family:arial;"&gt;Challenge Problem:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1. The controller is used to maitain the index, new, edit , create, and delete. It can be created by generating under the RadRails&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/SeFqEv_cuuI/AAAAAAAAAFY/un2SCeKWtIU/s1600-h/controller1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323652864363248354" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 300px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/SeFqEv_cuuI/AAAAAAAAAFY/un2SCeKWtIU/s400/controller1.JPG" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2. View is used to handle the view of new, index, show and edit.erb and the extention can change to rhtml in order for Rails to read on them.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/SeFqU-VOTQI/AAAAAAAAAFg/uQpnfmE6RHc/s1600-h/view.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323653143090580738" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 300px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/SeFqU-VOTQI/AAAAAAAAAFg/uQpnfmE6RHc/s400/view.JPG" border="0" /&gt;&lt;/a&gt;&lt;/span&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/4645558078964269803-8597571435348623463?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/8597571435348623463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/04/workshop-2-model-view-controller-design.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/8597571435348623463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/8597571435348623463'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/04/workshop-2-model-view-controller-design.html' title='Workshop 2- Model View Controller design approach'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8600fW6wqpk/SeFqEv_cuuI/AAAAAAAAAFY/un2SCeKWtIU/s72-c/controller1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-2856292325785829124</id><published>2009-04-08T21:10:00.017+08:00</published><updated>2009-04-12T12:25:18.039+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workshop'/><title type='text'>Workshop 1 - Setting up the model railway</title><content type='html'>Project : Create two tables , one is passenger_orgin and passenger_destination&lt;br /&gt;a. Table of Passenger_destination&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/SeFm515DRAI/AAAAAAAAAFQ/mBPvFpMLs6U/s1600-h/destination.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323649378433582082" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 198px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/SeFm515DRAI/AAAAAAAAAFQ/mBPvFpMLs6U/s400/destination.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;b. Table of Passenger_orgin&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/SeFmwizo5jI/AAAAAAAAAFI/SwUBPLEAiIo/s1600-h/passenger_orgin.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323649218691786290" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 198px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/SeFmwizo5jI/AAAAAAAAAFI/SwUBPLEAiIo/s400/passenger_orgin.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;To Do:&lt;br /&gt;1. From the “Learning Rails” podcasts, I just chose the topics which were aroused my interests only :-)&lt;br /&gt;2. Ruby on Rails is installed in my notebook&lt;br /&gt;&lt;/span&gt;&lt;a href="http://3.bp.blogspot.com/_8600fW6wqpk/SdypaQlHkdI/AAAAAAAAAE4/JBo_BPDlEBw/s1600-h/ror.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5322315128237429202" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 263px" alt="" src="http://3.bp.blogspot.com/_8600fW6wqpk/SdypaQlHkdI/AAAAAAAAAE4/JBo_BPDlEBw/s400/ror.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3. Yes, Instant Rails is using, therefore, save the time on configuration. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;div align="justify"&gt;&lt;br /&gt;Challenge Problem&lt;br /&gt;1. I did not do much programming over my career path even, when I was in school. Therefore, the programming languages i know just only a few:&lt;br /&gt;a. javascript&lt;br /&gt;b. java&lt;br /&gt;c. html&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:arial;"&gt;A web application framework is a software framework that is made to support the development of dynamic websites, web application and web services ( Wikipedia, 2009). Ruby on Rails provides beautiful code by convention over configuration and it has taken the programming world by storm by its MVC approach to application developement. Also, it provides a micro-framework weighing 4kb, therefore, it keeps things simple and minimal dependencies ( Mindtree, 2008)&lt;/span&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2. Interpreted language is a programming language in the forms of an interpreter. Any language may be compiled or interpreted, therefore, this designation is purely implemented and not underlying in the property of a language (Wikipedia, 2009)."Ruby is the interpreted scripting language for quick and easy object-oriented programming because it has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, extensible, and portable".(Nixbit, 2006)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;3. Rails is the killer application that leverages various characteristics of Ruby language-meta-programming, closure, etc. (Shin, 2009)&lt;br /&gt;4. Rails has sensible defaults for every aspect of a web application. Following the conventions, you can write a Rails application, using less code than most other web application frameworks. If you need to override the conventions, it's also easy with Rails. Taking advantage of the built-in defaults of the Rails framework has a wide range of advantages over making up your own. One of the biggest is that it makes it easier for other programmers to understand your code. (Wiki, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;An example of convention over configuration:def generate_pi(decimals = 10)&lt;br /&gt;# compute pi&lt;br /&gt;end&lt;br /&gt;compute_pi() =&gt; 3.14...&lt;br /&gt;compute_pi(2) =&gt; 3.1&lt;br /&gt;The convention is that you compute pi upto 10 decimals. This will be enough for most uses, but you can override it if you want.Such small-scale convention over configuration is also valuable in existing projects. (Jacobs, 2006)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;5.MVC was invented at Xerox Parc in the 70's, apparently by TrygveReenskaug. The first public appearance was in Smalltalk-80. For a long time there was virtually no public information about MVC, even in Smalltalk-80 documentation. The first significant paper published on MVC was "A Cookbook for Using the Model-View-Controller User Interface Paradigm in Smalltalk -80", by Glenn Krasner and Stephen Pope, published in the August/September 1988 issue of the JournalOfObjectOrientedProgramming (JOOP). MVC is the seminal insight of the whole field of graphical user interfaces. MVC work was the first to describe and implement software constructs in terms of their responsibilities.MVC was the first significant use of protocols to define components instead of using concrete implementations -- each controller class had a certain set of messages it had to respond to, as did each view class, but otherwise there were no constraints on what they did and how they did it. (Stafford, 2004)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/Sd9rc97f8yI/AAAAAAAAAFA/oAPuL9J-YGk/s1600-h/mvc.JPG"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;6. MVC Approach (Stanchfield, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/Sd9rc97f8yI/AAAAAAAAAFA/oAPuL9J-YGk/s1600-h/mvc.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323091429979845410" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 385px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/Sd9rc97f8yI/AAAAAAAAAFA/oAPuL9J-YGk/s400/mvc.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;- Updating the GUI requires only changing GUI code. The stable business logic is not touched. &lt;/div&gt;&lt;div align="justify"&gt;- Updating network architectures, perhaps changing from a two-tier to a three-tier database architecture requires modifying only part of the model. The stable GUI is not touched. &lt;/div&gt;&lt;div align="justify"&gt;- Creating a limited feature demo might merely be a matter of subclassing the model to block access to some features. Again, no change to the GUI.&lt;br /&gt;- Adding a new way to examine data is simply a matter of adding a new view. Often no change to the model is necessary, nor is it necessary to change other views! &lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;References: &lt;/div&gt;&lt;div align="justify"&gt;1. Wikipedia, 2009. ' Web Application Framework'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://en.wikipedia.org/wiki/Web_application_framework"&gt;http://en.wikipedia.org/wiki/Web_application_framework&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;2. Mindtree, 2008,'Most Popular Web Application Framework'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://www.hurricanesoftwares.com/most-popular-web-application-frameworks/"&gt;http://www.hurricanesoftwares.com/most-popular-web-application-frameworks/&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;3. Wikipedia, 2009, ' Interpreted Language'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://en.wikipedia.org/wiki/Interpreted_language"&gt;http://en.wikipedia.org/wiki/Interpreted_language&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;4. Nixbit, 2006, ' Ruby 1.8.5-p2'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://nixbit.com/cat/programming/interpreters/ruby/"&gt;http://nixbit.com/cat/programming/interpreters/ruby/&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;5. Shin, 2009, ' Empower You'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://developers.sun.com/events/techdays/presentations/locations-2008/saopaulo/java_socialcomputing/td_br_rubyrails_shin.pdf"&gt;http://developers.sun.com/events/techdays/presentations/locations-2008/saopaulo/java_socialcomputing/td_br_rubyrails_shin.pdf&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;6. Wiki, 2009, ' Rails Wiki'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://wiki.rubyonrails.org/getting-started/overview/tenets"&gt;http://wiki.rubyonrails.org/getting-started/overview/tenets&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;7. Stafford, 2004, ' Model View Controller History'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://c2.com/cgi/wiki?ModelViewControllerHistory"&gt;http://c2.com/cgi/wiki?ModelViewControllerHistory&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;8. Stanchfield, 2009 'Why MVC is So Important'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://www.javadude.com/articles/vaddmvc1/mvc1.htm"&gt;http://www.javadude.com/articles/vaddmvc1/mvc1.htm&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&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/4645558078964269803-2856292325785829124?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/2856292325785829124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/04/workshop-1-setting-up-model-railway.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/2856292325785829124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/2856292325785829124'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/04/workshop-1-setting-up-model-railway.html' title='Workshop 1 - Setting up the model railway'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8600fW6wqpk/SeFm515DRAI/AAAAAAAAAFQ/mBPvFpMLs6U/s72-c/destination.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-4737637448258566347</id><published>2009-04-01T20:15:00.002+08:00</published><updated>2009-04-01T20:54:44.057+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 11: XML Introduction</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. The one essential tool for reading and modifying XML is a “parser”. The term “parser” and “processor” are interchangeably, although technically this is not correct. Any program that takes an XML file as its input and produces some output based on the XML files content is an XML processor. An XML browser is an example of processor, as are programs that create typesetting codes, synthesized speech or HTML pages based on XML document. A parser is software that performs the first step in processing an XML document. Seldomly, if ever, will an XML parsers operate on it’s own. Rather, a parser is almost always used as part of an XML processor. The most basic task of a parser is checking the XML document for well-formed data, making sure the documents content follows the rules of XML syntax. All parsers perform this task, if the syntax is incorrect the parser will detect it. Most parsers can also check a document for validity by checking against DTD or Schema. While not all documents require validation, many do. (Gokul, 2003)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2. W3C XML Schema which supports the transfer of benefits enrollment data between organizations. This schema is part of the XML Consortium effort to define an XML vocabulary to support business transactions. XML provides many benefits to adopters. The richness, flexibility and accessibility of the XML standard have made for early and enthusiastic adoption by many IT functions. As a result, there are a large number of tools available to help reduce the development effort associated with producing or processing data transmitted in XML. This reduces barriers to adoption of the standard for organizations of any size.(HR-XML, 2001)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;3.Synchronized Multimedia Integration Language(SMIL) fulfills the needs of integration,synchronization, and efficient online delivery of differentmedia types such as text, music, speech, image, and video. It is a multimedia elements in a synchronized manner under a unified feature space. An efficient SMIL retrieval scheme based on textual feature and content feature is proposed. SMIL is suitable for real-time multimedia information delivery over networks,especially for limited bandwidth connections. As an example, the Multimedia Messaging Service (MMS) of mobile technology uses SMIL to represent messages. (IEEE, 2004)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;References:&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;1. Gokul, 2003, 'My First XML Document'&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www.devshed.com/c/a/XML/My-First-XML-Document/2/"&gt;http://www.devshed.com/c/a/XML/My-First-XML-Document/2/&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;2. HR-XML, 2001' 'Benefit Enrollment'&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://xml.coverpages.org/HR-XML-Benefits-Enrollment-1_0.pdf"&gt;http://xml.coverpages.org/HR-XML-Benefits-Enrollment-1_0.pdf&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;3. IEEE, 2004,'Content-Based SMIL Retrieval'&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www4.comp.polyu.edu.hk/~csdct/Publications/2004/ICIG.pdf"&gt;http://www4.comp.polyu.edu.hk/~csdct/Publications/2004/ICIG.pdf&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-4737637448258566347?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/4737637448258566347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/04/exercise-11-xml-introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/4737637448258566347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/4737637448258566347'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/04/exercise-11-xml-introduction.html' title='Exercise 11: XML Introduction'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-557519967722524782</id><published>2009-03-28T23:22:00.011+08:00</published><updated>2009-04-01T20:14:07.491+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercises 10: Application Server Platform in E-Commerce</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;color:#000000;"&gt;1. IBM has provide an IBM WebSphere Commerce Suite, Version 5.1. It is a complete e-commerce solution for e-business. This product is using DB2 or Oracles as their database, therefore, they are with Oracles as a business partner. IBM Websphere Commerce Suite can offer:(IBM, 2000) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;color:#000000;"&gt;- an online store&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;- conduct business to business or business(B2B) to consumer transactions(B2C)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;- mobile commerce&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Comparsion between DB2 and MySQL (IBM, 2006)&lt;br /&gt;&lt;/span&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/Sc9r1kEo5CI/AAAAAAAAAEg/HtPKCqlThDs/s1600-h/db2sql.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318588252908217378" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 308px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/Sc9r1kEo5CI/AAAAAAAAAEg/HtPKCqlThDs/s400/db2sql.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Oracle has provide an Oracle iStore for E-commerce solution. This product is using Oracle as a database. It offers the features and benefits:&lt;/span&gt; (Oracle, 2009)&lt;br /&gt;&lt;span style="font-family:arial;"&gt;- It builds, manage and personalize powerful, global and scalable internet storefronts.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;- Istore supports both business to buisness (B2B) and business to customer (B2C) selling models&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;- Lower the cost of sales and improve services with an online commerical presence.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Compare betweem Oracle and MySQL(Petri, n.d.)&lt;/span&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/Sc9weOZvX3I/AAAAAAAAAEo/wm9w83BCEZw/s1600-h/oracle.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318593349512290162" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 279px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/Sc9weOZvX3I/AAAAAAAAAEo/wm9w83BCEZw/s400/oracle.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;Microsoft provides e-commerce solution by their own products like the e-commerce manager, frontpage and also with their asp. Therefore, users can tailor made their e-commerce solution by the tools from Microsoft, and the database can be chose by their own, for instances, Access Database, SQL, or even though Oracle as well.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;Compare between Microsoft SQL and MySQL (Tometa, 2004)&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/SdI0y51mA7I/AAAAAAAAAEw/1vrNfFdNq2A/s1600-h/msqyvssql.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5319372159001691058" style="WIDTH: 274px; CURSOR: hand; HEIGHT: 400px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/SdI0y51mA7I/AAAAAAAAAEw/1vrNfFdNq2A/s400/msqyvssql.JPG" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;Sybase provides e-commerce solution with their famous application power building. They provide a flexible and easier ways to build up an e-server and online business with sybase datbase. Comparison between Sybase and MySQL in a white paper provided by Sybase Official Website.(Sybase, 2002) &lt;&lt;/span&gt;&lt;a href="http://www.sybase.com/content/1045499/Sybase_ASE_MySQL-102406-wp.pdf"&gt;&lt;span style="font-family:arial;"&gt;http://www.sybase.com/content/1045499/Sybase_ASE_MySQL-102406-wp.pdf&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2&lt;/span&gt;&lt;span style="font-family:arial;"&gt;.Perception is "the process of attaining awareness or understanding of sensory information, and the word come from the Latin words perception, percepio, meaning "receiving, collecting, action of taking possession, apprehension with the mind or senses."" (Wilkipedia, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;It is gettting stronger because due to this perceptual concepts could develop so many personal ad portal entertainment digital products like mp3. &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;Ajax is stand for Asynchronous Javascript and XML and it includes with html, css, dom, xml, xslt,xmlhttprequest and javascript. Ajax provides the role of architecture with user participation, it interfaces are an important component of many Web2.0 applications, for instances, Google Microsoft, Yahoo amd etc.(Arlekar, 2006)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;3. Model-view-controller (MVC) is "an architectural pattern used in software engineering".(Wikipedia, 2009) In complex computer applications that present a large amount of data to the user, a developer often wishes to separate data (model) and user interface (view) concerns, so that changes to the user interface will not affect data handling, and that the data can be reorganized without changing the user interface. The model-view-controller solves this problem by decoupling data access and business logic from data presentation and user interaction, by introducing an intermediate component: the controller.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt; &lt;/div&gt;&lt;div align="justify"&gt;References:&lt;/div&gt;&lt;div align="justify"&gt;1. IBM, 2000, 'IBM WebSphere Commerce Suite, Version 5.1: The Complete e-commerce Solution for Your Business '&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&amp;amp;infotype=an&amp;amp;appname=iSource&amp;amp;supplier=897&amp;amp;letternum=ENUS200-415"&gt;http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&amp;amp;infotype=an&amp;amp;appname=iSource&amp;amp;supplier=897&amp;amp;letternum=ENUS200-415&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;2. IBM, 2006,'Leverage MySQL skills to learn DB2 Express, Part 3: DB2 versus MySQL graphical user interface'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://www.ibm.com/developerworks/data/library/techarticle/dm-0608tham/"&gt;http://www.ibm.com/developerworks/data/library/techarticle/dm-0608tham/&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;3. Oracle, 2009, 'Oracle iStore'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://www.oracle.com/applications/sales/istore.html"&gt;http://www.oracle.com/applications/sales/istore.html&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;4. Petri, n.d. ' A comparison of Oracle and MySQl'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://www.ioug.org/client_files/members/select_pdf/05q1/003_OracleMySQL.pdf"&gt;http://www.ioug.org/client_files/members/select_pdf/05q1/003_OracleMySQL.pdf&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;5.Tometa, 2004, 'MySQL vs SQL'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://www.tometasoftware.com/mysql_vs_sqlserver.asp"&gt;http://www.tometasoftware.com/mysql_vs_sqlserver.asp&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;6. Sybase, 2002,'PB-EA Server Solution Reference 1.6'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://www.sybase.com/content/1020479/SolutionsReferenceGuideV16.pdf"&gt;http://www.sybase.com/content/1020479/SolutionsReferenceGuideV16.pdf&lt;/a&gt;&gt; &lt;div align="justify"&gt;7. Arlekar, 2006,'The Role of AJAX in enhancing the user experience on the Web'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://www.roseindia.net/ajax/ajax-user-interface.shtml"&gt;http://www.roseindia.net/ajax/ajax-user-interface.shtml&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;8.Wikipedia, 2009,'Perception'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://en.wikipedia.org/wiki/Perception"&gt;http://en.wikipedia.org/wiki/Perception&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&gt;9.Wikipedia, 2009,'Model-View-Controller'&lt;/div&gt;&lt;div align="justify"&gt;&lt;&lt;a href="http://en.wikipedia.org/wiki/Model_view_controller"&gt;http://en.wikipedia.org/wiki/Model_view_controller&lt;/a&gt;&gt;&lt;/div&gt;&lt;div align="justify"&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/4645558078964269803-557519967722524782?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/557519967722524782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercises-10-application-server.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/557519967722524782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/557519967722524782'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercises-10-application-server.html' title='Exercises 10: Application Server Platform in E-Commerce'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_8600fW6wqpk/Sc9r1kEo5CI/AAAAAAAAAEg/HtPKCqlThDs/s72-c/db2sql.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-8135649373553839390</id><published>2009-03-28T16:48:00.008+08:00</published><updated>2009-03-28T22:57:43.031+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 9: Web Form Design and Processing: A Basis for E-Commerce Interaction</title><content type='html'>&lt;span style="font-family:arial;"&gt;1. Design the form&lt;/span&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/Sc42ufqbDXI/AAAAAAAAAEA/16LnPp92qzU/s1600-h/perfume.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318248382372449650" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 296px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/Sc42ufqbDXI/AAAAAAAAAEA/16LnPp92qzU/s320/perfume.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;2.Javascripts&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/Sc46FRByELI/AAAAAAAAAEY/Jtg9iKJaYbc/s1600-h/javascript2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318252072115769522" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 272px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/Sc46FRByELI/AAAAAAAAAEY/Jtg9iKJaYbc/s400/javascript2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;The javascript is seperate into Four parts&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;a. Users input the personal particular inside&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;b. Options to choose the purchasing products : French Perfume&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;c. Credit card validation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;d. Get and Submit&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;3. Yes, just modify the variables inside the scripts, like the options items, validation function &lt;/span&gt;&lt;span style="font-family:arial;"&gt;for credit cards, also the input names.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;References: &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;Javaworld, 1996, ' Using Javascript and Forms'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Arial;"&gt;&lt;&lt;a href="http://www.javaworld.com/jw-06-1996/javascript/javascript.old.html"&gt;http://www.javaworld.com/jw-06-1996/javascript/javascript.old.html&lt;/a&gt;&gt;&lt;/span&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/4645558078964269803-8135649373553839390?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/8135649373553839390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise-9-web-form-design-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/8135649373553839390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/8135649373553839390'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise-9-web-form-design-and.html' title='Exercise 9: Web Form Design and Processing: A Basis for E-Commerce Interaction'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_8600fW6wqpk/Sc42ufqbDXI/AAAAAAAAAEA/16LnPp92qzU/s72-c/perfume.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-4361414505677376691</id><published>2009-03-28T12:49:00.006+08:00</published><updated>2009-03-28T13:01:10.192+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 8: PHP and MYSQL Database Access</title><content type='html'>&lt;span style="font-family:arial;"&gt;1.a. Connect Database Test2&lt;/span&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/Sc2svjxMN9I/AAAAAAAAADQ/UbB7ARbdaWc/s1600-h/CONNECT+DATABASE.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318096668049815506" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 198px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/Sc2svjxMN9I/AAAAAAAAADQ/UbB7ARbdaWc/s400/CONNECT+DATABASE.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1.b. Create Table Employees&lt;/span&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/Sc2s3XH_yrI/AAAAAAAAADY/DrXg5zGbFQM/s1600-h/CREATE+TABLE.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318096802094762674" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 198px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/Sc2s3XH_yrI/AAAAAAAAADY/DrXg5zGbFQM/s400/CREATE+TABLE.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1.c. Insert Data and Display Result&lt;/span&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/Sc2tHj6UvWI/AAAAAAAAADg/3-GC6mMJOZM/s1600-h/RESULT.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5318097080404983138" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 198px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/Sc2tHj6UvWI/AAAAAAAAADg/3-GC6mMJOZM/s400/RESULT.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_8600fW6wqpk/Sc2smtrN5qI/AAAAAAAAADI/nnj492_PI3Q/s1600-h/connect.bmp"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&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/4645558078964269803-4361414505677376691?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/4361414505677376691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise-8-php-and-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/4361414505677376691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/4361414505677376691'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise-8-php-and-mysql.html' title='Exercise 8: PHP and MYSQL Database Access'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8600fW6wqpk/Sc2svjxMN9I/AAAAAAAAADQ/UbB7ARbdaWc/s72-c/CONNECT+DATABASE.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-2388714887028089969</id><published>2009-03-25T22:54:00.003+08:00</published><updated>2009-03-25T23:32:00.891+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 7: User Input for Database Access with PHP</title><content type='html'>&lt;div&gt;&lt;div&gt;1. HTML Page&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/ScpN7QmTu9I/AAAAAAAAACg/BLcTwmKeWy0/s1600-h/name1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5317147990527556562" style="WIDTH: 200px; CURSOR: hand; HEIGHT: 86px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/ScpN7QmTu9I/AAAAAAAAACg/BLcTwmKeWy0/s200/name1.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;2. Output Page&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/ScpOWOW3SiI/AAAAAAAAACo/9qDZzya9Cwo/s1600-h/submit.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5317148453782374946" style="WIDTH: 200px; CURSOR: hand; HEIGHT: 100px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/ScpOWOW3SiI/AAAAAAAAACo/9qDZzya9Cwo/s200/submit.JPG" border="0" /&gt;&lt;/a&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/4645558078964269803-2388714887028089969?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/2388714887028089969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise-7-user-input-for-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/2388714887028089969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/2388714887028089969'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise-7-user-input-for-database.html' title='Exercise 7: User Input for Database Access with PHP'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_8600fW6wqpk/ScpN7QmTu9I/AAAAAAAAACg/BLcTwmKeWy0/s72-c/name1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-7821181050436827215</id><published>2009-03-25T22:16:00.009+08:00</published><updated>2009-03-25T22:54:21.280+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 6: Some Server Practice with PHP</title><content type='html'>&lt;span style="font-family:arial;"&gt;1. Replacement on $Remote_Addr, $Server_Name, $PHP_SELF&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;I found in the study guide , the php scripts did not work on my windows XP, Appache2,2 with PHP 5.2 version. However, when I searched on net and it suggests, to put the syntax with a $_SERVER[variable] in the scripts then all the above pre-defined variables are working fine.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;a. $Remote_Addr&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/Sco_I3SdgII/AAAAAAAAACA/AnCMInJRAwk/s1600-h/ip.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5317131731577176194" style="WIDTH: 200px; CURSOR: hand; HEIGHT: 132px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/Sco_I3SdgII/AAAAAAAAACA/AnCMInJRAwk/s200/ip.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;b. $Server_Name&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_8600fW6wqpk/Sco_WuMTGHI/AAAAAAAAACI/hiK5IQ-KH4U/s1600-h/host.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5317131969653577842" style="WIDTH: 200px; CURSOR: hand; HEIGHT: 132px" alt="" src="http://2.bp.blogspot.com/_8600fW6wqpk/Sco_WuMTGHI/AAAAAAAAACI/hiK5IQ-KH4U/s200/host.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;c. $PHP_Self&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_8600fW6wqpk/Sco_m7OxyaI/AAAAAAAAACQ/upLWYtO__AU/s1600-h/title.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5317132248031545762" style="WIDTH: 200px; CURSOR: hand; HEIGHT: 116px" alt="" src="http://1.bp.blogspot.com/_8600fW6wqpk/Sco_m7OxyaI/AAAAAAAAACQ/upLWYtO__AU/s200/title.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Helloworld.php&lt;br /&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;a href="http://3.bp.blogspot.com/_8600fW6wqpk/ScpBhj3cXMI/AAAAAAAAACY/TGI9nk8xWes/s1600-h/helloworld.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5317134354883566786" style="WIDTH: 200px; CURSOR: hand; HEIGHT: 133px" alt="" src="http://3.bp.blogspot.com/_8600fW6wqpk/ScpBhj3cXMI/AAAAAAAAACY/TGI9nk8xWes/s200/helloworld.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/4645558078964269803-7821181050436827215?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/7821181050436827215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise-6-some-server-practice-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7821181050436827215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7821181050436827215'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise-6-some-server-practice-with.html' title='Exercise 6: Some Server Practice with PHP'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_8600fW6wqpk/Sco_I3SdgII/AAAAAAAAACA/AnCMInJRAwk/s72-c/ip.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-7377618188649958891</id><published>2009-03-22T21:45:00.009+08:00</published><updated>2009-03-28T23:21:05.103+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 5: Network and Programming Frameworks</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1&lt;/span&gt;&lt;span style="font-family:arial;"&gt;. A simple chat system allows multiple clients to exchange messages in an interactive ways. Users type the information in lines at one client and then the information would be appeared in the output windows of all the other clients connected to the same chat room. (Bressoud, 2006)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal  {mso-style-parent:"";  margin:0in;  margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:12.0pt;  font-family:"Times New Roman";  mso-fareast-font-family:"Times New Roman";} pre  {margin:0in;  margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:"Courier New";  mso-fareast-font-family:"Times New Roman";  color:black;} span.SpellE  {mso-style-name:"";  mso-spl-e:yes;} span.GramE  {mso-style-name:"";  mso-gram-e:yes;} @page Section1  {size:8.5in 11.0in;  margin:1.0in 1.25in 1.0in 1.25in;  mso-header-margin:.5in;  mso-footer-margin:.5in;  mso-paper-source:0;} div.Section1  {page:Section1;} --&gt;&lt;/span&gt; Program Code for multiple users (Wachsmut, 2006)&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;import java.net.*;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;import java.io.*&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;public class ChatServer implements Runnable&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;{  private ServerSocket server = null; private Thread  thread = null;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;privateChatServerThreadclient=null;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;public ChatServer(int port)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;{  try      &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;{  System.out.println("Binding to port " + port + ", please wait  ...");&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;server = new ServerSocket(port);&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;System.out.println("Server started: " + server);&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;start();      }&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;catch(IOException ioe)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;{  System.out.println(ioe);}}&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;public void run()&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;{  while (thread != null)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;{  try&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;{  System.out.println("Waiting for a client ...");&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;addThread(server.accept());}&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;catch(IOException ie)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;{  System.out.println("Acceptance Error: " + ie);} } }&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;public void addThread(Socket socket)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;{  System.out.println("Client accepted: " + socket);&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;client = new ChatServerThread(this, socket);&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;try&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;{  client.open();&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;client.start(); }&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;catch(IOException ioe)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;{  System.out.println("Error opening thread: " + ioe); }   }  &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;- When users initialized a request , a socket will be opened and accepted&lt;br /&gt;- Multiple users can join the chatserver with this recursive approach &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;span class="GramE"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;2&lt;/span&gt;&lt;span style="font-family:arial;"&gt;. Comparsion between peer-to-peer and grid (Termizel, 2006)&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;- Grids address the needs of scientific collabortions and commerce, however, P2P has been used mostly for file sharing. The communites are composed of anonymous individials&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;- Grid systems integrated resouces that are more powerful , diverse and better connected than P2P resources&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;- P2P systems deal with intermittent participation and highly variable behaviour compare with grid&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;- Grid applications are far more data intensive&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;- P2P communities is not larger than grid&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;- Grid technologies are standardized&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;3. Compare and contrast of Java and .Net (Wilipedia, 2009)&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;- Java platform is established in mid-1990 and .Net is established in year 2000&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;- Java can run in different operating systems like Unix, Linux , Mac OSX and Windows, however, .Net is mostly run under Windows&lt;br /&gt;- .Net is designed to allow many different programming languages to use its runtime and libraries, however, Java platform is not used for multiple languages unitl now.&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;- Java is cross-platform and .Net is cross-language&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;References: &lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;1. Bressoud, 2006, ' Two Client Instant Messaging System'&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;&lt;&lt;/span&gt;&lt;a href="http://personal.denison.edu/~bressoud/cs401-f06/Programs/chat.html"&gt;&lt;span style="font-family:arial;"&gt;http://personal.denison.edu/~bressoud/cs401-f06/Programs/chat.html&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;2.Wachsmut, 2006, 'Creating a Simple Chat Client/Server Solution'&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;&lt;&lt;/span&gt;&lt;a href="http://pirate.shu.edu/~wachsmut/Teaching/CSAS2214/Virtual/Lectures/chat-client-server.html"&gt;&lt;span style="font-family:arial;"&gt;http://pirate.shu.edu/~wachsmut/Teaching/CSAS2214/Virtual/Lectures/chat-client-server.html&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;3. Termizel, 2006, 'Peer - 2 - Peer Computing'&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;&lt;&lt;/span&gt;&lt;a href="http://www.computing.surrey.ac.uk/courses/csm23/Lectures/Lecture04s.ppt"&gt;&lt;span style="font-family:arial;"&gt;http://www.computing.surrey.ac.uk/courses/csm23/Lectures/Lecture04s.ppt&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;4.Wilipedia, 2009, ' Comparison of Java and .Net'&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;&lt;&lt;/span&gt;&lt;a href="http://en.citizendium.org/wiki/Comparison_of_Java_and_.NET"&gt;&lt;span style="font-family:arial;"&gt;http://en.citizendium.org/wiki/Comparison_of_Java_and_.NET&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:arial;"&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-7377618188649958891?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/7377618188649958891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise-5-network-and-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7377618188649958891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7377618188649958891'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise-5-network-and-programming.html' title='Exercise 5: Network and Programming Frameworks'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-3231720205076503088</id><published>2009-03-20T21:49:00.016+08:00</published><updated>2009-03-22T21:40:12.876+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 4: Virtual Private Network</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. Internet protocols are the world's most popular open-system protocol which was developed in the mid-1970s by the Defense Advance Research Projects Agency(DARPA). They can be used to faciliate the communication between interconnected networks and also for the Local Area Network and Wide Area Network communication. (Cisco, 2009)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://3.bp.blogspot.com/_8600fW6wqpk/ScOme-eaYVI/AAAAAAAAABY/eJpLw5UhUw8/s1600-h/ith2801.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5315275036324159826" style="WIDTH: 200px; CURSOR: hand; HEIGHT: 189px" alt="" src="http://3.bp.blogspot.com/_8600fW6wqpk/ScOme-eaYVI/AAAAAAAAABY/eJpLw5UhUw8/s200/ith2801.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Figure1 Internet protocols span the complete range of OSI model layers. (Cisco, 2009)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;Doman Name System, (DNS) is a system for converting hostname and domain into ip address on the internet or local network. It helps to translate domain names into meaningful for humans to identify the binary which is associated with networking equipment for the purpose to locate the world-wide addresses.(PCMag, 2009)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2. Transmission Control Protocol (TCP) is defined as a highly reliable host to host protocol between hosts in packet-switched computer communication networks, and also in the interconnected network systems. (Zapotoczky, 2002)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;In the TCP/IP protocol suite, there are two main transport protocols, they are transmission protocol(TCP and user datagram protocol(UDP). &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://3.bp.blogspot.com/_8600fW6wqpk/ScWwyTYCUbI/AAAAAAAAABw/lGPJWJZvm98/s1600-h/tcp.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5315849313421775282" style="WIDTH: 195px; CURSOR: hand; HEIGHT: 146px" alt="" src="http://3.bp.blogspot.com/_8600fW6wqpk/ScWwyTYCUbI/AAAAAAAAABw/lGPJWJZvm98/s200/tcp.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Role of TCP and UDP in TCP/IP refernce model ( Leung, 2005)&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;The relationship between the TCP and IP is IP takes care lower level transmissions from one computer to another as a message send across the internet, however, TCP works in a higher level concerned only with the two end systems.&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;p align="justify"&gt;&lt;span style="font-family:arial;"&gt;3. Intranet is a private network to use the security internet technologies approach for sharing the information among the employees in an organisation. Extranet is almost the same like intranet approach, however it uses public telecommunication system to serve for the organisation's supplier, vendors, partners and customers. Business to Business and Business to Consumer is the same "state of mind" to provide other companies and consumers for the information sharing. (Wikipedia, 2009)&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;A&lt;/span&gt;&lt;span style="font-family:arial;"&gt; Virtual Private Network (VPN) is a network that links between nodes and carried by open connection to for a larger network, authentication and encryptions are applied to the VPN to secure the network connection. (Wikipedia. 2009)&lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:arial;"&gt;There are some basic rules on building up e-business applications as an intranet, extranet, web portal, b2b, b2c and vpn. - A Web server connected directly or indirectly to your computer network. The e-business application will stay on this server.&lt;br /&gt;&lt;/span&gt;- &lt;span style="font-family:arial;"&gt;A high speedy, company wide computer network so all employees can access the intranet.&lt;br /&gt;&lt;/span&gt;- &lt;span style="font-family:arial;"&gt;Applications developed with Hypertext Markup Language, the software authoring language of the World Wide Web.&lt;br /&gt;&lt;/span&gt;- &lt;span style="font-family:arial;"&gt;Remote access so off-site employees can access the intranet and suppliers and partners can access the extranet.&lt;/span&gt;&lt;br /&gt;- &lt;/span&gt;&lt;span style="font-family:arial;"&gt;Security functions so only authorized users can access the e-business application. Examples: Business to Business (b2b) site : &lt;/span&gt;&lt;a href="http://www.easytrade.com/"&gt;&lt;span style="font-family:arial;"&gt;http://www.easytrade.com/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, Business to Customer (b2c) site : &lt;/span&gt;&lt;a href="http://www.b2csite.com/"&gt;&lt;span style="font-family:arial;"&gt;http://www.b2csite.com/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, &lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;span style="font-family:Arial;"&gt;4. &lt;/span&gt;&lt;span style="font-family:arial;"&gt;VPN allows companies to connect their partners to consume web services sercurely and easily. VPN automatically create a virtual service tunnels between partners, allow b2b applications to utilize partner services without worrying about the complication and cost of setting up a security application (SOA, 2009)&lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;span style="font-family:Arial;"&gt;References: &lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;1. SOA, 2009, 'New B2B Services Security Solution for .Net Drives Partners Communication Using .Net Web Services' &lt;&lt;/span&gt;&lt;a href="http://www.soa.com/index.php/news/press_detail/digital_evolution_introduces_industrys_first_xml_vpn_for_net/"&gt;&lt;span style="font-family:arial;"&gt;http://www.soa.com/index.php/news/press_detail/digital_evolution_introduces_industrys_first_xml_vpn_for_net/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt; 2. Cisco, 2009, ' Internet Protocol' &lt;/span&gt;&lt;a href="http://www.cisco.com/en/US/docs/internetworking/technology/handbook/Internet-Protocols.html"&gt;&lt;span style="font-family:arial;"&gt;http://www.cisco.com/en/US/docs/internetworking/technology/handbook/Internet-Protocols.html&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; &lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;3. PCMag, 2009,' DNS Definition' &lt;&lt;/span&gt;&lt;a href="http://www.pcmag.com/encyclopedia_term/0,2542,t=domain+name+server&amp;amp;i=41620,00.asp"&gt;&lt;span style="font-family:arial;"&gt;http://www.pcmag.com/encyclopedia_term/0,2542,t=domain+name+server&amp;amp;i=41620,00.asp&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;br /&gt;4. Zapotoczky, 2002, ' TCP Header' &lt;&lt;/span&gt;&lt;a href="http://www.comp.hkbu.edu.hk/~comp2650/lecture/notes/Chapter3.pdf"&gt;&lt;span style="font-family:arial;"&gt;http://www.comp.hkbu.edu.hk/~comp2650/lecture/notes/Chapter3.pdf&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;br /&gt;5. Wikipedia, 2009, 'Intranet' &lt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Intranet"&gt;&lt;span style="font-family:arial;"&gt;http://en.wikipedia.org/wiki/Intranet&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;br /&gt;6. Wikipedia, 2009, 'Extranet' &lt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Extranet"&gt;&lt;span style="font-family:arial;"&gt;http://en.wikipedia.org/wiki/Extranet&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;7. Wikipedia, 2009 ' Virtual Private Network' &lt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/VPN"&gt;&lt;span style="font-family:arial;"&gt;http://en.wikipedia.org/wiki/VPN'&lt;/span&gt;&lt;/a&gt;&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/4645558078964269803-3231720205076503088?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/3231720205076503088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise-4-virtual-private-network.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/3231720205076503088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/3231720205076503088'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise-4-virtual-private-network.html' title='Exercise 4: Virtual Private Network'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8600fW6wqpk/ScOme-eaYVI/AAAAAAAAABY/eJpLw5UhUw8/s72-c/ith2801.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-7728513611829105355</id><published>2009-03-17T23:32:00.007+08:00</published><updated>2009-03-20T22:38:25.919+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise3: Finding Some Common Ground</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;Rapid Evolutionary Prototyping Aproach is an approach to system development where an initial prototype is developed and refined through a number of stages to the final system.&lt;/span&gt; &lt;span style="font-family:arial;"&gt;(Sommerville, 2000)&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Evolutionary Prototying can be developed into different steps&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1. Develop abstract specification&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2. Build a prototype system&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3. Use prototype system&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;4. Validate system adequate&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;5. Deliver System&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;As developing the web application, the rapid evolutionary prototyping specification, design and implementation are inter-twined, the system is developed as a series of increments. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Agile deveopment is using the similar principles of rapid evolutionary prototying approach. It allows a rapid delivery with a high quality implentation. It also involved in a series of incremental stages for the development.&lt;/span&gt;&lt;span style="font-family:arial;"&gt; (Wikipedia, 2009)&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;p align="left"&gt;&lt;span style="font-family:arial;"&gt;References: &lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:arial;"&gt;1. Wikipedia, 2009, ' Agile Software Development' &lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Agile_software_development"&gt;&lt;span style="font-family:arial;"&gt;&lt;http:&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:arial;"&gt;2. Sommerville,I.,(2000), Software Engineering, 6th edition, Chapter8&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-7728513611829105355?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/7728513611829105355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/03/finding-some-common-ground.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7728513611829105355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/7728513611829105355'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/03/finding-some-common-ground.html' title='Exercise3: Finding Some Common Ground'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-6467792248973256356</id><published>2009-03-14T23:24:00.004+08:00</published><updated>2009-03-14T23:31:36.874+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Chit-Chat'/><title type='text'>Good Student</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;I found myself is a good student, i was doing my exercise progressively, however, when i looked &lt;/span&gt;&lt;span style="font-family:arial;"&gt;into others blog, wow, i found, most of my classmates were already working on the ROR ..&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;I think, I must do something tonight, to build up ROR :-) &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-6467792248973256356?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/6467792248973256356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/03/good-student.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/6467792248973256356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/6467792248973256356'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/03/good-student.html' title='Good Student'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-2058110521467176555</id><published>2009-03-10T23:18:00.007+08:00</published><updated>2009-03-20T21:19:42.807+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise 2: Technology and the Evolution of Business Options</title><content type='html'>&lt;span style="font-family:arial;"&gt;1. Online Shopping Sites:&lt;br /&gt;- Yahoo Shopping &lt;&lt;/span&gt;&lt;a href="http://shopping.yahoo.com/"&gt;&lt;span style="font-family:arial;"&gt;http://shopping.yahoo.com/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;br /&gt;- ShopinHK &lt;&lt;/span&gt;&lt;a href="http://www.shopinhk.com/"&gt;&lt;span style="font-family:arial;"&gt;http://www.shopinhk.com/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;br /&gt;- Singapore Buy Online &lt;&lt;/span&gt;&lt;a href="http://www.sgbuyonline.com/"&gt;&lt;span style="font-family:arial;"&gt;http://www.sgbuyonline.com/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;br /&gt;- Bigshop.com.au &lt;&lt;/span&gt;&lt;a href="http://www.bigshop.com.au/"&gt;&lt;span style="font-family:arial;"&gt;http://www.bigshop.com.au/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;br /&gt;- Amazon &lt;&lt;/span&gt;&lt;a href="http://www.amazon.com/"&gt;&lt;span style="font-family:arial;"&gt;http://www.amazon.com/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;2. Electronic Payments Sites:&lt;br /&gt;- PayPal &lt;&lt;/span&gt;&lt;a href="https://www.paypal.com/"&gt;&lt;span style="font-family:arial;"&gt;https://www.paypal.com/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;br /&gt;- Authorized.Net &lt;&lt;/span&gt;&lt;a href="http://www.authorize.net/"&gt;&lt;span style="font-family:arial;"&gt;http://www.authorize.net/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;- Sage Payment &lt;&lt;/span&gt;&lt;a href="http://www.sagepayments.com/"&gt;&lt;span style="font-family:arial;"&gt;http://www.sagepayments.com/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;- Encore Payment System &lt;&lt;/span&gt;&lt;a href="http://www.encoreps.com/"&gt;&lt;span style="font-family:arial;"&gt;http://www.encoreps.com/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;- Worldpay &lt;&lt;/span&gt;&lt;a href="http://www.worldpay.com/"&gt;&lt;span style="font-family:arial;"&gt;http://www.worldpay.com/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;3. Database Access Sites:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;- Cook Book Online Database Access &lt;&lt;a href="http://www.cook-books.com/"&gt;http://www.cook-books.com/&lt;/a&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;- EBSCOHost &lt;&lt;a href="http://search.ebscohost.com/"&gt;http://search.ebscohost.com/&lt;/a&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;- Grolier Online Scholastic &lt;&lt;a href="http://auth.grolier.com/"&gt;http://auth.grolier.com/&lt;/a&gt;&lt;/span&gt;&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;- IEEE Xplore &lt;&lt;a href="http://ieeexplore.ieee.org/"&gt;http://ieeexplore.ieee.org/&lt;/a&gt;&lt;/span&gt;&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;- International Bibliography of Social Sciences &lt;&lt;a href="http://www.lse.ac.uk/"&gt;http://www.lse.ac.uk/&lt;/a&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;4. Wap Sites&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;- Hong Kong Observatory WAP &lt;&lt;a href="http://www.hko.gov.hk/hkowap.htm"&gt;http://www.hko.gov.hk/hkowap.htm&lt;/a&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;- Yahoo! Frontpage &lt;&lt;a href="http://hk.m.yahoo.com/?tsrc=rawfront"&gt;http://hk.m.yahoo.com/?tsrc=rawfront&lt;/a&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;- Geocaching &lt;&lt;a href="http://wap.geocaching.com/"&gt;http://wap.geocaching.com/&lt;/a&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;- Heroes Wiki &lt;&lt;a href="http://heroeswiki.com/WAP_sites"&gt;http://heroeswiki.com/WAP_sites&lt;/a&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;- Bravo &lt;&lt;a href="http://wap.bravotv.com/inf/infomo?site=bravo"&gt;http://wap.bravotv.com/inf/infomo?site=bravo&lt;/a&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-2058110521467176555?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/2058110521467176555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/2058110521467176555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/2058110521467176555'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise2.html' title='Exercise 2: Technology and the Evolution of Business Options'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-5626739061552486995</id><published>2009-03-10T23:17:00.013+08:00</published><updated>2009-03-20T22:34:35.521+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exercises'/><title type='text'>Exercise1: Analysis of the Online Communities Paradigm</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1a. Online Community is a computer network approach, which involved a group of peopleby using the email, phone call, newsletter, and message interactively. (wilkipedia, 2009)&lt;br /&gt;1b.i. After visiting three auctions sites , yes, they have the same common thread and local community sense in action, since among three, they have the common layout with the common links show different locations eg. United Kingdom, United States, Australia and Hong Kong .. etc&lt;br /&gt;1b.ii. Ebay accepts PayPal, Credit cards( Mastercard, Visa, Amex), debit cards and bankelectronic payments, they are globally acceptable.Also offline payment methods likepersonal chequest, bankers drafts and postal orders are accepted but they are not have the same level of protection as online payments&lt;br /&gt;1b.iii. Benefits for Buyer, Seller and E-bay Owner&lt;br /&gt;- Buyer can do shopping 24 hours x 7 days , anytime and anywhere they wanted,provided that they are on-line. The price is comparatively since so many sellers are on-line. Payment is easy and flexible with the electronic payment system.Also, no geographical limitation.&lt;br /&gt;- Seller did not need a real physical shop with employees take care of the customers, cost save on that. Market freedom. no geographical limitation, virtual shop can open 24 hours x 7 days to serve different geographical customers.&lt;br /&gt;- E-bay owner earns lots of commissions through the sales transactions.&lt;br /&gt;1c. Thee others examples of an online business using an online community approach.They are ShopinHK-&lt;/span&gt;&lt;a href="http://www.shopinhk.com/"&gt;&lt;span style="font-family:arial;"&gt;http://www.shopinhk.com&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;,Yahoo!Shopping-&lt;/span&gt;&lt;a href="http://shopping.yahoo.com/"&gt;&lt;span style="font-family:arial;"&gt;http://shopping.yahoo.com&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;,Amazon-&lt;/span&gt;&lt;a href="http://www.amazon.com/"&gt;&lt;span style="font-family:arial;"&gt;http://www.amazon.com&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2a. Amazon is a successful online business store because it provides 24 hours x 7 days services. Also, it provides so many different items for custmomers to choose, convenience and safe payment system and user friendly layout. Steps on purchase a book:&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;- Search the book title&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;- Click on the buy a new book link&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;- Add to a shopping cart&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;- Sign in a Secure server&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;- Create a new or sign in an account&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;- Fill in the shipping address and choose the methods for delivery&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;- Choose the payment &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;- Submit the order.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2b.Yes, there is a secure transactions not involving money, SSL is the common security method use on internet.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2c. List of items can be bought under Amazon&lt;/span&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_8600fW6wqpk/ScOncRZptdI/AAAAAAAAABg/F7X9Tu--lZ0/s1600-h/amazon.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5315276089376486866" style="WIDTH: 110px; CURSOR: hand; HEIGHT: 200px" alt="" src="http://4.bp.blogspot.com/_8600fW6wqpk/ScOncRZptdI/AAAAAAAAABg/F7X9Tu--lZ0/s200/amazon.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;3. Price comparison sites can offer a online price information for the customers , rather than in earlier time, customers had to visit different shops phyically to compare the price. It serves the convenience for customers. Nowadays, manufacturers, merchants, retailers has to provide a competition price or discount for their products, in order to "get" a customer because price comparison sites give information on the rise and fall of the prices also with the various of cheap deals (FA Lifestyle, 2008).&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;Reference:&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;1. Wilipedia, 2009, 'Virtual Community'&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt; &lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Virtual_community"&gt;&lt;span style="font-family:arial;"&gt;http://en.wikipedia.org/wiki/Virtual_community&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;2. Amazon, 2009, 'Amazon.com'&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;&lt;/span&gt;&lt;a href="http://www.amazon.com/"&gt;&lt;span style="font-family:arial;"&gt;http://www.amazon.com/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;3. FA Lifestyle, 2008, ' Price Comparison Compare to Find Cheap and Best'&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;&lt;&lt;/span&gt;&lt;a href="http://www.floweradvisor.com.hk/lifestyle/business/sales/58013/price_comparison_compare_to_find_cheap_and_best/"&gt;&lt;span style="font-family:arial;"&gt;http://www.floweradvisor.com.hk/lifestyle/business/sales/58013/price_comparison_compare_to_find_cheap_and_best/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-5626739061552486995?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/5626739061552486995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise1_10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/5626739061552486995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/5626739061552486995'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/03/exercise1_10.html' title='Exercise1: Analysis of the Online Communities Paradigm'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_8600fW6wqpk/ScOncRZptdI/AAAAAAAAABg/F7X9Tu--lZ0/s72-c/amazon.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4645558078964269803.post-3687110763193834850</id><published>2009-03-10T23:16:00.004+08:00</published><updated>2009-03-11T00:12:43.402+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Introduction'/><title type='text'>Introduction</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;Hi Everyone,&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;I am Ken Yau from Hong Kong. This is my 2nd year working on the MIT program.Currently, I am working for a German Bank as an IT Manager. My main responsibility is on project management. Also, this year, I would take care of the network infrastructure for the bank as well; therefore, it is another challenge assignment for me.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;I built up this blog for the course module of ITC 594, E-systems Infrastructure Development, however, I still would like to make use of it as my " Chit-Chat" blog with my friends :-) &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;Best regards&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;Ken Yau&lt;/span&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4645558078964269803-3687110763193834850?l=lyau07.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lyau07.blogspot.com/feeds/3687110763193834850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lyau07.blogspot.com/2009/03/introduction_646.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/3687110763193834850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4645558078964269803/posts/default/3687110763193834850'/><link rel='alternate' type='text/html' href='http://lyau07.blogspot.com/2009/03/introduction_646.html' title='Introduction'/><author><name>Ken Yau's Blog</name><uri>http://www.blogger.com/profile/00969756518481817208</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://3.bp.blogspot.com/_8600fW6wqpk/SbaKksp43uI/AAAAAAAAAAs/NvK9B1OYt8k/S220/alien.JPG'/></author><thr:total>0</thr:total></entry></feed>
