<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sajidally&#039;s Blog</title>
	<atom:link href="http://sajidally.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sajidally.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 07 Jun 2010 10:33:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sajidally.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Sajidally&#039;s Blog</title>
		<link>http://sajidally.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sajidally.wordpress.com/osd.xml" title="Sajidally&#039;s Blog" />
	<atom:link rel='hub' href='http://sajidally.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Exams Prep</title>
		<link>http://sajidally.wordpress.com/2010/06/04/exams-prep/</link>
		<comments>http://sajidally.wordpress.com/2010/06/04/exams-prep/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 10:23:26 +0000</pubDate>
		<dc:creator>sajidally</dc:creator>
				<category><![CDATA[Commentary]]></category>
		<category><![CDATA[Conclusion]]></category>
		<category><![CDATA[Exams prep]]></category>

		<guid isPermaLink="false">http://sajidally.wordpress.com/?p=368</guid>
		<description><![CDATA[Part A 20 multiple choice 2 pts  each Part B 10 True or False  1 pt  each Part C 10 Short Answer 6 pts each Part D 10 Fill in the blank word puzzle 1 pt each Agents Are intelligent software programs which acts on behalf of a user as per a defined assumption based [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=368&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Part A 20 multiple choice 2 pts  each<br />
Part B 10 True or False  1 pt  each<br />
Part C 10 Short Answer 6 pts each<br />
Part D 10 Fill in the blank word puzzle 1 pt each</p>
<p><strong>Agents</strong><br />
Are intelligent software programs which acts on behalf of a user as per a defined assumption based on set preferences.<br />
Some examples would be getting news, getting information from the stock market, de-fragment the hard disk at some specific times etc.</p>
<p><strong>Bots</strong>(web Robots)  Runs automated tasks on the internet.<br />
Are software application that does repetitive and automated tasks that would otherwise take human too long to to.<br />
The most common one is the SPIDER, which are used for web servers to analyze gather data, they are also used on  online auctions and online games.<br />
Bots can also be used to censor in chat room and forums.</p>
<p><strong>Business Model<br />
</strong>A model of doing business by which the company can support itself by generating revenue.</p>
<p><strong>Content Convergence</strong><br />
This is about doing more with the content like, taking content from multiple sources and automatically reuse them,  and allowing usrs to choose content only they want. Eg is RSS which allows content to be integrated in other content without any manual intervention.</p>
<p><strong>CORBA</strong>(Common Object Request Broker Architecture)<strong><br />
</strong>Is the middleware of choice for large and even not so large  enterprise.<br />
This is a vendor independent  open architecture and infrastructure that  computer application used to work together.</p>
<p><strong>Distributed objects<br />
</strong>Software Modules that are designed to work together, but may reside on multiple computer, or in different processes on the same computer.</p>
<p><strong>Distributed Systems</strong><br />
Consist of multiple software components that are on multiple computers, but run as a single system.<br />
The computers that are in the distributed system may be close as well as geographically distant and connected by a wide area connection.</p>
<p><strong>Denial of Service</strong><br />
An attempt to prevent access to information or services, by targetting the computer and the network.<br />
The most common of DOS is when hackers flood the network with information.<br />
When a url is typed, a request is sen to the server, but the number of request a server can handle at once. At this time no more request can be received by the server hence there is a denial of service.</p>
<p><strong>Java servlets<br />
</strong>Java servlets are java codes that run on the server to answer client requests.</p>
<p><strong>M-commerce</strong><br />
Give the opportunity to offer services on a mobile phone like a list a site of interest point in the area, list of restaurant, banks etc</p>
<p><strong>Malware</strong><br />
Malicious software designed to infiltrate a computer without the owner  knowledge/ consent</p>
<p><strong>Middleware</strong><br />
A software that connects or glue software components or applications together. A set of services that allows multiple processes running on one machine to interact.<br />
Middleware sits between application software that may be running on different os.<br />
Also known as plumbing because it connects two applications and passes data between them.<br />
<strong>Message oriented Middleware<br />
</strong>As in the Middleware, which is considered to be liked the plumbing, here in the MOM, the same rule apply except that the messaging system is asynchronous. It uses a queue system to hold the responses and will pass it to the client when there is a connection.</p>
<p><strong>OMG</strong>(Object Management Group)<br />
A consortium originally aimed at setting standards for distributed   object oriented systems and now focus on modeling program systems   processes as well as model based standards.</p>
<p><strong>Portal<br />
</strong>A place for making all sort of information accessible to a wide  variety of audience, which can be spilt in two major classififications  which are<br />
1. Enterprise information portal<br />
2. Content Management</p>
<p><strong>Phishing<br />
</strong>A criminal fraudulent process of attempting to acquire sensitive information (name and passwords) or credit card details by masquerading as a trustworthy entity such as banks or .<br />
These are <strong>mostly carried out by emails</strong> or instant messaging.</p>
<p><strong>Pharming</strong><br />
A hacker attempt to redirect a web site traffic to another site.<br />
This is done by changing the host file on the owner&#8217;s file<br />
or by exploiting a vulnerability in the DNS server software</p>
<p><strong>Port and Sockets</strong><br />
A port is a logical data connection that can be used by programs to exchange DATA DIRECTLY, instead of going through a file or a temporary storage location.<br />
On of the most common one is the TCP port,  which is used to exchange data between computers on the network.<br />
In other word is a gateway between a computer and something else to exchange data.<br />
<strong>A port is analogous to a pigeon hole mail box.</strong> This allows the mail to be delivered to the desired number.<br />
With ports, data of specific type of service is addressed to a specific port.<br />
Eg<br />
Telnet uses port 25<br />
SMTP uses port 23</p>
<p><strong>Sockets</strong><br />
Basically a socket is the combination of an IP address and a port number.</p>
<p><strong>Synchronous and asynchronous message passing</strong><br />
In the SYNCHRONOUS message passing,  a client send a request to another entity (usually the server) and wait for the response to be able to continue. While the server processes the request, the client has to wait.<br />
Asynchronous on the other hand is when a message is sent to another entity (may be from a client to the server), where the client need not wait for the response to continue.</p>
<p><strong>RMI</strong> (remote method invocation)<br />
Enables programmers to create distributed java based applications where the methods can be invoked from other java programs, or JVM.</p>
<p><strong>Thread</strong><br />
A separate stream of execution that takes place simultaneously and independently of anything else that might be happening.<br />
Its just a classic piece of program that starts at point A and executes until it reaches point b.<br />
With thread if a piece of program is stuck in a loop, the other thread will keep on working.</p>
<p><strong>TP Monitor</strong><br />
Transaction Processing Monitor is a program that monitors a transaction as it passes from one process to the other. Its purpose it make sure that a transaction is completed else it will take some actions.<br />
It is especially important in a three-tier architecture that employs load balancing as the transaction may be forwarded to different servers to be processed.</p>
<p><strong>Three Tier Architecture</strong><br />
In the beginning there were mainframes, where everything is stored on the server and connection is made using dump terminals.<br />
Then came the network connected Pc in the 80&#8242;s which produce a two tier client-server architecture. In this architecture, there is an application running on the client computerand coominucate with the server to request data from dbms.<br />
The client application (thick or fat) normally contains all the business logic.<br />
In a three-tier or multi tier architecture, the applicaion on the client is a thin one that is it contains simple controls and user input validation.<br />
The middle or the application server provides business logics as well as database access<br />
The third one is the data server which provides the data.</p>
<p><strong>Spoofing</strong><br />
Spoofing is the creation of a TCP/IP  packet using somebody&#8217;s else IP  address. Routers uses the destination IP address to forward the Packet  but ignore the source IP address which is only used by the destination  computer for the response.</p>
<p><strong>Stored Procedures</strong><br />
Is a subroutines that allows application to access relational database systems.<br />
These subroutines are stored in the database data dictionary.<br />
Typical applications are<br />
1. data validations<br />
2. access controls<br />
3. May return a result set</p>
<p><strong>Trojan Horse</strong><br />
A non-self-replicating  program that appears to perform a desirable process, but instead will facilitate unauthorised access to te computer.</p>
<p><strong>ZigBee</strong><br />
A set of  specification for a suite of high level communication protocols using small low powered digital radio</p>
<p><strong>Wi-Fi</strong><br />
A wireless network using radio waves like (mobile phones, radios, television)</p>
<p><strong>Widgets</strong><br />
Is a standalone application that can be embedded in a third party site.</p>
<p><strong>Worm</strong><br />
A self replicating (malware) computer program which replicate itself and send copies of itself to other nodes and may even do so without the intervention of any user.<br />
<strong> </strong></p>
<p><strong>Notes</strong></p>
<dl>
<dt>A <em>program</em> </dt>
<dd>is the code you write. </dd>
<dt>A <em>process</em> </dt>
<dd>is what you get when you run it. </dd>
<dt>A <em>message</em> </dt>
<dd>is used to communicate between processes. </dd>
<dt>A <em>packet</em> </dt>
<dd>is a fragment of a message that might travel on a wire. </dd>
<dt>A <em>protocol</em> </dt>
<dd>is a formal description of message formats and the rules that  two   processes must follow in order to exchange those messages. </dd>
<dt>A <em>network</em> </dt>
<dd>is the infrastructure that links computers, workstations,  terminals,   servers, etc. It consists of routers which are connected by  communication   links. </dd>
<dt>A <em>component</em> </dt>
<dd>can be a process or any piece of hardware required to run a  process,   support communications between processes, store data, etc. </dd>
<dt>A <em>distributed system</em> </dt>
<dd>is an application that executes a collection of protocols to  coordinate   the actions of multiple processes on a network, such that all  components   cooperate together to perform a single or small set of related tasks. </dd>
</dl>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sajidally.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sajidally.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sajidally.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sajidally.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sajidally.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sajidally.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sajidally.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sajidally.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sajidally.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sajidally.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sajidally.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sajidally.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sajidally.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sajidally.wordpress.com/368/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=368&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sajidally.wordpress.com/2010/06/04/exams-prep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1db35690889f9050b7b708a7e583d70?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sajidally</media:title>
		</media:content>
	</item>
		<item>
		<title>Elevator Pitch 2</title>
		<link>http://sajidally.wordpress.com/2010/05/27/elevator-pitch-2/</link>
		<comments>http://sajidally.wordpress.com/2010/05/27/elevator-pitch-2/#comments</comments>
		<pubDate>Thu, 27 May 2010 00:28:52 +0000</pubDate>
		<dc:creator>sajidally</dc:creator>
				<category><![CDATA[Elevator Pitch]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sajidally.wordpress.com/?p=348</guid>
		<description><![CDATA[Hello again, Thank you for listening  to my second and final elevator pitch for this subject. After having completed all the workshops and the exercises, I do feel now that I have acquired a good knowledge  of  the E-System Infrastructure. The way this subject has been presented, has given me the opportunity not only to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=348&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello again,</p>
<p>Thank you for listening  to my second and final elevator pitch for this subject. After having completed all the workshops and the exercises, I do feel now that I have acquired a good knowledge  of  the E-System Infrastructure.<br />
The way this subject has been presented, has given me the opportunity not only to look into the programming site of the E-system, but also to have a closer look to the other important aspects of the subjects. Throughout the exercises, I have been guided on specific topics of the E-System, such as,  Web application servers, Database servers, Shopping cart specification, M-commerce, Search mechanism,  TP monitor, transaction protocol, which are just a few of these interresting as well as important parts of this subject.<br />
I now feel better equipped and more confident with all the knowledge acquired here, and I am in no doubt that this will be of great help in my career for the coming years.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sajidally.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sajidally.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sajidally.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sajidally.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sajidally.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sajidally.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sajidally.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sajidally.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sajidally.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sajidally.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sajidally.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sajidally.wordpress.com/348/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sajidally.wordpress.com/348/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sajidally.wordpress.com/348/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=348&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sajidally.wordpress.com/2010/05/27/elevator-pitch-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1db35690889f9050b7b708a7e583d70?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sajidally</media:title>
		</media:content>
	</item>
		<item>
		<title>Workshop 8</title>
		<link>http://sajidally.wordpress.com/2010/05/26/workshop-8/</link>
		<comments>http://sajidally.wordpress.com/2010/05/26/workshop-8/#comments</comments>
		<pubDate>Wed, 26 May 2010 23:54:42 +0000</pubDate>
		<dc:creator>sajidally</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Workshops]]></category>

		<guid isPermaLink="false">http://sajidally.wordpress.com/?p=345</guid>
		<description><![CDATA[1. List what you consider to be the three strengths of Ruby on Rails workshop series a. Well supported, especially with Aptana Radrails/Studio and is open source b. Easy to learn and program in c. MVC concept 2. List what you consider to be the three weaknesses of Ruby on Rails workshop series: a. Need [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=345&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>1. List what you consider to be the three strengths of Ruby on Rails workshop series<br />
</strong>a. Well supported, especially with Aptana Radrails/Studio and is open source<br />
b. Easy to learn and program in<br />
c. MVC concept</p>
<p><strong>2. List what you consider to be the three weaknesses of Ruby on Rails workshop series:<br />
</strong>a. Need some more tutorials online, could not find why I was having some problems<br />
b. Spent lots of time to make InstantRail works especially to get the Apache and MySQL server to run<br />
c. Meed some more sample projects online</p>
<p><strong>3. List what aspects of Ruby on Rails workshop series that you found to be most difficult.<br />
</strong>As this has been a new venture for me, all the workshop had some difficult part. Firstly to understand the MVC concept, then came the views and the methods and finally it was quite hard to learn about all the aspects of RoR, as apart from being a dad of four children(the last one, three months old), having to face quite a big recession in the UK, and have to work extra hours to make money, I still have to find time for the researches &#8230;.hard</p>
<p><strong>4. List what improvements could be made to the Ruby on Rails workshop series:<br />
</strong></p>
<p><strong>Free response and reflective questions:<br />
</strong></p>
<p><strong>5. Reflect on your experiences with the other Web framework used in this subject: Was it effective? How can it be improved? Should other Web frameworks be used as well or instead of Ruby on Rails?</strong></p>
<p><strong> </strong></p>
<p><strong>6. Did the Developer’s or IT managers Team that you joined after workshop 4 have a preference towards using other tools to facilitate collaboration? Comment on the differences between these use of the sub-forum or Interact wiki tools from your experiences in this subject.</strong></p>
<p><strong> </strong></p>
<p><strong>7. Further comments to add?</strong></p>
<p><strong>References</strong></p>
<p>http://weblog.rubyonrails.org/2009/9/4/timing-weakness-in-ruby-on-rails</p>
<p>http://highscalability.com/scaling-twitter-making-twitter-10000-percent-faster</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sajidally.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sajidally.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sajidally.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sajidally.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sajidally.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sajidally.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sajidally.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sajidally.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sajidally.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sajidally.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sajidally.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sajidally.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sajidally.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sajidally.wordpress.com/345/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=345&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sajidally.wordpress.com/2010/05/26/workshop-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1db35690889f9050b7b708a7e583d70?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sajidally</media:title>
		</media:content>
	</item>
		<item>
		<title>Workshop 7</title>
		<link>http://sajidally.wordpress.com/2010/05/26/workshop-7/</link>
		<comments>http://sajidally.wordpress.com/2010/05/26/workshop-7/#comments</comments>
		<pubDate>Wed, 26 May 2010 23:18:15 +0000</pubDate>
		<dc:creator>sajidally</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Workshops]]></category>

		<guid isPermaLink="false">http://sajidally.wordpress.com/?p=341</guid>
		<description><![CDATA[DEVELOPER’S THREAD (RED team) To Do: Developers conclude their work with the OTBS and look at the options for deployment of the site. Examine the various platforms/software tools used for deployment such as UNIX environment suggested in the Discussion Notes, Mongrel or Mongrel cluster, Nginx, Subversion or Capistrano (during development stage), JRuby in the Java [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=341&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1>DEVELOPER’S THREAD (RED team)</h1>
<p><strong>To Do:</strong></p>
<p>Developers conclude their work with the OTBS and look at the options for deployment of the site. Examine the various platforms/software tools used for deployment such as UNIX environment suggested in the Discussion Notes, Mongrel or Mongrel cluster, Nginx, Subversion or Capistrano (during development stage), JRuby in the Java environment.</p>
<p><em>Which way?</em></p>
<p><strong>The choice is up to you as this workshop present just one option and you may like to use another, such as deploying the OTBS in a .NET or J2EE environment<br />
</strong>While there are plenty of  hosting available to deploy my site, there a just a few who are dedicated Rails hosting companies.<br />
Well which way to go, is not an easy choice, some site even suggest to use our own pc to deploy our site by just by installing the necessary tools like Ruby, Rails Gems and SQLite, but for obvoius reasons, and this is not a practical way.<br />
For which platform are we going for?</p>
<p><strong>Can you get the OTBS Running in production mode as a minimal production server?<br />
</strong>Since Mongrel is a WEB Server for Ruby web applications, OTBS can easily run such server.<br />
Apache can be used to as a load balancer as several Mongrel instances can be running concurrently using different port.<br />
And if we want to avoid Apache server, this also is possible as Mongel cluster can be deployed using other web servers such as nginx or lighthtpd.</p>
<p><strong>References<br />
</strong>http://en.wikipedia.org/wiki/Mongrel_%28web_server%29</p>
<p>http://stackoverflow.com/questions/643897/ruby-on-rails-deployment-requirements</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sajidally.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sajidally.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sajidally.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sajidally.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sajidally.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sajidally.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sajidally.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sajidally.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sajidally.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sajidally.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sajidally.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sajidally.wordpress.com/341/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sajidally.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sajidally.wordpress.com/341/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=341&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sajidally.wordpress.com/2010/05/26/workshop-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1db35690889f9050b7b708a7e583d70?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sajidally</media:title>
		</media:content>
	</item>
		<item>
		<title>Workshop 4</title>
		<link>http://sajidally.wordpress.com/2010/05/25/workshop-4/</link>
		<comments>http://sajidally.wordpress.com/2010/05/25/workshop-4/#comments</comments>
		<pubDate>Tue, 25 May 2010 23:20:13 +0000</pubDate>
		<dc:creator>sajidally</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Workshops]]></category>

		<guid isPermaLink="false">http://sajidally.wordpress.com/?p=322</guid>
		<description><![CDATA[1.  Spend some time moving your way through the 46 Ruby coding examples in the Ruby Tutorial with Code from http://www.fincher.org/tips/Languages/Ruby/ 2. What are the syntax differences in the way that Ruby and Javascript use the if statement? The if statement for Ruby is as follows if  variable == 100 print &#8220;variable=100&#8243; elseif variable == [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=322&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1.  Spend some time moving your way through the 46 Ruby coding examples in the Ruby Tutorial with Code from <a href="http://www.fincher.org/tips/Languages/Ruby/">http://www.fincher.org/tips/Languages/Ruby/</a></p>
<p><strong>2. What are the syntax differences in the way that Ruby and Javascript use the </strong><strong>if statement?<br />
</strong>The if statement for Ruby is as follows<br />
if  variable == 100<br />
print &#8220;variable=100&#8243;<br />
elseif variable == 200<br />
print &#8220;variable=200&#8243;<br />
else<br />
print &#8220;variable is neither 100 nor 200&#8243;<br />
end</p>
<p>The if statement for Javascript is as follows<br />
if  (variable=100)<br />
{<br />
document.write(&#8220;Variale = 100&#8243;)<br />
}<br />
else if  (variable=200)<br />
{<br />
document.write(&#8220;Variale = 200&#8243;)<br />
}<br />
else<br />
{<br />
document.write(&#8220;Variale is neither  100 nor 200&#8243;)<br />
}</p>
<p>3. While Ruby and Python are quite similar, can you find some similarities between Ruby and Javascript?</p>
<p><strong>References<br />
</strong>http://www.w3schools.com/js/js_if_else.asp</p>
<p>http://www.howtogeek.com/howto/programming/ruby/ruby-if-else-if-command-syntax/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sajidally.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sajidally.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sajidally.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sajidally.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sajidally.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sajidally.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sajidally.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sajidally.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sajidally.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sajidally.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sajidally.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sajidally.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sajidally.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sajidally.wordpress.com/322/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=322&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sajidally.wordpress.com/2010/05/25/workshop-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1db35690889f9050b7b708a7e583d70?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sajidally</media:title>
		</media:content>
	</item>
		<item>
		<title>Exercise 16</title>
		<link>http://sajidally.wordpress.com/2010/05/25/exercise-16/</link>
		<comments>http://sajidally.wordpress.com/2010/05/25/exercise-16/#comments</comments>
		<pubDate>Tue, 25 May 2010 18:01:27 +0000</pubDate>
		<dc:creator>sajidally</dc:creator>
				<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sajidally.wordpress.com/?p=295</guid>
		<description><![CDATA[What to do: The final topic is for group reflective study using the wiki tool in CSU Interact and a way for you to add a final reflective comment on systems integration and make your closing remarks to your Developer’s blog. 1. Choose ONE of the four ways to manage and develop integrated systems as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=295&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>What to do:<br />
The final topic is for group reflective study using the wiki tool in CSU Interact and a way for you to add a final reflective comment on systems integration and make your closing remarks to your Developer’s blog.</strong></p>
<p><strong>1.  Choose ONE of the four ways to manage and develop integrated systems as listed below;<br />
2.  Summarise your understanding and describe its relevance (250 words max)</strong><strong> 3.  Edit TWO similar versions (include bibliography) of that summary to CSU Interact:<br />
a.  post version A as a wiki page contribution;<br />
b.  add version B  as a final entry to close your developer’s blog.</strong></p>
<p>The way to manage and develop integrated system that I have chosen is the ERP or the Enterprise Resource Planning. It is a mixture of three most important components which are, Business Management Practices, Information Technology and Specific Business Objectives.<br />
This is huge software architecture which can handle and integrate large businesses with branches  in different geographical locations.<br />
At the heart of EPR is a well managed centralised data repository which will collect as well as<strong> </strong>supply information from and to different sources.<br />
ERP will provide businesses with loads of functionalities with features like flexibility, modularity and openness, widespread, finest business processes and global focus.</p>
<p>Integration plays a key role in ERP systems  in order to achieve a great increase in productivity, speed as well as performance.  The integration will help in creating a single unified database repository which can communicate with different software and functionalities to provide different part of the organisation such as Human Resource, Supply Chain Management, Finance, Manufacturing as well as Supply Chain Management among others with various business statistics and information.<br />
The ideal ERP systems will chains the following together.<br />
<strong>Manufacturing</strong>, which will include engineering resource planning, workflow management<br />
<strong>Financials</strong>, Accounts, fixed assets, general ledger, cash management<br />
<strong>Human resource</strong>, Recruitments, training, payrolls, attendance sheets, labour rules<br />
<strong>Supply Chain Management</strong>, supply chain planning, sales order administration, transportation and distribution<br />
<strong>Projects</strong>, costing, billing, time and expense management<br />
<strong>Customer Relationship Management</strong>, Customer contracts, after sales support, marketing<br />
<strong>Data Warehouse</strong>, where all information are centrally kept and can be accessed by the organisation, suppliers, customers, as well as employees.</p>
<p>Here is where I conclude all my exercise for the subject ICT549. I knew it for some time now that in IT, we have to keep up with all the new technologies else we will not only be staying still but as a matter of fact we will be going backwards.<br />
This subject has given me a change to refresh my knowledge in the ever changing field of IT. I have been able to catch up with some of the latest technologies and gained some experience while doing the workshops.<br />
This is surely the beginning of a new era, where I hope that with all these exercises and workshops I have been working on in this subject, will give me a competitive advantage in the real world.</p>
<p><strong>References</strong></p>
<p>http://en.wikipedia.org/wiki/Enterprise_resource_planning</p>
<p>http://www.topbits.com/erp.html</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sajidally.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sajidally.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sajidally.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sajidally.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sajidally.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sajidally.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sajidally.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sajidally.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sajidally.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sajidally.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sajidally.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sajidally.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sajidally.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sajidally.wordpress.com/295/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=295&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sajidally.wordpress.com/2010/05/25/exercise-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1db35690889f9050b7b708a7e583d70?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sajidally</media:title>
		</media:content>
	</item>
		<item>
		<title>Exercise 15</title>
		<link>http://sajidally.wordpress.com/2010/05/25/exercise-15/</link>
		<comments>http://sajidally.wordpress.com/2010/05/25/exercise-15/#comments</comments>
		<pubDate>Tue, 25 May 2010 13:24:36 +0000</pubDate>
		<dc:creator>sajidally</dc:creator>
				<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sajidally.wordpress.com/?p=289</guid>
		<description><![CDATA[M-commerce: Innovation and mobile devices 1. What is meant by a location based service? Explain using the Web applications found on a late model mobile device. Mobile phones rely on local transmitter masts which are scattered across the country, in order to operate. Using this technology the operator can pinpoint  the location where the current [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=289&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>M-commerce:  Innovation and mobile devices<br />
1.  What is meant by a location based service? Explain using the Web applications found on a late model mobile device.<br />
</strong>Mobile phones rely on local transmitter masts which are scattered across the country, in order to operate. Using this technology the operator can pinpoint  the location where the current mobile is, with reasonable accuracy. The accuracy obviously will depend on the number of mast in the region. In major cities where there are loads of mast, the mobile unit could be located with metres  nomally up to about 500.   Where as in some areas where there are less masts, the range would be significantly higher.<br />
By knowing the location of the mobile device, the operator can provide additional facilities to the user. For example a user can ask for points of interest in the region or any shopping centre etc.<br />
Let have a look at one of the latest technoloy in mobile device. The IPhone, according to the its official site, this device is like nothing we have ever seen on a mobile phone. There are millions of apps that are aqvailable for the IPhone. Amonung the ones that uses the google maps which gives the current location and acan as well give direction, or great outdoors in the local area as well as list of restaurants etc.<br />
<strong><br />
2.   Describe the purpose of the Open Mobile Alliance Initiative?</strong><br />
According to wikipedia, Open Mobile Alliace  is the body that develops open standards for mobile phones. Started in the year 2002, OMA has nowadays about 200 companies ranging from Mobile operators, IT companies, content and service providers as well as devices and network suppliers.<br />
The OMA initiative is to ensure standardised API are can be used across networks as well as on different mobile devices. This will in fact benefit not only the industry, but to end users as well. This technology will also bring economies of scale as one specific standard is in use.<br />
<strong><br />
3.   What are the main components of a mobile Web services framework?<br />
</strong>Since the last decade, there  has seen a great change in the way the WEB services has impacted on the way human being communicates.</p>
<p><strong>4.  Visit an airline Web site and search for information on WAP or SMS or 3G mobile application access to booking airline services.  The same services exist in banking.  How do both industries compare?<br />
</strong>Having visited the British Airways site, and seach for SMS, I received 28 results starting from flight information such as arrivals and departure times. Text Afor arrival and D for departure followed by date and flight number, a text will be sent back with either the arrival or departure time. This will be charged a normal text rate plus a 25p when the text is received from BA.<br />
Also if your phone is web based, flight status can be checked or even seats can be chosen for single, family or group travellers. Are you affected by the cabin crew strikes, well in case your flight is cancelled, the operator will send you a text  giving  of the flight.<br />
For the banking site, I visited the HSBC site. There we can see, by just registering for your <strong>free mobile alerts services</strong>, as sms will be sent as an alert for due payments or term maturity dated or even a mini statement.<br />
As we can see both industries are using the mobile technology to keep their customer up to date and provide an extra service that could give them a competitive advantage.</p>
<p><strong> </strong></p>
<p><strong>References<br />
</strong>http://www.businesslink.gov.uk/bdotg/action/detail?itemId=1075386967&amp;type=RESOURCES</p>
<p>http://www.apple.com/uk/iphone/</p>
<p>http://en.wikipedia.org/wiki/Open_Mobile_Alliance</p>
<p>http://www.tmcnet.com/channels/triple-play/articles/45089-open-mobile-alliance-begins-work-standardization-initiative-proposed.htm</p>
<p>http://www.telecoms.com/8586/operators-vow-to-clean-up-web-services-framework/</p>
<p>http://www.it-innovations.ae/iit005/proceedings/articles/D_1_IIT05_Elmasri-1.pdf</p>
<p>http://www.telecoms.com/8586/operators-vow-to-clean-up-web-services-framework/</p>
<p>http://www.britishairways.com/travel/searchba/public/en_gb</p>
<p>http://www.hsbc.co.in/1/2/personal/internet-and-self-service-banking/mobile-alerts</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sajidally.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sajidally.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sajidally.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sajidally.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sajidally.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sajidally.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sajidally.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sajidally.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sajidally.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sajidally.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sajidally.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sajidally.wordpress.com/289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sajidally.wordpress.com/289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sajidally.wordpress.com/289/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=289&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sajidally.wordpress.com/2010/05/25/exercise-15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1db35690889f9050b7b708a7e583d70?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sajidally</media:title>
		</media:content>
	</item>
		<item>
		<title>Exercise 14:</title>
		<link>http://sajidally.wordpress.com/2010/05/23/exercise-14/</link>
		<comments>http://sajidally.wordpress.com/2010/05/23/exercise-14/#comments</comments>
		<pubDate>Sun, 23 May 2010 16:26:52 +0000</pubDate>
		<dc:creator>sajidally</dc:creator>
				<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sajidally.wordpress.com/?p=253</guid>
		<description><![CDATA[Searching mechanisms, Virtual worlds and Cyberagents 1. What is a spider? What does it do? Google, have we ever wonder how virtually everything could be found there, the word GOOGLE itself nowadays has it own meaning, Google it, and you will find the answer. How do all the search engines keep up with all the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=253&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Searching mechanisms, Virtual worlds and Cyberagents<br />
1.  What is a spider?  What does it do?</strong><br />
Google, have we ever wonder how virtually everything could be found there, the word GOOGLE itself nowadays has it own meaning, Google it, and you will find the answer. How do all the search engines keep up with all the new sites that are appearing everyday and on the other hand how to keep up with all the changes tat are made to existing web pages.<br />
Well, they do have a few tricks to keep uptodate.<br />
Generally speaking they use a WEB CRAWLER, which are also known as ants, automatic indexers, bots,  Web Spiders or even Web robot.<br />
Web crawlers are computer programs used by search engines to read methodically through all the sites in order to create a search list as well as to keep current data up to date.</p>
<p>Search engines used this technique to crawl  over the web pages. As soon as a link is found, the spider will go off and fetch the page.<br />
There are basically three types of  search engines and they are powered by robots which are called crawlers, ants and sipders.<br />
<strong>Crawler based search engines</strong> will read a web sites, will read the information on the site, will read the mata data of the site, and will follow the links on the site. The crawler will then create an index for the site as well as all the linked site.<br />
<strong>Human power search engine</strong>, this method will rely on people submitting their site to the search engine.<br />
The third type of search engines are a combination of both of the above.</p>
<p><strong>2.  Differentiate the various types of software agents.</strong><br />
In order to understand the software agent, we should look at the name itself, agent, to act on behalf. In the same way, software agent will act automatically with some degree of autonomy to perform some task on the behalf of its user.<br />
Basically there are four essential type of  intelligent software agent.<br />
1. Buyer agent or shopping bots<br />
2. User or personal agents<br />
3. Monitoring and surveillance agents<br />
4. Datamining agent.<br />
<strong>1. Buyer agent or shopping bots<br />
</strong>Buyer agent or shopping bots will search all the internet and will gather information about goods and services. The  example used on wikipedia.org is Amazon.com. While buying books or CDs at this site, a list of related book or CDs will be offered that the buyer might consider to buy as well or ythe same can provide a list of books or CDs that other people bought when the bought the selected books or CDs.<br />
<strong>2.User or personal agents</strong><br />
These agent will take actions on a user&#8217;s behalf. For example, the agent can check emails, sort the emails in order or preferences, or they can be opponent while playing a computer game, they can also get the news for the user, they could also search for information about a typical sybject. They can also fill form on the user&#8217;s behalf, they can also search for jobs online  as well.<br />
<strong>3. Monitoring and sueveillance agent</strong><br />
This agent is used to monitor computer systems. They can be used to track inventory levels, keep a close look and report competotirs prices, as well as stock watching.<br />
<strong>4. Data mining agent</strong><br />
In order to keep ahead of the competitors, information is vital. Data mining agent helps in this regards by searching relevent information in data warehouses so that decisions can be made.<br />
Data mining uses the &#8220;classification&#8221;  method to find these information and to categorize them as well as it can detect major shift in trends or a key indicator and alert the user.</p>
<p><strong>3.  Identify various activities in e-commerce where software agents are currently in use.<br />
</strong>Going back to amazon.com, when a client buy a book or a CD, immediately  list of similar item is being displayed as, user who buy this book or cd also buy one of these in the provided list.</p>
<p><strong><br />
</strong></p>
<p><strong> 4.  Computing ethics and bot programming case study:<br />
a.  Get an account username and password from the lecturer to LC_MOO at http://ispg.csu.edu.au:7680 and login to the Welcome Lobby.</strong><br />
By using train1 as username and train1 for password, I immediatege got access to LC_MOO in a new window. The first command I used was news 1, and the following page is the result.<br />
<a href="http://sajidally.files.wordpress.com/2010/05/moo1.jpg"><img class="alignnone size-large wp-image-286" title="moo1" src="http://sajidally.files.wordpress.com/2010/05/moo1.jpg?w=1024&#038;h=578" alt="" width="1024" height="578" /></a><br />
<strong> </strong></p>
<p><strong>b.  Hold a 5-minute discussion with Rocky on a special topic.<br />
Commands and chat are entered in the command box (bottom-left of screen in Figure 11) :  act rocky (start bot)  hush rocky (stop bot)<br />
</strong>The next command I used was &#8220;act rocky&#8221; and the answer was &#8220;train1 activates rocky&#8221;, &#8220;Gee thanks for waking me up! I must have dozed off..&#8221;<br />
After spending sometine exploring the software,  finally chose the option SAY at the bottom right of thr screen and the coversation started.</p>
<p><strong>c.  Rocky is an ELIZA-like bot.  Report your findings.</strong><br />
Please find below the convesation that I had.</p>
<p>editors             @lastlog            put                 @wrap<br />
@eject              letters             @quit               write<br />
You say, &#8220;hello&#8221;<br />
Rocky says, &#8220;I think LC_MOO Welcome Lobby is an excellent name for this place, dont you?&#8221;<br />
You say, &#8220;that&#8217;s true&#8221;<br />
Rocky says, &#8220;What are you like at programming in Python?&#8221;<br />
You say, &#8220;i don&#8217;t program in python, i used perl&#8221;<br />
Rocky says, &#8220;Um, i get the feeling this conversation is not going anywhere..&#8221;<br />
You say, &#8220;why, don&#8217;t you know perl?&#8221;<br />
Rocky says, &#8220;I am sure you should be working on another assignment&#8230;&#8221;<br />
You say, &#8220;oh, yes and its half past four oclock in the morning in the uk&#8221;<br />
Rocky [to train1]: Yes? Hmm, that&#8217;s interesting&#8230;<br />
You say, &#8220;who are you?&#8221;<br />
Rocky says, &#8220;Hmm, not sure I know..&#8221;<br />
You say, &#8220;I think you should know!&#8221;<br />
Rocky says, &#8220;Why do you say you think me?&#8221;<br />
You say, &#8220;I do not know who you are and I am trying to find out&#8221;<br />
Rocky says, &#8220;Perhaps it is you who are and I am trying to find out!&#8221;<br />
You say, &#8220;how many users are you serving rignt now&#8221;<br />
Rocky says, &#8220;oh yeah?&#8221;<br />
You say, &#8220;where are you?&#8221;<br />
Rocky says, &#8220;I like the way you bring up such great topics to discuss..&#8221;<br />
You say, &#8220;are you in europe&#8221;<br />
Rocky says, &#8220;Where&#8217;d you think up a name like &#8216;train1&#8242; anyway?&#8221;<br />
You say, &#8220;may be USA&#8221;<br />
Rocky says, &#8220;Um, i get the feeling this conversation is not going anywhere..&#8221;<br />
<a href="http://sajidally.files.wordpress.com/2010/05/moo.jpg"></a></p>
<p><a href="http://sajidally.files.wordpress.com/2010/05/moo.jpg"><img class="alignnone size-medium wp-image-277" title="moo" src="http://sajidally.files.wordpress.com/2010/05/moo.jpg?w=558&#038;h=394" alt="" width="558" height="394" /></a></p>
<p>http://whatis.techtarget.com/definition/0,,sid9_gci213035,00.html</p>
<p>http://en.wikipedia.org/wiki/Web_crawler</p>
<p>http://en.wikipedia.org/wiki/Software_agents</p>
<p>http://www.webopedia.com/DidYouKnow/Internet/2003/HowWebSearchEnginesWork.asp</p>
<p>http://www.chayden.net/eliza/instructions.txt</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sajidally.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sajidally.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sajidally.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sajidally.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sajidally.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sajidally.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sajidally.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sajidally.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sajidally.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sajidally.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sajidally.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sajidally.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sajidally.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sajidally.wordpress.com/253/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=253&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sajidally.wordpress.com/2010/05/23/exercise-14/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1db35690889f9050b7b708a7e583d70?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sajidally</media:title>
		</media:content>

		<media:content url="http://sajidally.files.wordpress.com/2010/05/moo1.jpg?w=1024" medium="image">
			<media:title type="html">moo1</media:title>
		</media:content>

		<media:content url="http://sajidally.files.wordpress.com/2010/05/moo.jpg?w=300" medium="image">
			<media:title type="html">moo</media:title>
		</media:content>
	</item>
		<item>
		<title>Exercise 13:</title>
		<link>http://sajidally.wordpress.com/2010/05/20/exercise-13/</link>
		<comments>http://sajidally.wordpress.com/2010/05/20/exercise-13/#comments</comments>
		<pubDate>Thu, 20 May 2010 22:20:15 +0000</pubDate>
		<dc:creator>sajidally</dc:creator>
				<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sajidally.wordpress.com/?p=254</guid>
		<description><![CDATA[Shopping cart specifications Develop the class diagram for the following shopping cart specifications: A shoppingCart object is associated with only one creditCard and customer and to items in itemToBuy object.  Persistent customer information such as name, billing address, delivery address, e-mail address and credit rating is stored in the customer object.  The credit card object [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=254&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Shopping cart specifications<br />
Develop the class diagram for the following shopping cart specifications:<br />
A shoppingCart object is associated with only one creditCard and<br />
customer and to items in itemToBuy object.  Persistent customer<br />
information such as name, billing address, delivery address, e-mail address<br />
and credit rating is stored in the customer object.  The credit card object is<br />
associated with a frequentShopper discount object, if the credit rating<br />
for the customer is good.  The customer can make or cancel orders as well<br />
as add and delete items to the shopping cart product.  The credit card<br />
object contains the secure method for checking that the charge is authentic.</p>
<p>following is the diagram</p>
<p><a href="http://sajidally.files.wordpress.com/2010/05/class-diagram.jpg"><img class="alignnone size-medium wp-image-274" title="class diagram" src="http://sajidally.files.wordpress.com/2010/05/class-diagram.jpg?w=402&#038;h=219" alt="" width="402" height="219" /></a></p>
<p>References</p>
<p>http://www.gliffy.com/gliffy/#templateId=blank&#038;signup=1</p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:92px;width:1px;height:1px;overflow:hidden;"><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-GB X-NONE X-NONE              MicrosoftInternetExplorer4              &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:0cm; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:EN-US;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:EN-US;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 72.0pt 72.0pt 72.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin-top:0cm; 	mso-para-margin-right:0cm; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0cm; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} table.MsoTableGrid 	{mso-style-name:&quot;Table Grid&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-priority:59; 	mso-style-unhide:no; 	border:solid black 1.0pt; 	mso-border-themecolor:text1; 	mso-border-alt:solid black .5pt; 	mso-border-themecolor:text1; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-border-insideh:.5pt solid black; 	mso-border-insideh-themecolor:text1; 	mso-border-insidev:.5pt solid black; 	mso-border-insidev-themecolor:text1; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-fareast-language:EN-US;} --> <!--[endif]--></p>
<p class="MsoNormal">Tables list</p>
<table class="MsoTableGrid" style="border-collapse:collapse;border:medium none;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width:155.55pt;border:1pt solid black;padding:0 5.4pt;" width="207" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">tbl_client</p>
</td>
<td style="width:294.4pt;padding:0 5.4pt;" width="393" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">Clients info, name address email mobile etc</p>
</td>
</tr>
<tr>
<td style="width:155.55pt;padding:0 5.4pt;" width="207" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">tbl_category</p>
</td>
<td style="width:294.4pt;padding:0 5.4pt;" width="393" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">Category of each product</p>
</td>
</tr>
<tr>
<td style="width:155.55pt;padding:0 5.4pt;" width="207" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">tbl_product</p>
</td>
<td style="width:294.4pt;padding:0 5.4pt;" width="393" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">All product are described and product details are kept</p>
</td>
</tr>
<tr>
<td style="width:155.55pt;padding:0 5.4pt;" width="207" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">tbl_order</p>
</td>
<td style="width:294.4pt;padding:0 5.4pt;" width="393" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">orders</p>
</td>
</tr>
<tr>
<td style="width:155.55pt;padding:0 5.4pt;" width="207" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">tbl_cart</p>
</td>
<td style="width:294.4pt;padding:0 5.4pt;" width="393" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">When client choose to add product to trolley/cart</p>
</td>
</tr>
<tr>
<td style="width:155.55pt;padding:0 5.4pt;" width="207" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">tbl_config</p>
</td>
<td style="width:294.4pt;padding:0 5.4pt;" width="393" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">Basic shop configuration (vat%, discount etc)</p>
</td>
</tr>
<tr>
<td style="width:155.55pt;padding:0 5.4pt;" width="207" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">tbl_user</p>
</td>
<td style="width:294.4pt;padding:0 5.4pt;" width="393" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">Administrator and user details</p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal">
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sajidally.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sajidally.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sajidally.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sajidally.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sajidally.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sajidally.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sajidally.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sajidally.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sajidally.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sajidally.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sajidally.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sajidally.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sajidally.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sajidally.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=254&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sajidally.wordpress.com/2010/05/20/exercise-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1db35690889f9050b7b708a7e583d70?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sajidally</media:title>
		</media:content>

		<media:content url="http://sajidally.files.wordpress.com/2010/05/class-diagram.jpg?w=300" medium="image">
			<media:title type="html">class diagram</media:title>
		</media:content>
	</item>
		<item>
		<title>Guestbook application using Mongo</title>
		<link>http://sajidally.wordpress.com/2010/05/16/guestbook-application-using-mongo/</link>
		<comments>http://sajidally.wordpress.com/2010/05/16/guestbook-application-using-mongo/#comments</comments>
		<pubDate>Sun, 16 May 2010 11:44:09 +0000</pubDate>
		<dc:creator>sajidally</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sajidally.wordpress.com/?p=260</guid>
		<description><![CDATA[Guestbook application using Mongo In this exercise, I will create a MongHQ account, install Mongomapper on my computer, create the Guestbook application which will consist of a post route as well as guestbook comment page. Atfer testing the application locally, I will then  deploye it  on Heroku. To start with I created an account on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=260&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Guestbook application using Mongo</p>
<p>In this exercise, I will create a MongHQ account, install Mongomapper on my computer, create the Guestbook application which will consist of a post route as well as guestbook comment page. Atfer testing the application locally, I will then  deploye it  on Heroku.</p>
<p>To start with I created an account on MongoHQ. After connecting to MongoHQ.com, I chose sign up for MongoHQ, fig (2).</p>
<p><a href="http://sajidally.files.wordpress.com/2010/05/signup.jpg"><img class="alignnone size-medium wp-image-262" title="signup" src="http://sajidally.files.wordpress.com/2010/05/signup.jpg?w=300&#038;h=194" alt="" width="300" height="194" /></a><br />
Fig 2<br />
The second step is the pricing info, I choose the option to <strong>skip this and use a free datadase</strong> for now option.</p>
<p>The third page is the database options, which are Hosted Databases and Remote Databases. Here we are presented with the options to <strong>(1) Add a database</strong> or <strong>(2)add a remote connection</strong>.</p>
<p>Installng mongo on my local computer, I use the command &#8220;gem install mongo_mapper&#8221; and the following figure shows the result.</p>
<p><a href="http://sajidally.files.wordpress.com/2010/05/mongomapper-installation.jpg"><img class="alignnone size-medium wp-image-261" title="mongomapper installation" src="http://sajidally.files.wordpress.com/2010/05/mongomapper-installation.jpg?w=300&#038;h=236" alt="" width="300" height="236" /></a></p>
<p>To create the guestbook application, I used the command &#8220;rails guestbook&#8221; and below is the result<br />
<strong>rails guestbook</strong><br />
create<br />
create  app/controllers<br />
create  app/helpers<br />
create  app/models<br />
create  app/views/layouts<br />
create  config/environments<br />
create  config/initializers<br />
create  config/locales<br />
create  db<br />
create  doc<br />
create  lib<br />
create  lib/tasks<br />
create  log<br />
create  public/images<br />
create  public/javascripts<br />
create  public/stylesheets<br />
create  script/performance<br />
create  test/fixtures<br />
create  test/functional<br />
create  test/integration<br />
create  test/performance<br />
create  test/unit<br />
create  vendor<br />
create  vendor/plugins<br />
create  tmp/sessions<br />
create  tmp/sockets<br />
create  tmp/cache<br />
create  tmp/pids<br />
create  Rakefile<br />
create  README<br />
create  app/controllers/application_controller.rb<br />
create  app/helpers/application_helper.rb<br />
create  config/database.yml<br />
create  config/routes.rb<br />
create  config/locales/en.yml<br />
create  db/seeds.rb<br />
create  config/initializers/backtrace_silencers.rb<br />
create  config/initializers/inflections.rb<br />
create  config/initializers/mime_types.rb<br />
create  config/initializers/new_rails_defaults.rb<br />
create  config/initializers/session_store.rb<br />
create  config/environment.rb<br />
create  config/boot.rb<br />
create  config/environments/production.rb<br />
create  config/environments/development.rb<br />
create  config/environments/test.rb<br />
create  script/about<br />
create  script/console<br />
create  script/dbconsole<br />
create  script/destroy<br />
create  script/generate<br />
create  script/runner<br />
create  script/server<br />
create  script/plugin<br />
create  script/performance/benchmarker<br />
create  script/performance/profiler<br />
create  test/test_helper.rb<br />
create  test/performance/browsing_test.rb<br />
create  public/404.html<br />
create  public/422.html<br />
create  public/500.html<br />
create  public/index.html<br />
create  public/favicon.ico<br />
create  public/robots.txt<br />
create  public/images/rails.png<br />
create  public/javascripts/prototype.js<br />
create  public/javascripts/effects.js<br />
create  public/javascripts/dragdrop.js<br />
create  public/javascripts/controls.js<br />
create  public/javascripts/application.js<br />
create  doc/README_FOR_APP<br />
create  log/server.log<br />
create  log/production.log<br />
create  log/development.log<br />
create  log/test.log<br />
The next step is to change the config file to use mongo. This is done by first creating a mongo.yml file in the config folder that will contain the following<br />
development:<br />
server: localhost<br />
database: guestbook</p>
<p>test:<br />
server: localhost<br />
database: guestbook-test</p>
<p>production:<br />
server: localhost<br />
database: guestbook-production</p>
<p>Then we need to create another file which is the initializer, called <strong>mongodb.rb </strong>under the folder initializers and which contains the following<br />
require &#8216;mongo_mapper&#8217;<br />
configfile = &#8220;#{RAILS_ROOT}/config/mongodb.yml&#8221;<br />
if File.exist? configfile<br />
config = YAML.load(File.read(configfile))[RAILS_ENV]<br />
if config<br />
MongoMapper.connection = Mongo::Connection.new(config["server"], config["port"] || 27017)<br />
MongoMapper.database = config["database"]<br />
end<br />
end</p>
<p>To start the mongo db I used the command<br />
mongod &#8211;dbpath /data/db or<br />
\mongodb\bin\mongod &#8211;dbpath /data/db</p>
<p>Now I will generate the guestbook controller by typing the following command<br />
ruby script/generate controller guestbook and the result.<br />
<a href="http://sajidally.files.wordpress.com/2010/05/generate.jpg"><img class="alignnone size-medium wp-image-267" title="generate" src="http://sajidally.files.wordpress.com/2010/05/generate.jpg?w=300&#038;h=236" alt="" width="300" height="236" /></a></p>
<p>To create a mongobase, I created a file named mongo_base.rb in the folder models unde folder apps. The program read like this<br />
class MongoBase<br />
include MongoMapper::Document<br />
end</p>
<p>Another file is created in the same folder as above, this time the file is the guestbook model. This file will inherit from mongobase. All the fields will be created here, and there is no need to run the migration process.</p>
<p>class Guestbook &lt; MongoBase<br />
key :title, String, :required =&gt; true<br />
key :name, String<br />
key :comment, String<br />
validates_presence_of :comment<br />
end</p>
<p>Finally the controller is created created with the following codes<br />
class GuestbookController &lt; ApplicationController<br />
def index<br />
@guestbook = Guestbook.all<br />
end<br />
end</p>
<p>After starting the server with the command &#8220;ruby script/server&#8221;, I started Mozilla Firefrox and use the url &#8220;http://127.0.0.1:3000/guestbook&#8221;, and here is the outcome.<br />
<a href="http://sajidally.files.wordpress.com/2010/05/guestbook.jpg"><img class="alignnone size-medium wp-image-271" title="guestbook" src="http://sajidally.files.wordpress.com/2010/05/guestbook.jpg?w=300&#038;h=169" alt="" width="300" height="169" /></a><br />
As expe</p>
<p><strong>References</strong></p>
<p>http://blog.rubyhead.com/2009/12/07/introduction-to-mongodb-part-iii-mongomapper-rails/</p>
<p>http://www.mongodb.org/display/DOCS/MongoDB+Data+Modeling+and+Rails</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sajidally.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sajidally.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sajidally.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sajidally.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sajidally.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sajidally.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sajidally.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sajidally.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sajidally.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sajidally.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sajidally.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sajidally.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sajidally.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sajidally.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sajidally.wordpress.com&amp;blog=12148474&amp;post=260&amp;subd=sajidally&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sajidally.wordpress.com/2010/05/16/guestbook-application-using-mongo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1db35690889f9050b7b708a7e583d70?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sajidally</media:title>
		</media:content>

		<media:content url="http://sajidally.files.wordpress.com/2010/05/signup.jpg?w=300" medium="image">
			<media:title type="html">signup</media:title>
		</media:content>

		<media:content url="http://sajidally.files.wordpress.com/2010/05/mongomapper-installation.jpg?w=300" medium="image">
			<media:title type="html">mongomapper installation</media:title>
		</media:content>

		<media:content url="http://sajidally.files.wordpress.com/2010/05/generate.jpg?w=300" medium="image">
			<media:title type="html">generate</media:title>
		</media:content>

		<media:content url="http://sajidally.files.wordpress.com/2010/05/guestbook.jpg?w=300" medium="image">
			<media:title type="html">guestbook</media:title>
		</media:content>
	</item>
	</channel>
</rss>
