<?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>Ali's Stuff</title>
	<atom:link href="http://alibongo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://alibongo.wordpress.com</link>
	<description>Random snippets of techy stuff. I like stuff. Do you like stuff?</description>
	<lastBuildDate>Wed, 14 Sep 2011 02:45:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='alibongo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ali's Stuff</title>
		<link>http://alibongo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://alibongo.wordpress.com/osd.xml" title="Ali&#039;s Stuff" />
	<atom:link rel='hub' href='http://alibongo.wordpress.com/?pushpress=hub'/>
		<item>
		<title>VirtualBox and Shared Folders</title>
		<link>http://alibongo.wordpress.com/2011/09/09/virtualbox-and-shared-folders/</link>
		<comments>http://alibongo.wordpress.com/2011/09/09/virtualbox-and-shared-folders/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 23:16:37 +0000</pubDate>
		<dc:creator>alibongo</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtualbox]]></category>

		<guid isPermaLink="false">http://alibongo.wordpress.com/?p=43</guid>
		<description><![CDATA[I&#8217;ve just spent a whole day working this out, so I absolutely have to share this with anyone who cares. Here&#8217;s my environment: Windows 7 SP1 Host VirtualBox 4.1.2 Ubuntu 10 x86 Guest Ubuntu 11 x64 Guest I hit two things during this install: that a shared folder couldn&#8217;t be read by the Ubuntu user; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=43&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just spent a whole day working this out, so I absolutely have to share this with anyone who cares. Here&#8217;s my environment:</p>
<ul>
<li>Windows 7 SP1 Host</li>
<li>VirtualBox 4.1.2</li>
<li>Ubuntu 10 x86 Guest</li>
<li>Ubuntu 11 x64 Guest</li>
</ul>
<p>I hit two things during this install: that a shared folder couldn&#8217;t be read by the Ubuntu user; and the VM crashed when I shut it down after adding the Guest Addons. I worked out both issues, and for the benefit of all am going to write them down in my blog.</p>
<p><strong>Shared Folder Cannot be Read</strong></p>
<p>After following all the docs I could find about setting up a shared folder, I realised it was doing what it was supposed to but there was a permissions problem. When I tried to view the /media/sf_<em>sharedDiskName</em> directory (which is where Virtual Box mounts the shared folder from the host) I got an error saying I didn&#8217;t have permission to read that folder. I needed to add the vboxsf group to my user&#8217;s groups, and reboot and that did the trick. Here&#8217;s the procedure to add a shared drive:</p>
<ol>
<li>Add the shared drive using the VirtualBox UI (either with VM started or stopped).</li>
<li>Start up the VM if it isn&#8217;t running and add the vboxsf group to your user. Do this using the <strong>System</strong> &gt; <strong>Administration</strong> &gt; <strong>Users and Groups</strong> dialog. Click <strong>Manage Groups</strong> and look for the <strong>vboxsf</strong> group. Select it and click <strong>Properties</strong> and add your user to this group.</li>
<li>Restart the VM.</li>
</ol>
<p>Voila it works! So easy when you know how!</p>
<p><strong>VM Crashed When Shutdown/Restarted</strong></p>
<p>The other issue I had was the VM crashing when I shut it down or turned it off. The crash happened almost immediately on issuing the shutdown/restart command. I worked out that I had 3D Acceleration checked in the VM Settings and this was the culprit. You won&#8217;t see this crash until you install the Guest Addons, then the crashes will begin on shutdown. So, to fix this, turn off 3D acceleration.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alibongo.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alibongo.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alibongo.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alibongo.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alibongo.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alibongo.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alibongo.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alibongo.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alibongo.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alibongo.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alibongo.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alibongo.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alibongo.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alibongo.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=43&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alibongo.wordpress.com/2011/09/09/virtualbox-and-shared-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aee4229e68cfad4639bf4c4ad3cc95e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alibongo</media:title>
		</media:content>
	</item>
		<item>
		<title>The End of Microsoft is Nigh</title>
		<link>http://alibongo.wordpress.com/2007/07/11/the-end-of-microsoft-is-nigh/</link>
		<comments>http://alibongo.wordpress.com/2007/07/11/the-end-of-microsoft-is-nigh/#comments</comments>
		<pubDate>Wed, 11 Jul 2007 11:07:29 +0000</pubDate>
		<dc:creator>alibongo</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[predictions]]></category>
		<category><![CDATA[user interface]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://alibongo.wordpress.com/2007/07/11/the-end-of-microsoft-is-nigh/</guid>
		<description><![CDATA[Yeah, yeah, I hear you all say. I didn&#8217;t think it was really possible either. But now I&#8217;m starting to believe it is, and it will be soon. Here are the barriers I see to the end of Microsoft, that is, what we really need as end users to make the change: A new, intuitive [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=41&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yeah, yeah, I hear you all say. I didn&#8217;t think it was really possible either. But now I&#8217;m starting to believe it is, and it will be soon. Here are the barriers I see to the end of Microsoft, that is, what we really need as end users to make the change:</p>
<ul>
<li>A new, intuitive interface (that means, we don&#8217;t have to relearn what we already know, or learn what we don&#8217;t. Harder that you&#8217;d imagine, but not impossible.</li>
<li>A stable operating system. It must not crash (too) often. A crash now and then is really inevitable. Or is it?</li>
<li>Free software, or at the very least, affordable to everyone. And I mean very cheap, not US$800 for a a single piece of software. I&#8217;m thinking more like $10, which is still outrageous to many people!</li>
<li>Office productivity tools that are at least as easy-to-use and useful as Microsoft Office products.</li>
<li>Games and audio software that runs even better on these new platforms.</li>
<li>Cheap hardware. Well, we really do have this now. The machines we&#8217;re using now are more sophisticated and faster than anything I could have imagined when I started in this IT game. Yes, it was a bloody long time ago!</li>
</ul>
<p>These are just a few of requirements that I&#8217;ve been pondering of late. If I gave it more than a few minutes thought, I could come up with a very long, and detailed list, but I&#8217;ll leave it at the main ones for now.</p>
<p>So, why has Microsoft kept such a choke-hold on the desktops of the enterprise and the home? We all know this, so I won&#8217;t bore you with the bundling strategies they got the hardware vendors to sign up to, and I won&#8217;t bore you with the law suits that stifled creativity, and the big boys throwing sand in the eyes of the little school starters in the playground. It&#8217;s so Web 1.0.</p>
<p>Web 1.0. I know that doesn&#8217;t even exist, but then nor does Web 2.0. It&#8217;s just a marketing slogan, like the Information Superhighway (I hated that with a passion). Web 2.0 is just a bunch of clever widgets created with Dynamic HTML (DHMTL), which is essentially Javascript controlling Cascading Style Sheets (CSS). Write a few of these widgets, reuse them in other applications, and you&#8217;ve got this fancy-pants new user interface that wasn&#8217;t able to be done before the current-day web browsers. We&#8217;ve all been waiting for this forever, and now all the ducks are in a row, and we can start shooting them down with our widget guns.</p>
<p>Back to my point.</p>
<p>Now our web-based interfaces are becoming more useable, we&#8217;ve started on our way to the end of Microsoft as the platform of choice.</p>
<p>Open source really is the future of software. Sure, the business model still needs some working on, but the idea of free software, and users paying for support really rocks my world. It blows my hair back better than my turbo-powered hair dryer.</p>
<p>The Linux operating system, in all its many fine flavours, is really starting to make me a happy lass. The interfaces are improving. The development and support models are improving, with some big players getting involved and offering real enterprise-level offerings. If the user interface improves to the point that any old Microsoft user can make it do what they want, without too much frustration, I think we have a winner.</p>
<p>As for office productivity, <a href="http://www.openoffice.org/">Open Office</a> goes a long way to this. Really, it does. I rarely use MSOffice anymore, and rely solely on OO. If you haven&#8217;t tried it before, or haven&#8217;t even heard of it, go download it now and give it a go. Did I mention it&#8217;s free? Oh goodness, free? Really? How do they do it?</p>
<p>So what&#8217;s the point to this ramble? I&#8217;m looking forward to the next 5-6 years in the open source development world. I think things will really change. If a group of developers get together and really, really think about the interface, then we will all win. Steve Jobs showed us what a great interface is oh so many years ago, but I think even Apple have lost the path lately. I love love love Apple, but I still think their UI could be better. I think everybody&#8217;s UI <strong>should</strong> be better.</p>
<p>I think it&#8217;s time I took a job in interface design. I could save the world.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alibongo.wordpress.com/41/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alibongo.wordpress.com/41/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alibongo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alibongo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alibongo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alibongo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alibongo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alibongo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alibongo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alibongo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alibongo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alibongo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alibongo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alibongo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alibongo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alibongo.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=41&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alibongo.wordpress.com/2007/07/11/the-end-of-microsoft-is-nigh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aee4229e68cfad4639bf4c4ad3cc95e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alibongo</media:title>
		</media:content>
	</item>
		<item>
		<title>Myspace Vs Facebook</title>
		<link>http://alibongo.wordpress.com/2007/07/06/myspace-vs-facebook/</link>
		<comments>http://alibongo.wordpress.com/2007/07/06/myspace-vs-facebook/#comments</comments>
		<pubDate>Fri, 06 Jul 2007 03:44:41 +0000</pubDate>
		<dc:creator>alibongo</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[myspace]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[skins]]></category>

		<guid isPermaLink="false">http://alibongo.wordpress.com/2007/07/06/myspace-vs-facebook/</guid>
		<description><![CDATA[I&#8217;ve been doing a fair bit of playing with Facebook lately. It seems pretty good. A nice Web 2.0 application, which shits all over the myspace UI design. Okay, you can&#8217;t customize style sheets, but personally, I&#8217;m more than happy with that. The number of disgusting myspace pages out there absolutely offends my sense of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=40&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing a fair bit of playing with Facebook lately. It seems pretty good. A nice Web 2.0 application, which shits all over the myspace UI design. Okay, you can&#8217;t customize style sheets, but personally, I&#8217;m more than happy with that. The number of disgusting myspace pages out there absolutely offends my sense of UI design. People who use the CSS to make their pages unreadable should not be allowed accounts. In my opinion, that level of customization shouldn&#8217;t be allowed by people who have no idea of how CSS works, and good design knowledge. So that&#8217;s where Facebook really kicks butt. No user CSS customization. At least within the UI. You can, however, add a (real) user style sheet to Facebook. There are a number of predesigned Firefox extensions that let you do this, and that&#8217;s how user CSS should be used in my opinion. Let me decide how to format and colour your page. Don&#8217;t make me see your appalling attempt at it. It&#8217;ll just make me think you&#8217;re an idiot.</p>
<p>I also love the drag and click model of the UI widgets. Why has myspace been so slow in adopting this, when Facebook does it so easily?</p>
<p>I think there are some very childish and useless widgets on Facebook though. That bloody Zombie widget that&#8217;s taking over at the moment, and the number of different Wall widgets seems a bit silly. Perhaps the Facebook team could spend a bit more time vetting what&#8217;s made available. Perhaps even commission the good ones, and dump the dodgy ones. I also like the model of making a few dollars by writing a decent widget that costs pennies to the user, but can reap huge rewards for the developer.  I&#8217;m considering writing one myself to practice my Web2.0 and PHP skills. I&#8217;m about to go read the developer doc and see how it all works. Might be a fun little project. Perhaps a customizable style sheet? Argh!</p>
<p>So far I&#8217;ve managed to intergrate my flickr site with Facebook, and I&#8217;m about to figure out how I can link in my blogs other than just using links. If you know, please feel free to post a comment and let me know. Any other Facebook hints would be handy too.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alibongo.wordpress.com/40/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alibongo.wordpress.com/40/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alibongo.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alibongo.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alibongo.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alibongo.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alibongo.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alibongo.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alibongo.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alibongo.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alibongo.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alibongo.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alibongo.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alibongo.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alibongo.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alibongo.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=40&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alibongo.wordpress.com/2007/07/06/myspace-vs-facebook/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aee4229e68cfad4639bf4c4ad3cc95e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alibongo</media:title>
		</media:content>
	</item>
		<item>
		<title>Yahoo Mail Beta Won&#8217;t Load</title>
		<link>http://alibongo.wordpress.com/2007/06/15/yahoo-mail-beta-wont-load/</link>
		<comments>http://alibongo.wordpress.com/2007/06/15/yahoo-mail-beta-wont-load/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 01:51:19 +0000</pubDate>
		<dc:creator>alibongo</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://alibongo.wordpress.com/2007/06/15/yahoo-mail-beta-wont-load/</guid>
		<description><![CDATA[I&#8217;ve been having lots of problems loading Yahoo mail lately. It started with Firefox 2.0.0.4. All of a sudden I just couldn&#8217;t get past the login screen. Nothing would display. Nothing in the source, no errors. Just nothing. So I started using IE to read Yahoo mail. Then I upgraded to IE7, and Yahoo Mail [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=39&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been having lots of problems loading Yahoo mail lately. It started with Firefox 2.0.0.4. All of a sudden I just couldn&#8217;t get past the login screen. Nothing would display. Nothing in the source, no errors. Just nothing. So I started using IE to read Yahoo mail. Then I upgraded to IE7, and Yahoo Mail became unstable again. Random HTTP errors. So it became unusable again. I cleared my cookies, cache, and removed my adblocker extensions. It just got worse and worse.</p>
<p>So yesterday I logged in on my trusty Mac, and switched from the Yahoo Beta to the standard Yahoo. I&#8217;m back in business everywhere now. What a shame. I hate the old style, but it&#8217;s the only version that works.</p>
<p>I&#8217;ll just have to use Gmail as my main free email now, and relegate Yahoo to the spam email system.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alibongo.wordpress.com/39/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alibongo.wordpress.com/39/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alibongo.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alibongo.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alibongo.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alibongo.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alibongo.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alibongo.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alibongo.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alibongo.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alibongo.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alibongo.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alibongo.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alibongo.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alibongo.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alibongo.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=39&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alibongo.wordpress.com/2007/06/15/yahoo-mail-beta-wont-load/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aee4229e68cfad4639bf4c4ad3cc95e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alibongo</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing PEAR on Linux</title>
		<link>http://alibongo.wordpress.com/2007/06/13/installing-pear-on-linux/</link>
		<comments>http://alibongo.wordpress.com/2007/06/13/installing-pear-on-linux/#comments</comments>
		<pubDate>Wed, 13 Jun 2007 05:24:28 +0000</pubDate>
		<dc:creator>alibongo</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://alibongo.wordpress.com/2007/06/13/installing-pear-on-linux/</guid>
		<description><![CDATA[I recently had to install PEAR into a PHP environment on a Linux machine, and as I did the install I wrote it up. This information is pretty easy to find, but I like to write these things up so I don&#8217;t forget them in future and have to keep going round in circles trying [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=38&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently had to install PEAR into a PHP environment on a Linux machine, and as I did the install I wrote it up. This information is pretty easy to find, but I like to write these things up so I don&#8217;t forget them in future and have to keep going round in circles trying to find information. I thought it might be useful for others, so here it is.</p>
<h2>Installing PEAR into a PHP/Apache install</h2>
<p>Download the go-pear.php script from <a href="http://go-pear.org/">http://go-pear.org/</a>.</p>
<p>Open a command line shell and run the script:</p>
<pre>php go-pear.php</pre>
<pre>Welcome to go-pear!</pre>
<pre>
Go-pear will install the 'pear' command and all the files needed by</pre>
<pre>it. This command is your tool for PEAR installation and maintenance.</pre>
<pre>
Go-pear also lets you download and install the PEAR packages bundled</pre>
<pre>with PHP: MDB2.</pre>
<pre>
If you wish to abort, press Control-C now, or press Enter to continue:</pre>
<pre>
HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none:: http://my-proxy-server.com:80</pre>
<pre>
Below is a suggested file layout for your new PEAR installation.  To</pre>
<pre>change individual locations, type the number in front of the</pre>
<pre>directory.  Type 'all' to change all of them or simply press Enter to</pre>
<pre>accept these locations.</pre>
<pre>
 1. Installation prefix           : /usr</pre>
<pre> 2. Binaries directory            : $prefix/bin</pre>
<pre> 3. PHP code directory ($php_dir) : $prefix/share/pear</pre>
<pre> 4. Documentation base directory  : $php_dir/docs</pre>
<pre> 5. Data base directory           : $php_dir/data</pre>
<pre> 6. Tests base directory          : $php_dir/tests</pre>
<pre> 7. Temporary files directory     : $prefix/temp</pre>
<pre>
1-7, 'all' or Enter to continue:</pre>
<pre>
The following PEAR packages are bundled with PHP: MDB2.</pre>
<pre>Would you like to install these as well? [Y/n] : Y</pre>
<pre>
Loading zlib: ok</pre>
<pre>Downloading package: PEAR-stable......ok</pre>
<pre>Downloading package: Archive_Tar-stable....ok</pre>
<pre>Downloading package: Console_Getopt-stable....ok</pre>
<pre>Downloading package: Structures_Graph-stable....ok</pre>
<pre>Bootstrapping: PEAR...................(remote) ok</pre>
<pre>Bootstrapping: Archive_Tar............(remote) ok</pre>
<pre>Bootstrapping: Console_Getopt.........(remote) ok</pre>
<pre>Downloading package: MDB2.............ok</pre>
<pre>Extracting installer..................ok</pre>
<pre>warning: pear/PEAR requires package "pear/Archive_Tar" (version &gt;= 1.3.1)</pre>
<pre>warning: pear/PEAR requires package "pear/Console_Getopt" (version &gt;= 1.2)</pre>
<pre>warning: pear/PEAR requires package "pear/Structures_Graph" (version &gt;= 1.0.2)</pre>
<pre>pear/PEAR can optionally use package "pear/XML_RPC" (version &gt;= 1.4.0)</pre>
<pre>pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version &gt;= 0.5.0)pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk" (version &gt;= 0.4.0)install ok: channel://pear.php.net/PEAR-1.5.4</pre>
<pre>install ok: channel://pear.php.net/Archive_Tar-1.3.2</pre>
<pre>install ok: channel://pear.php.net/Console_Getopt-1.2.2</pre>
<pre>install ok: channel://pear.php.net/Structures_Graph-1.0.2</pre>
<pre>install ok: channel://pear.php.net/MDB2-2.4.1</pre>
<pre>MDB2: Optional feature fbsql available (Frontbase SQL driver for MDB2)</pre>
<pre>MDB2: Optional feature ibase available (Interbase/Firebird driver for MDB2)</pre>
<pre>MDB2: Optional feature mysql available (MySQL driver for MDB2)</pre>
<pre>MDB2: Optional feature mysqli available (MySQLi driver for MDB2)</pre>
<pre>MDB2: Optional feature mssql available (MS SQL Server driver for MDB2)</pre>
<pre>MDB2: Optional feature oci8 available (Oracle driver for MDB2)</pre>
<pre>MDB2: Optional feature pgsql available (PostgreSQL driver for MDB2)</pre>
<pre>MDB2: Optional feature querysim available (Querysim driver for MDB2)</pre>
<pre>MDB2: Optional feature sqlite available (SQLite2 driver for MDB2)</pre>
<pre>To install use "pear install pear/MDB2#featurename"</pre>
<pre>
The 'pear' command is now at your service at /usr/bin/pear</pre>
<p>You can now use PEAR to install PHP extensions. See <a href="http://www.go-pear.org/">http://www.go-pear.org/</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alibongo.wordpress.com/38/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alibongo.wordpress.com/38/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alibongo.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alibongo.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alibongo.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alibongo.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alibongo.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alibongo.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alibongo.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alibongo.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alibongo.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alibongo.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alibongo.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alibongo.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alibongo.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alibongo.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=38&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alibongo.wordpress.com/2007/06/13/installing-pear-on-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aee4229e68cfad4639bf4c4ad3cc95e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alibongo</media:title>
		</media:content>
	</item>
		<item>
		<title>Finally VOIP is in Australia</title>
		<link>http://alibongo.wordpress.com/2007/06/07/finally-voip-is-in-australia/</link>
		<comments>http://alibongo.wordpress.com/2007/06/07/finally-voip-is-in-australia/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 04:35:11 +0000</pubDate>
		<dc:creator>alibongo</dc:creator>
				<category><![CDATA[australia]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://alibongo.wordpress.com/2007/06/07/finally-voip-is-in-australia/</guid>
		<description><![CDATA[I&#8217;ve been waiting for a long time for this. Skype has got their act together locally. They&#8217;re offering a real VOIP service in Australia, for a reasonable price. As I have a kick-arse connection at home, I&#8217;ve decided to give up my land line. I just called Optus to cancel it. They really didn&#8217;t want [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=37&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been waiting for a long time for this. Skype has got their act together locally. They&#8217;re offering a real <a href="http://www.theage.com.au/news/voip/skype-offers-cheapaschips-local-calls/2007/06/07/1181089204982.html">VOIP service in Australia</a>, for a reasonable price. As I have a kick-arse connection at home, I&#8217;ve decided to give up my land line. I just called Optus to cancel it. They really didn&#8217;t want me to. They first offered me $10 off my $19 a month phone connection, then made a final offer of $15 a month. They were really trying. But I am totally insistent that I shall never have a land line again. I never use it and the only time it rings is when telemarketers call over dinner. So I now have no home phone, only my mobile, and cable broadband.</p>
<p>Ah, I feel so much better being free of the shackles of a home phone.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alibongo.wordpress.com/37/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alibongo.wordpress.com/37/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alibongo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alibongo.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alibongo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alibongo.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alibongo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alibongo.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alibongo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alibongo.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alibongo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alibongo.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alibongo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alibongo.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alibongo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alibongo.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=37&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alibongo.wordpress.com/2007/06/07/finally-voip-is-in-australia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aee4229e68cfad4639bf4c4ad3cc95e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alibongo</media:title>
		</media:content>
	</item>
		<item>
		<title>My Oracle blog has moved</title>
		<link>http://alibongo.wordpress.com/2006/04/20/my-oracle-blog-has-moved/</link>
		<comments>http://alibongo.wordpress.com/2006/04/20/my-oracle-blog-has-moved/#comments</comments>
		<pubDate>Thu, 20 Apr 2006 07:19:00 +0000</pubDate>
		<dc:creator>alibongo</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://alibongo.wordpress.com/2006/04/20/my-oracle-blog-has-moved/</guid>
		<description><![CDATA[I&#8217;ve moved these few articles to my latest, greatest blog at: http://blogs.oracle.com/alison This blog will only remain here for another few weeks before I hit delete. Please change any bookmarks to the new blog. Alison<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=5&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve moved these few articles to my latest, greatest blog at:</p>
<p><a href="http://blogs.oracle.com/alison">http://blogs.oracle.com/alison </a></p>
<p>This blog will only remain here for another few weeks before I hit delete. Please change any bookmarks to the new blog.</p>
<p>Alison</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alibongo.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alibongo.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alibongo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alibongo.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alibongo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alibongo.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alibongo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alibongo.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alibongo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alibongo.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alibongo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alibongo.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alibongo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alibongo.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alibongo.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alibongo.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=5&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alibongo.wordpress.com/2006/04/20/my-oracle-blog-has-moved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aee4229e68cfad4639bf4c4ad3cc95e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alibongo</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle Database Connection Strings in PHP</title>
		<link>http://alibongo.wordpress.com/2006/02/24/oracle-database-connection-strings-in-php/</link>
		<comments>http://alibongo.wordpress.com/2006/02/24/oracle-database-connection-strings-in-php/#comments</comments>
		<pubDate>Fri, 24 Feb 2006 03:24:00 +0000</pubDate>
		<dc:creator>alibongo</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://alibongo.wordpress.com/2006/02/24/oracle-database-connection-strings-in-php/</guid>
		<description><![CDATA[Oracle Database Connection Strings in PHP It&#8217;s easy to get confused as to how to specificy your Oracle database connection string, and there&#8217;s a handy new feature in Oracle 10g that makes this a whole lot easier. So here&#8217;s a little rundown of the three ways to connect to Oracle databases. You can use the: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=4&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1>Oracle Database Connection Strings in PHP</h1>
<p>It&#8217;s easy to get confused as to how to specificy your Oracle database connection string, and there&#8217;s a handy new feature in Oracle 10<span style="font-style:italic;">g</span> that makes this a whole lot easier. So here&#8217;s a little rundown of the three ways to connect to Oracle databases. You can use the:</p>
<ul>
<li>tnsnames.ora file</li>
<li>Full connection string</li>
<li>Easy connect string</li>
</ul>
<p>These examples show how to specificy an Oracle connection string using the new OCI8 functions in PHP.</p>
<h2>tnsnames.ora File</h2>
<p>The tnsnames.ora file is a client side file that maps an alias used by client<br />
programs to a database service. It is used to connect to a non-default database. Here you have to have an entry in the tnsnames.ora file, and reference the alias to that entry in your connection code.</p>
<p>PHP code:</p>
<p><code>oci_connect($un, $pw, 'MYDB');</code></p>
<p>tnsnames.ora entry</p>
<p><code>MYDB = (DESCRIPTION =<br />
(ADDRESS = (PROTOCOL = TCP)<br />
(HOST = mymachine.mydomain)(PORT = 1521))<br />
(CONNECT_DATA =<br />
(SERVER = DEDICATED)<br />
(SERVICE_NAME = MYDB.AU.ORACLE.COM)) )</code></p>
<h2>Full Connection String</h2>
<p>The full connection string does not require the use of a tnsnames.ora file.<br />
You need to enter the full connection string when you connect to the database in your code.</p>
<p>PHP code:<br />
<code></code></p>
<p><code>oci_connect($un, $pw,<br />
'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mymachine.mydomain)(PORT=1521))<br />
(CONNECT_DATA=(SERVER=DEDICATED)<br />
(SERVICE_NAME = MYDB)))');</code></p>
<h2> Easy Connect String</h2>
<p>This is one Oracle 10<span style="font-style:italic;">g</span> feature that I use daily. As I constantly connect to so many different databases in my day, this has saved me so much time as I don&#8217;t have to configure anything, just know the machine name and the database alias and I&#8217;m off.</p>
<p>The easy connect string does not require the use of a tnsnames.ora file, and is an abbreviated version of the full connection string. you must have the Oracle 10<em>g</em> client-side libraries to use the easy connect string.</p>
<p>PHP code:<br />
<code></code></p>
<p><code>oci_connect($un, $pw, '//mymachine.mydomain:port/MYDB');</code></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alibongo.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alibongo.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alibongo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alibongo.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alibongo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alibongo.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alibongo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alibongo.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alibongo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alibongo.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alibongo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alibongo.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alibongo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alibongo.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alibongo.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alibongo.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=4&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alibongo.wordpress.com/2006/02/24/oracle-database-connection-strings-in-php/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aee4229e68cfad4639bf4c4ad3cc95e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alibongo</media:title>
		</media:content>
	</item>
		<item>
		<title>Integrating PHP Web Services using Oracle BPEL Ali&#8230;</title>
		<link>http://alibongo.wordpress.com/2006/01/17/integrating-php-web-services-using-oracle-bpel-ali/</link>
		<comments>http://alibongo.wordpress.com/2006/01/17/integrating-php-web-services-using-oracle-bpel-ali/#comments</comments>
		<pubDate>Tue, 17 Jan 2006 02:37:00 +0000</pubDate>
		<dc:creator>alibongo</dc:creator>
				<category><![CDATA[BPEL]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://alibongo.wordpress.com/2006/01/17/integrating-php-web-services-using-oracle-bpel-ali/</guid>
		<description><![CDATA[Integrating PHP Web Services using Oracle BPEL Alison Holloway, Product Manager, Oracle Corporation January 2006 Introduction In November 2005 I attended the PHP Conference in Frankfurt. At that conference I did a demonstration which showed how to integrate PHP Web Services using Oracle BPEL, and the Oracle JDeveloper PHP Extension. I have written up that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=3&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1>Integrating PHP Web Services using Oracle BPEL</h1>
<p>Alison Holloway, Product Manager, Oracle Corporation</p>
<p>January 2006</p>
<h2>Introduction</h2>
<p>In November 2005 I attended the PHP Conference in Frankfurt. At that conference<br />
I did a demonstration which showed how to integrate PHP Web Services using Oracle<br />
BPEL, and the Oracle JDeveloper PHP Extension. I have written up that demo for<br />
others to get an overview of what I talked about and showed to the conference<br />
attendees.</p>
<p>If you have PHP web services you want to integrate into a new web service,<br />
or business process, then BPEL is your answer. BPEL lets you orchestrate your<br />
disparate web services into new web services. You can even use the BPEL web<br />
services as part of another BEPL web service. The beauty of web services is<br />
that they can be in a variety of languages, so you can reuse your PHP web services<br />
and ones in other languages.</p>
<p>This article gives an overview of the tools you could use to create BPEL processes:</p>
<ul>
<li>Oracle JDeveloper 10<em>g</em> PHP Extension &#8211; an extension to Oracle JDeveloper<br />
10<em>g</em> to create and edit PHP scripts, with syntax highlighting and<br />
sample code to create connections to an Oracle database.</li>
<li>Oracle BPEL Designer &#8211; an extension to Oracle JDeveloper 10<em>g</em> to<br />
graphically create and orchestrate BPEL processes.</li>
<li> Oracle BPEL Console &#8211; a web service to start, stop, monitor and debug BPEL<br />
processes.</li>
<li>Oracle BPEL Worklist &#8211; a web service to interract with BPEL processes that<br />
require user intervention.</li>
</ul>
<p>These tools help you to quickly get started creating BPEL processes to incorporate<br />
your PHP web services into new business processes.</p>
<p>Let&#8217;s suppose you have a departmental application to approve employee leave<br />
requests. A PHP developer has written this application as a web service and<br />
managers log into the application to manage the leave requests. The employee<br />
leave request table contains a row with the identifier of 1004, which is a leave<br />
request for an employee, CJONES. You can see this leave request in the PHP web<br />
service used by department managers to approve employee leave requests.</p>
<p><a href="http://photos1.blogger.com/blogger/6781/85/1600/leave_request_start.0.jpg"><img src="http://photos1.blogger.com/blogger/6781/85/320/leave_request_start.0.jpg" alt="Figure 1, PHP Web Service Interface" border="0" /></a></p>
<p><em>Figure 1, PHP Web Service Consumer Interface</em></p>
<p>This is a standalone application that you now want to incorporate into a new<br />
company-wide business process as a web service. You can use BPEL to do this.<br />
Let&#8217;s now run through the Oracle BPEL and PHP tools.</p>
<h2>Oracle JDeveloper 10<em>g</em> PHP Extension</h2>
<p>This PHP web service was written using the Oracle JDeveloper 10<em>g</em> PHP<br />
Extension. This extension was written by Oracle and gives you, amongst other<br />
things, PHP code syntax highlighting, and some snippets of code that help you<br />
get started creating connections to an Oracle Database. Here&#8217;s a look at the<br />
PHP Extension in action.</p>
<p><a href="http://photos1.blogger.com/blogger/6781/85/1600/jdev_phpext.jpg"><img src="http://photos1.blogger.com/blogger/6781/85/320/jdev_phpext.jpg" alt="Figure 2, Oracle JDeveloper 10g PHP Extension" border="0" /></a></p>
<p><em>Figure 2, Oracle JDeveloper 10g PHP Extension</em></p>
<p>The code snippets shown in the Component Palette are included in the PHP Extension<br />
and enable to to quickly create database connections and run SQL statements.<br />
The Structure pane includes a list of PHP functions and their respective variables.</p>
<p>Although the PHP Extension doesn&#8217;t give you PHP debugging, it may be useful<br />
if you want to write or edit PHP files while creating a BPEL application.</p>
<p>To create a BPEL process which will incorporate this PHP web service, you would<br />
use the Oracle BPEL Designer.</p>
<h2>Oracle BPEL Designer</h2>
<p>The Oracle BPEL Designer is another extension to Oracle JDeveloper 10<em>g</em>.<br />
I would suggest installing the Oracle BPEL Designer (Oracle JDeveloper 10<em>g</em><br />
and the BPEL Designer Extension) first, and then add the PHP Extension. There<br />
is also an Oracle BPEL Designer extension available for Eclipse, although this<br />
doesn&#8217;t include the Oracle-specific features.</p>
<p>Here&#8217;s a look at the BPEL Designer interface.</p>
<p><a href="http://photos1.blogger.com/blogger/6781/85/1600/jdev.jpg"><img src="http://photos1.blogger.com/blogger/6781/85/320/jdev.jpg" alt="Figure 3, Oracle BPEL Designer Interface" border="0" /></a></p>
<p><em>Figure 3, Oracle BPEL Designer Interface</em></p>
<p>The BPEL Designer gives you a graphical tool to create and orchestrate BPEL<br />
processes. For example, you can click and drag in PartnerLinks (links to WSDL<br />
files for web services), User Tasks (interraction by a user), add decision making<br />
elements such as While loops, Waits, Switches, and throw errors.</p>
<p>The BPEL process shown here includes a Partner Link to a database adapter,<br />
called DBRead in Figure 3. This enables you to make direct calls to an Oracle<br />
Database to query and update data. This BPEL process queries the database using<br />
the leave request ID and returns the row associated with that ID. The BPEL process<br />
then manipulates the results using XSLT and XQuery functions to format the query<br />
results, and create new variables required by the process.</p>
<p>There is also some decision making in the process. In this case, there is a<br />
switch statement which enables different actions to be performed depending on<br />
whether the leave request is approved, denied, or an error is generated.</p>
<p>If the employee leave request is approved, the BPEL process will use the PHP<br />
web service, called PHPUpdateDB in Figure 3, to delete the row from the departmental<br />
table. The BPEL process can then update the main human resources database with<br />
the employee leave request information using another web service, or a direct<br />
database update using a database adapter.</p>
<p>When the BPEL process is ready to deploy, the BPEL Designer will generate all<br />
the required deployment information and deploy it to the BPEL Process Manager<br />
Server.</p>
<h2>BPEL Process Manager</h2>
<p>The BPEL Process Manager is a J2EE application which allows you to start, stop,<br />
monitor, debug, and kill BPEL processes. You can monitor the state of all the<br />
BPEL processes and drill down to individual SOAP messages. This is useful for<br />
debugging processes while you&#8217;re developing them, as well as monitoring them<br />
when they have been deployed.</p>
<p>The BPEL Process Manager can be deployed to a standalone OC4J instance (which<br />
is the default deployment option and included in the BPEL Process Manager),<br />
or to another J2EE compliant server.</p>
<p>When the BPEL process is deployed, use the BPEL Work Console to start and stop,<br />
monitor, and debug BPEL processes.</p>
<h2>BPEL Work Console</h2>
<p>The BPEL Work Console is used to start, monitor and debug BPEL processes. The<br />
BPEL Work Console is a web service and sends a SOAP message to the BPEL process.<br />
Using the LeaveRequestID of 1004 and sending the process an XML message will<br />
start the process.</p>
<p><a href="http://photos1.blogger.com/blogger/6781/85/1600/bpel_console_start.jpg"><img src="http://photos1.blogger.com/blogger/6781/85/320/bpel_console_start.jpg" alt="Figure 4, Starting a BPEL process using the Oracle BPEL Console Interface" border="0" /></a></p>
<p><em>Figure 4, Starting a BPEL process using the Oracle BPEL Console Interface</em></p>
<p>The BPEL process verifies that the LeaveRequestID exists by using a Database<br />
PartnerLink (web service) to select a row from the table and retrieve the contents<br />
of that row. This is a direct database query and does not use the PHP web service.</p>
<p>When the BPEL process is started, the BPEL Console displays a screen with options<br />
to visually track the flow, audit it using XML, or to debug it.</p>
<p><a href="http://photos1.blogger.com/blogger/6781/85/1600/bpel_console_started.jpg"><img src="http://photos1.blogger.com/blogger/6781/85/320/bpel_console_started.jpg" alt="Figure 5, BPEL process monitoring options using the Oracle BPEL Console Interface" border="0" /></a></p>
<p><em>Figure 5, BPEL process monitoring options using the Oracle BPEL Console<br />
Interface</em></p>
<p>The Visual Flow is a very easy way to see what state the process is in, what<br />
variables have been passed, what decisions have been made, and what errors may<br />
have been generated. In this case, the BPEL process has halted and is waiting<br />
for manual intervention at the receiveUpdate&#8230; User Task.</p>
<p><a href="http://photos1.blogger.com/blogger/6781/85/1600/bpel_console_flow01.jpg"><img src="http://photos1.blogger.com/blogger/6781/85/320/bpel_console_flow01.jpg" alt="Figure 6, BPEL process waiting for user input using the Oracle BPEL Console Interface" border="0" /></a></p>
<p><em>Figure 6, BPEL process waiting for user input using the Oracle BPEL Console<br />
Interface</em></p>
<p>You could write an application yourself which would allow you to interract<br />
with the BPEL process (web service), or you can use the Oracle BPEL Worklist.<br />
The BPEL Worklist is a supplied web service which enables you to interract with<br />
BPEL processes that require user intervention.</p>
<p>The BPEL Worklist shows a list of the User Tasks assigned to a manager. In<br />
this case, it is the approval of the employee leave request.</p>
<p><a href="http://photos1.blogger.com/blogger/6781/85/1600/bpel_worklist_acquire.jpg"><img src="http://photos1.blogger.com/blogger/6781/85/320/bpel_worklist_acquire.jpg" alt="Figure 7, Acquiring a task using the BPEL Worklist Interface" border="0" /></a></p>
<p><em>Figure 7, Acquiring a task using the BPEL Worklist Interface</em></p>
<p>The task must be acquired by the manager before any action or decision can<br />
be made on it. Once the task is acquired, the manager can approve, reject or<br />
escalate the task to a supervisor.</p>
<p>The escalation heirarchy is managed by JAZN (Oracle&#8217;s implementation of Java<br />
Authentication and Authorization Service (JAAS)) and can be either set up using<br />
the JAZN interface, or connected to an LDAP or SSO Server.</p>
<p><a href="http://photos1.blogger.com/blogger/6781/85/1600/bpel_worklist_approve.jpg"><img src="http://photos1.blogger.com/blogger/6781/85/320/bpel_worklist_approve.jpg" alt="Figure 8, Approving a task using the BPEL Worklist Interface" border="0" /></a></p>
<p><em>Figure 8, Approving a task using the BPEL Worklist Interface </em></p>
<p>When the task is approved, the BEPL process receives a message from the Worklist<br />
web service and continues processing. The BPEL process continues through its<br />
decision making and processing, assigning variables to whatever is required<br />
using simple transformations, or XSLT.</p>
<p><a href="http://photos1.blogger.com/blogger/6781/85/1600/bpel_console_finish.jpg"><img src="http://photos1.blogger.com/blogger/6781/85/320/bpel_console_finish.jpg" alt="Figure 9, BPEL process execution completed using the Oracle BPEL Console Interface" border="0" /></a></p>
<p><em>Figure 9, BPEL process execution completed using the Oracle BPEL Console<br />
Interface</em></p>
<p>You can click on any of the events in the process to see the SOAP messages<br />
being generated For example, the result of invoking the GetLeaveDetails Partner<br />
Link generates the following SOAP message.</p>
<p><a href="http://photos1.blogger.com/blogger/6781/85/1600/db_read_xml.jpg"><img src="http://photos1.blogger.com/blogger/6781/85/320/db_read_xml.jpg" alt="Figure 10, DBRead SOAP messages displayed using the Oracle BPEL Console Interface" border="0" /></a></p>
<p><em>Figure 10, DBRead Database Adapter SOAP messages displayed using the Oracle<br />
BPEL Console Interface</em></p>
<p>The SOAP message displays the input and output variables of the message. You<br />
can see that the input variable is lrequest=1004, and the output variables are<br />
employeeId=CJONES, id=1004, leaveTypeId=7 and noOfDays=4. This message represents<br />
a request to the database Partner Link to retrieve the row with the leave request<br />
identifier of 1004.</p>
<p>Now that the BPEL process has finished, and the database updated to remove<br />
the leave request with an ID of 1004, logging into the PHP web service shows<br />
that the database has been updated. The leave request with an ID of 1004 is<br />
no longer displayed.</p>
<p><a href="http://photos1.blogger.com/blogger/6781/85/1600/leave_request_finish.jpg"><img src="http://photos1.blogger.com/blogger/6781/85/320/leave_request_finish.jpg" alt="Figure 10, PHP Web Service Interface showing ID 1004 removed from the database" border="0" /></a></p>
<p><em>Figure 10, PHP Web Service Interface showing ID 1004 removed from the database</em></p>
<p>This is a very simple BPEL process and PHP web service, but it shows that you<br />
can use BPEL to integrate existing PHP web services with other web services<br />
to create new business processes.</p>
<h2>Further Information</h2>
<p>For further information on BPEL and using PHP with Oracle, go to the following<br />
URLs.</p>
<p>Oracle BPEL Process Manager</p>
<p><a href="http://otn.oracle.com/bpel">http://otn.oracle.com/bpel</a></p>
<p>Service-Oriented Architecture Technology Center</p>
<p><a href="http://otn.oracle.com/webservices%20">http://otn.oracle.com/webservices<br />
</a></p>
<p>PHP Developer Center</p>
<p><a href="http://otn.oracle.com/php">http://otn.oracle.com/php</a></p>
<p>Zend Core for Oracle</p>
<p><a href="http://www.oracle.com/technology/tech/php/zendcore">http://www.oracle.com/technology/tech/php/zendcore</a></p>
<p>Oracle JDeveloper 10<em>g</em> PHP Extension</p>
<p><a href="http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/php">http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/php</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alibongo.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alibongo.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alibongo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alibongo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alibongo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alibongo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alibongo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alibongo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alibongo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alibongo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alibongo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alibongo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alibongo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alibongo.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alibongo.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alibongo.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alibongo.wordpress.com&amp;blog=1201601&amp;post=3&amp;subd=alibongo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alibongo.wordpress.com/2006/01/17/integrating-php-web-services-using-oracle-bpel-ali/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aee4229e68cfad4639bf4c4ad3cc95e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alibongo</media:title>
		</media:content>

		<media:content url="http://photos1.blogger.com/blogger/6781/85/320/leave_request_start.0.jpg" medium="image">
			<media:title type="html">Figure 1, PHP Web Service Interface</media:title>
		</media:content>

		<media:content url="http://photos1.blogger.com/blogger/6781/85/320/jdev_phpext.jpg" medium="image">
			<media:title type="html">Figure 2, Oracle JDeveloper 10g PHP Extension</media:title>
		</media:content>

		<media:content url="http://photos1.blogger.com/blogger/6781/85/320/jdev.jpg" medium="image">
			<media:title type="html">Figure 3, Oracle BPEL Designer Interface</media:title>
		</media:content>

		<media:content url="http://photos1.blogger.com/blogger/6781/85/320/bpel_console_start.jpg" medium="image">
			<media:title type="html">Figure 4, Starting a BPEL process using the Oracle BPEL Console Interface</media:title>
		</media:content>

		<media:content url="http://photos1.blogger.com/blogger/6781/85/320/bpel_console_started.jpg" medium="image">
			<media:title type="html">Figure 5, BPEL process monitoring options using the Oracle BPEL Console Interface</media:title>
		</media:content>

		<media:content url="http://photos1.blogger.com/blogger/6781/85/320/bpel_console_flow01.jpg" medium="image">
			<media:title type="html">Figure 6, BPEL process waiting for user input using the Oracle BPEL Console Interface</media:title>
		</media:content>

		<media:content url="http://photos1.blogger.com/blogger/6781/85/320/bpel_worklist_acquire.jpg" medium="image">
			<media:title type="html">Figure 7, Acquiring a task using the BPEL Worklist Interface</media:title>
		</media:content>

		<media:content url="http://photos1.blogger.com/blogger/6781/85/320/bpel_worklist_approve.jpg" medium="image">
			<media:title type="html">Figure 8, Approving a task using the BPEL Worklist Interface</media:title>
		</media:content>

		<media:content url="http://photos1.blogger.com/blogger/6781/85/320/bpel_console_finish.jpg" medium="image">
			<media:title type="html">Figure 9, BPEL process execution completed using the Oracle BPEL Console Interface</media:title>
		</media:content>

		<media:content url="http://photos1.blogger.com/blogger/6781/85/320/db_read_xml.jpg" medium="image">
			<media:title type="html">Figure 10, DBRead SOAP messages displayed using the Oracle BPEL Console Interface</media:title>
		</media:content>

		<media:content url="http://photos1.blogger.com/blogger/6781/85/320/leave_request_finish.jpg" medium="image">
			<media:title type="html">Figure 10, PHP Web Service Interface showing ID 1004 removed from the database</media:title>
		</media:content>
	</item>
	</channel>
</rss>
