<?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>Emad Al-Ashi's Blog</title>
	<atom:link href="http://eashi.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://eashi.wordpress.com</link>
	<description>To reach your goal...track your self!</description>
	<lastBuildDate>Fri, 24 Dec 2010 07:28:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='eashi.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/414e937ab0103fae1b7efa1e74b6719b?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Emad Al-Ashi's Blog</title>
		<link>http://eashi.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://eashi.wordpress.com/osd.xml" title="Emad Al-Ashi&#039;s Blog" />
	<atom:link rel='hub' href='http://eashi.wordpress.com/?pushpress=hub'/>
		<item>
		<title>www.emadashi.com my new blog space!</title>
		<link>http://eashi.wordpress.com/2009/02/21/wwwemadashicom-my-new-blog-space/</link>
		<comments>http://eashi.wordpress.com/2009/02/21/wwwemadashicom-my-new-blog-space/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 22:54:53 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/?p=240</guid>
		<description><![CDATA[Finally, I am doing it! I am becoming a big boy and taking care of my self; moving from the caring WordPress.com world to my own hosting with my own domain: www.emadashi.com While taking this step I had many flashes ranging from &#8220;COOL, I CAN DO ALL THAT NOW!&#8221; to &#8220;OH MY GOD, WHAT AM [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=240&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Finally, I am doing it! I am becoming a big boy and taking care of my self; moving from the caring <a href="http://www.wordpress.com">WordPress.com</a> world to my own hosting with my own domain: <a href="http://www.emadashi.com">www.emadashi.com</a></p>
<p>While taking this step I had many flashes ranging from &#8220;COOL, I CAN DO ALL THAT NOW!&#8221; to &#8220;OH MY GOD, WHAT AM I DOING!&#8221;; it&#8217;s hard, has lots of responsibility, and many sacrifices like simple life, and the Google ranking I will be losing since June last year.</p>
<p>Checking all the stats and visits brings my tears down (not really down though!). So what I am going to do is to keep my old blog (this one) so visitors can still see my old posts and I won&#8217;t loose the ranking, what do you think? should I do that? (comment if you please)</p>
<p>The good thing is, though, that if you are subscribed to this blog&#8217;s feed, you don&#8217;t have to change anything; It will happen automatically and you will still get the new posts (you might get the old posts again once more when I take that step).</p>
<p>So anyway, I hope this step to be a new era for better life, all hope.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=240&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2009/02/21/wwwemadashicom-my-new-blog-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Is Moving Feedburners&#8217; Servers</title>
		<link>http://eashi.wordpress.com/2009/02/19/google-is-moving-feedburners-servers/</link>
		<comments>http://eashi.wordpress.com/2009/02/19/google-is-moving-feedburners-servers/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 16:17:08 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/?p=237</guid>
		<description><![CDATA[As the title tells, Google is moving the Feedburner servers, and my RSS feed URL has changed now to http://feeds2.feedburner.com/eashi.  Google &#8220;promised&#8221; to keep the old feeds working for a while, so anyone who has subscribed to this blog will not be affected &#8220;for a while&#8221;; so if you want to stay up to date with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=237&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As the title tells, Google is moving the Feedburner servers, and my RSS feed URL has changed now to <a href="http://feeds2.feedburner.com/eashi">http://feeds2.feedburner.com/eashi</a>. </p>
<p>Google &#8220;promised&#8221; to keep the old feeds working for a while, so anyone who has subscribed to this blog will not be affected &#8220;for a while&#8221;; so if you want to stay up to date with the proper feed URL of this blog (and I hope you do <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ), please change the feed url to <a href="http://feeds2.feedburner.com/eashi">http://feeds2.feedburner.com/eashi</a>.</p>
<p>Thank you all  for your continuous attention <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=237&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2009/02/19/google-is-moving-feedburners-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>
	</item>
		<item>
		<title>Beware of Static Constructors</title>
		<link>http://eashi.wordpress.com/2009/02/07/be-ware-of-static-constructors/</link>
		<comments>http://eashi.wordpress.com/2009/02/07/be-ware-of-static-constructors/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 21:39:22 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Bunian]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[code coverage]]></category>
		<category><![CDATA[static constructor]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2009/02/07/be-ware-of-static-constructors/</guid>
		<description><![CDATA[In Bunian we needed to use a static constructor for some reason, it was all going good; we tested the code and it ran smoothly&#8230;excellent (Code Coverage anyone?!).But when I came across this situation, it appeared that the static constructor wasn&#8217;t invoked!even when &#8220;Class.Method();&#8221; is called! so lets examine it. I have two simple classes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=231&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.codeplex.com/bunian">Bunian</a> we needed to use a static constructor for some reason, it was all going good; we tested the code and it ran smoothly&#8230;excellent (<a href="http://en.wikipedia.org/wiki/Code_coverage">Code Coverage</a> anyone?!).<br />But when I came across this situation, it appeared that the static constructor wasn&#8217;t invoked!even when &#8220;Class.Method();&#8221; is called! so lets examine it.</p>
<p>I have two simple classes as an Example:</p>
<div style="font-size:10pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:blue;">public</span> <span style="color:blue;">class</span> <span style="color:#2b91af;">Parent</span></p>
<p style="margin:0;">{</p>
<p style="margin:0;">&nbsp;&nbsp;&nbsp; <span style="color:blue;">public</span> <span style="color:blue;">static</span> <span style="color:blue;">string</span> DoSomething()</p>
<p style="margin:0;">&nbsp;&nbsp;&nbsp; {</p>
<p style="margin:0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">return</span> <span style="color:#a31515;">&#8220;Parent: DoSomething() called&#8221;</span>;</p>
<p style="margin:0;">&nbsp;&nbsp;&nbsp; }</p>
<p style="margin:0;">}</p>
</div>
<p> 
<div style="font-size:10pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:blue;">public</span> <span style="color:blue;">class</span> <span style="color:#2b91af;">Child</span> : Parent</p>
<p style="margin:0;">{</p>
<p style="margin:0;">&nbsp;&nbsp;&nbsp; <span style="color:blue;">static</span> Child()</p>
<p style="margin:0;">&nbsp;&nbsp;&nbsp; {</p>
<p style="margin:0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:#2b91af;">Console</span>.WriteLine(<span style="color:#a31515;">&#8220;Child Static constructor called&#8221;</span>);</p>
<p style="margin:0;">&nbsp;&nbsp;&nbsp; }</p>
<p style="margin:0;">&nbsp;</p>
<p style="margin:0;">&nbsp;&nbsp;&nbsp; <span style="color:blue;">public</span> <span style="color:blue;">static</span> <span style="color:blue;">string</span> DoSomethingDifferent()</p>
<p style="margin:0;">&nbsp;&nbsp;&nbsp; {</p>
<p style="margin:0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">return</span> <span style="color:#a31515;">&#8220;DoSomethingDifferent() called&#8221;</span>;</p>
<p style="margin:0;">&nbsp;&nbsp;&nbsp; }</p>
<p style="margin:0;">}</p>
</div>
<p>As it may be obvious, Child inherits from Parent, Child has a static constructor that we need to be executed when ever a method is invoked by Child. Now lets check the main program executing these two lines:</p>
<div style="font-size:10pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:#2b91af;">Console</span>.WriteLine(Child.DoSomething()); <span style="color:green;">//This code will NOT invoke the static constructor</span></p>
<p style="margin:0;"><span style="color:#2b91af;">Console</span>.WriteLine(Child.DoSomethingDifferent());<span style="color:green;">//This code WILL invoke the static constructor</span></p>
</div>
<p>The surprise (at least to me) when calling &#8220;Child.DoSomething()&#8221; the static constructor isn&#8217;t invoked! because it is in the parent!! aaaaaah! bad!! that was serious for our architecture&nbsp; and we had to do lots of fixes to turns things around the right way (which I think it was for our own good for other reasons <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</p>
<p>This brings up the <a href="http://en.wikipedia.org/wiki/Code_coverage">Code Coverage</a> topic as well; in our case that static constructor&#8217;s job was to create an instance of a member that is only needed once, and we check on it in other times by &#8220;if _instance != null&#8221;. It always ran ok because all the test code we created used to call an original Child before calling any other method that resided in the Parent.</p>
<p>bottom line: be ware of static constructors, and check your test code&#8230;it maybe hiding &#8220;surprises&#8221; for you <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/231/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=231&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2009/02/07/be-ware-of-static-constructors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>
	</item>
		<item>
		<title>default ASP.NET Membership provider on different database</title>
		<link>http://eashi.wordpress.com/2009/01/26/default-aspnet-membership-provider-on-different-database/</link>
		<comments>http://eashi.wordpress.com/2009/01/26/default-aspnet-membership-provider-on-different-database/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 23:27:31 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[machine.config]]></category>
		<category><![CDATA[membership provider]]></category>
		<category><![CDATA[web.config]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2009/01/26/default-aspnet-membership-provider-on-different-database/</guid>
		<description><![CDATA[Every ASP.NET developer should already know about the Membership Provider that ships with ASP.NET 2.0. Configuring it is as easy as opening Visual Studio &#62; select the Web project file &#62; navigate to the Project menu item &#62; and select &#8220;ASP.NET Configuration&#8221;. Follow the wizard and you are up and running now. But the problem [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=224&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Every ASP.NET developer should already know about the <a href="http://msdn.microsoft.com/en-us/library/yh26yfzy.aspx">Membership Provider</a> that ships with ASP.NET 2.0. Configuring it is as easy as opening Visual Studio &gt; select the Web project file &gt; navigate to the <em>Project</em> menu item &gt; and select &#8220;<em>ASP.NET Configuration&#8221;. </em>Follow the wizard and you are up and running now.</p>
<p>But the problem with this approach is that it will build it&#8217;s OWN database in the App_Data folder and create the required tables there. Wouldn&#8217;t most of us have their own databases to work with? ok then, if you want the <strong>defualt</strong> ASP.NET Membership Provide (AspNetSqlMembershipProvider) to work on <strong>YOUR</strong> database do the following:</p>
<ol>
<li>Navigate to the folder: &#8220;<strong>C:\Windows\Microsoft.NET\Framework\v2.0.50727</strong>&#8221; and run the &#8220;<strong>aspnet_regsql.exe</strong>&#8221; file, follow the wizard (it&#8217;s pretty easy, see the images below)<br />
<br />
<a href="http://eashi.files.wordpress.com/2009/01/step1.jpg"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2009/01/step1-thumb.jpg?w=558&#038;h=429" border="0" alt="Step1" width="558" height="429" /></a><a href="http://eashi.files.wordpress.com/2009/01/step2.jpg"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2009/01/step2-thumb.jpg?w=558&#038;h=429" border="0" alt="Step2" width="558" height="429" /></a><br />
<br />
This step will create the Membership and Profile Provider tables necessary; if you are lucky you will see many dbo.aspnet_<em>something</em> tables.</li>
<li>Now we need to tell the website which Provider it should use for this functionality, and to which database it should connect to; the default configuration information that drives the default behavior of the default Provider resides in the Machine.config (<em>C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG</em>), which explains why you can&#8217;t find the configuration information on YOUR web.config even after you finish using the ASP.NET Configuration mini-website.<br />
The best thing to do is to copy that configuration information from the machine.config to your website web.config in order to override its behavior to our desired one, for more information about configuration files and configuration hierarchy read <a href="http://msdn.microsoft.com/en-us/library/ms178685.aspx">this</a>.</p>
<div style="font-size:10pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">membership</span><span style="color:blue;"> </span><span style="color:red;">defaultProvider</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">AspNetSqlMembershipProvider</span>&#8220;<span style="color:blue;"> &gt;</span></p>
<p style="margin:0;"><span style="color:blue;">      &lt;</span><span style="color:#a31515;">providers</span><span style="color:blue;">&gt;</span></p>
<p style="margin:0;"><span style="color:blue;">        &lt;</span><span style="color:#a31515;background-color:#ffff00;">clear</span><span style="color:blue;">/&gt;</span></p>
<p style="margin:0;"><span style="color:blue;">        &lt;</span><span style="color:#a31515;">add</span><span style="color:blue;"> </span><span style="color:red;">name</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">AspNetSqlMembershipProvider</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">type</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</span>&#8220;<span style="color:red;background-color:#ffff00;"> connectionStringName</span><span style="color:blue;background-color:#ffff00;">=&#8221;</span><span style="color:blue;background-color:#ffff00;">BunianConnectionString&#8221;</span><span style="color:blue;"> </span><span style="color:red;">enablePasswordRetrieval</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">false</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">enablePasswordReset</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">true</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">requiresQuestionAndAnswer</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">true</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">applicationName</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">/</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">requiresUniqueEmail</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">false</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">passwordFormat</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">Hashed</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">maxInvalidPasswordAttempts</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">5</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">minRequiredPasswordLength</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">7</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">minRequiredNonalphanumericCharacters</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">1</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">passwordAttemptWindow</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">10</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">passwordStrengthRegularExpression</span><span style="color:blue;">=</span>&#8220;&#8221;<span style="color:blue;">/&gt;</span></p>
<p style="margin:0;"><span style="color:blue;">      &lt;/</span><span style="color:#a31515;">providers</span><span style="color:blue;">&gt;</span></p>
<p style="margin:0;"><span style="color:blue;">    &lt;/</span><span style="color:#a31515;">membership</span><span style="color:blue;">&gt;</span></p>
</div>
<p>Note that highlighted changes:</p>
<ol>
<li>clear any previous configuration of the AspNetSqlMebershipProvider (machine.config) which if not moved will give you an error of already being configured</li>
<li>changing the connection string to mach a connectionstring name that you use to connect to your database in general</li>
</ol>
</li>
</ol>
<p>This way you will have the default Membership Provider running on your database for your website; if you use the mini-site for the ASP.NET Configuration now and create new users, you will find them created in your database.</p>
<p>Note that some resources say that you can change the database from the ASP.NET Configuration but I couldn&#8217;t find it there.</p>
<p><em>Disclaimer: use the above on your own responsibility <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/224/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=224&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2009/01/26/default-aspnet-membership-provider-on-different-database/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2009/01/step1-thumb.jpg" medium="image">
			<media:title type="html">Step1</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2009/01/step2-thumb.jpg" medium="image">
			<media:title type="html">Step2</media:title>
		</media:content>
	</item>
		<item>
		<title>Get On With It!</title>
		<link>http://eashi.wordpress.com/2009/01/16/get-on-with-it/</link>
		<comments>http://eashi.wordpress.com/2009/01/16/get-on-with-it/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 15:56:35 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Bunian]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[software management]]></category>
		<category><![CDATA[late]]></category>
		<category><![CDATA[procrastination]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2009/01/16/get-on-with-it/</guid>
		<description><![CDATA[When we started gathering requirements from the charity organizations for Bunian, it appeared that there are other kinds of people who benefit from the charity organization; there are &#8220;needy families&#8221; whose father is still alive but can&#8217;t sustain their families, and &#8220;students&#8221; who can&#8217;t afford their study.  So Bunian needs to support all these Beneficiaries [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=217&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://eashi.files.wordpress.com/2009/01/clock.jpg"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2009/01/clock-thumb.jpg?w=150&#038;h=146" border="0" alt="clock" width="150" height="146" align="right" /></a>When we started gathering requirements from the charity organizations for <a href="http://www.codeplex.com/bunian">Bunian</a>, it appeared that there are other kinds of people who benefit from the charity organization; there are &#8220;needy families&#8221; whose father is still alive but can&#8217;t sustain their families, and &#8220;students&#8221; who can&#8217;t afford their study. </p>
<p>So Bunian needs to support all these Beneficiaries in smart way; we solved the problem by creating the IBeneficiary interface. But the problem is that in order to get out with the best solution ever (damn perfectionism!), we kept coming up with different solutions, and overriding them with other solutions every once in a while, and this kept going like forever!</p>
<p>Though we agreed from the beginning that we shall keep it as simple as possible and then add up to it as we get out with the first phase, yet it kept sliding &#8220;ok only we have to do this, oh and that too&#8221;. Until one day I thought I came up with the silver bullet everyone talks about <a href="http://eashi.files.wordpress.com/2009/01/4.gif"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2009/01/4-thumb.gif?w=22&#038;h=22" border="0" alt="4" width="22" height="22" /></a> , and sent an email to the group about the changes I wanted to make, when a colleague caught me online and showed her objection about the new solutions, and proposed another. Only then I woke up!! &#8220;OMG&#8230;WE ARE STILL HERE!!&#8221;<br />
Instantly, I remembered my oldest brothers comment  (Mohammad, very wise brother) about Bunian &#8220;<em>It&#8217;s great that you want to build the greatest architecture ever, but remember that Orphans are waiting!!</em>&#8220;</p>
<p>So LET&#8217;S JUST GET ON WITH IT!! ship it!! do it!! let version one come out, let &#8220;customers&#8221; benefit from it, then you take your time doing your silver bullet. So this is one of the challenges facing the Project Managers, something we developers rarely think about <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ; today&#8230;I learned my lesson!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/217/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=217&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2009/01/16/get-on-with-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2009/01/clock-thumb.jpg" medium="image">
			<media:title type="html">clock</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2009/01/4-thumb.gif" medium="image">
			<media:title type="html">4</media:title>
		</media:content>
	</item>
		<item>
		<title>Gaza, Starvation For 18 Months And a Massacre Today!</title>
		<link>http://eashi.wordpress.com/2008/12/27/gaza-starvation-for-18-months-and-a-massacre-today/</link>
		<comments>http://eashi.wordpress.com/2008/12/27/gaza-starvation-for-18-months-and-a-massacre-today/#comments</comments>
		<pubDate>Sat, 27 Dec 2008 15:09:38 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[death]]></category>
		<category><![CDATA[gaza]]></category>
		<category><![CDATA[massacre]]></category>
		<category><![CDATA[palestine]]></category>
		<category><![CDATA[siege]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/12/27/gaza-starvation-for-18-months-and-a-massacre-today/</guid>
		<description><![CDATA[Update: death toll rate reaches 470 and 2400 injuries, and I will stop counting. After a 20 months siege during which there was no water, food, medicine, gas, oil, and electricity&#8230;today Israel thinks that&#8217;s not enough&#8230;and starts a massacre; 160 dead, 200 wounded by 40 rockets hit Gaza and still going. Photos From the Massacre [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=207&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#ff0000;">Update</span>: death toll rate reaches 470 and 2400 injuries, and I will stop counting.</p>
<p>After a 20 months siege during which there was no water, food, medicine, gas, oil, and electricity&#8230;today Israel thinks that&#8217;s not enough&#8230;and starts a massacre; 160 dead, 200 wounded by 40 rockets hit Gaza and still going.</p>
<h2>Photos From the Massacre Taking Place Today</h2>
<p>English news: <a title="http://www.islamonline.com/news/newsfull.php?newid=197993" href="http://www.islamonline.com/news/newsfull.php?newid=197928">here</a><br />
Arabic news: <a href="http://www.aljazeera.net/NR/exeres/75C5FBBA-6F81-4770-8985-47169CE608C7.htm">here</a></p>
<p><a href="http://www.aljazeera.net/NR/exeres/75C5FBBA-6F81-4770-8985-47169CE608C7.htm"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/12/2008122711545599734-2.jpg?w=371&#038;h=254" border="0" alt="2008122711545599734_2" width="371" height="254" /></a></p>
<p><a href="http://www.aljazeera.net/NR/exeres/75C5FBBA-6F81-4770-8985-47169CE608C7.htm"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/12/1-880821-1-34.jpg?w=375&#038;h=303" border="0" alt="1_880821_1_34" width="375" height="303" /></a></p>
<p><a href="http://www.aljazeera.net/NR/exeres/75C5FBBA-6F81-4770-8985-47169CE608C7.htm"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/12/1-880850-1-34.jpg?w=378&#038;h=305" border="0" alt="1_880850_1_34" width="378" height="305" /></a></p>
<h2>Photos From the Siege</h2>
<p>English news: <a href="http://www.freegaza.org/">here</a><br />
Arabic news: <a href="http://www.aljazeera.net/News/Templates/Postings/DetailedPage.aspx?FRAMELESS=false&amp;NRNODEGUID=%7BDA9B962B-1EFB-4BEB-91C1-B0A367FD5A67%7D&amp;NRORIGINALURL=%2FNR%2Fexeres%2FDA9B962B-1EFB-4BEB-91C1-B0A367FD5A67.htm&amp;NRCACHEHINT=Guest">here</a>, and <a href="http://www.aljazeera.net/NR/exeres/B2BD0D99-B1E3-4BE3-BE11-7D08EA5414FC.htm">here</a></p>
<p><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/12/26337-11223465084.jpg?w=233&#038;h=338" border="0" alt="26337_11223465084" width="233" height="338" /> smuggling food through the tunnels</p>
<p><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/12/26337-21223465084.jpg?w=431&#038;h=294" border="0" alt="26337_21223465084" width="431" height="294" /> Milk for the small children who lack the basic ingredients for healthy food, finds its only way trough tunnels under ground.</p>
<p><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/12/6210x.jpg?w=426&#038;h=301" border="0" alt="6210x" width="426" height="301" /> no electricity, you know what this affects; imagine yourself without electricity for 1 week, not saying 20 months!</p>
<p><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/12/6130x.jpg?w=450&#038;h=331" border="0" alt="6130x" width="450" height="331" /></p>
<p><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/12/610x.jpg?w=467&#038;h=311" border="0" alt="610x" width="467" height="311" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/207/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=207&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/12/27/gaza-starvation-for-18-months-and-a-massacre-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/2008122711545599734-2.jpg" medium="image">
			<media:title type="html">2008122711545599734_2</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/1-880821-1-34.jpg" medium="image">
			<media:title type="html">1_880821_1_34</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/1-880850-1-34.jpg" medium="image">
			<media:title type="html">1_880850_1_34</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/26337-11223465084.jpg" medium="image">
			<media:title type="html">26337_11223465084</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/26337-21223465084.jpg" medium="image">
			<media:title type="html">26337_21223465084</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/6210x.jpg" medium="image">
			<media:title type="html">6210x</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/6130x.jpg" medium="image">
			<media:title type="html">6130x</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/610x.jpg" medium="image">
			<media:title type="html">610x</media:title>
		</media:content>
	</item>
		<item>
		<title>Importance of Documentation</title>
		<link>http://eashi.wordpress.com/2008/12/26/importance-of-documentation/</link>
		<comments>http://eashi.wordpress.com/2008/12/26/importance-of-documentation/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 11:25:15 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Bunian]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[NHibernate]]></category>
		<category><![CDATA[software management]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[nhibernate]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/12/26/importance-of-documentation/</guid>
		<description><![CDATA[&#160; Lately we have decided in Bunian to move on to NHibernate 2.0, and the contributor assigned to the move started out, only to send an email one day after: &#8220;THERE IS NO DOCUMENTATION!&#8217;.We had errors as a result to the move which couldn&#8217;t be fixed without a documentation explaining why this happened. After searching [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=198&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="http://eashi.files.wordpress.com/2008/12/documentation.jpg"><img style="border-width:0;" height="251" alt="documentation" src="http://eashi.files.wordpress.com/2008/12/documentation-thumb.jpg?w=174&#038;h=251" width="174" align="right" border="0"></a> </p>
<p>Lately we have decided in <a href="http://www.codeplex.com/bunian">Bunian</a> to move on to NHibernate 2.0, and the contributor assigned to the move started out, only to send an email one day after: &#8220;THERE IS NO DOCUMENTATION!&#8217;.<br />We had errors as a result to the move which couldn&#8217;t be fixed without a documentation explaining why this happened.</p>
<p>After searching for a while, we found two resources of the new documentation:</p>
<ul>
<li>a wiki help that is hosted on <a href="http://knol.google.com/">Google Knol</a>: <br /><a title="http://knol.google.com/k/fabio-maulo/-/1nr4enxv3dpeq/21#" href="http://knol.google.com/k/fabio-maulo/-/1nr4enxv3dpeq/21#">http://knol.google.com/k/fabio-maulo/-/1nr4enxv3dpeq/21#</a><br />Not really appealing to be used extensively; no smooth flow between chapters, frames dazzle the eyes, no table of contents, but surely a great step forward for a documentation that is maintained by the community
<li>and online ordinary documentation as HTML: <br /><a title="http://www.nhforge.org/doc/nh/en/index.html" href="http://www.nhforge.org/doc/nh/en/index.html">http://www.nhforge.org/doc/nh/en/index.html</a> <br />which is my preferred way for documentation (or at least until the wiki proves its usability)</li>
</ul>
<p>Neither links were included anywhere in the NHibernate zipped file.</p>
<p>I didn&#8217;t realize how important a documentation is until it stopped us from moving on in our project; Only after we made sure that the documentation is available we decided to move on to version 2.0. The lesson to be learned is that if you are an enthusiast developer and want to add another piece of code to the world, keep in mind that your project is not only code; it is people, resources, community, ease of use, documentation, and any other simple thing that people need while you think it&#8217;s not important.</p>
<p>Of course I couldn&#8217;t find developers or contributors to open source projects greater than the NHibernate team, having such a project in the first place is awesome, and I thank each and everyone of them. I hope one day I can really contribute back to NHibernate. Thanks again guys.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=198&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/12/26/importance-of-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/documentation-thumb.jpg" medium="image">
			<media:title type="html">documentation</media:title>
		</media:content>
	</item>
		<item>
		<title>HttpApplication EndRequest Event Invoked Many Times In Single Request?</title>
		<link>http://eashi.wordpress.com/2008/12/14/httpapplication-endrequest-event-invoked-many-times-in-single-request/</link>
		<comments>http://eashi.wordpress.com/2008/12/14/httpapplication-endrequest-event-invoked-many-times-in-single-request/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 20:44:37 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Bunian]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[NHibernate]]></category>
		<category><![CDATA[ISession NHibernate EndRequest HttpApplication]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/12/14/httpapplication-endrequest-event-invoked-many-times-in-single-request/</guid>
		<description><![CDATA[The other day I was putting the last touch of a temporary way to manage the NHibernate session (ISession) in Bunian. So part of the task was to bind a method to the HttpApplication EndRequest event (in the Global.asax.cs file) like the following: public override void Init() {        this.EndRequest += WorkContext.NHibernateSessionManager.Instance.HttpRequestEnded; } By doing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=187&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The other day I was putting the last touch of a temporary way to manage the NHibernate session (ISession) in <a href="http://www.codeplex.com/bunian">Bunian</a>. So part of the task was to bind a method to the HttpApplication EndRequest event (in the Global.asax.cs file) like the following:</p>
<div style="font-size:12pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:blue;">public</span> <span style="color:blue;">override</span> <span style="color:blue;">void</span> Init()</p>
<p style="margin:0;">{</p>
<p style="margin:0;">       <span style="color:blue;">this</span>.EndRequest += WorkContext.<span style="color:#2b91af;">NHibernateSessionManager</span>.Instance.HttpRequestEnded;</p>
<p style="margin:0;">}</p>
</div>
<p>By doing this, at the end of each page request the <strong>NHibernateSessionManager.Instance.HttpRequestEnded()</strong> will be called and I can clean the session then. But to my surprise this method was called at least 10 times!! So I thought maybe the <strong>Global.Init() </strong>method is called many times for some reason and I ended up binding the same method to the EndRequest event many times, so I set a breakpoint at the Global.Init() method and&#8230;it&#8217;s called one time only.</p>
<p>That was strange, ok so it&#8217;s only the HttpRequestEnded() mehtod that is called many times, but I am requesting only one page!! how come there are 10 requests!</p>
<p>So I opened Firefox which is already &#8220;armed&#8221; with the magnificent add-on <a href="http://getfirebug.com/">Firebug</a>, and I requested the page again, Firebug showed the following:</p>
<p><a href="http://eashi.files.wordpress.com/2008/12/croppercapture1.jpg"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/12/croppercapture1-thumb.jpg?w=664&#038;h=272" border="0" alt="CropperCapture[1]" width="664" height="272" /></a></p>
<p>And that was it!! the page contained 10 resources (1 CSS file and 9 images), OH! so <em>it is </em>one page, but for each resource referenced on the page you get a request, hence a raise of the EndRequest event.</p>
<p>I couldn&#8217;t love Firebug more; I am not only happy that I wasn&#8217;t doing something wrong, but yet I learned something new about the ASP.NET internals. awesome.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/187/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=187&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/12/14/httpapplication-endrequest-event-invoked-many-times-in-single-request/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/croppercapture1-thumb.jpg" medium="image">
			<media:title type="html">CropperCapture[1]</media:title>
		</media:content>
	</item>
		<item>
		<title>Travians be Warned&#8230;Rapacious is Rising</title>
		<link>http://eashi.wordpress.com/2008/12/12/travians-be-warnedrapacious-is-rising/</link>
		<comments>http://eashi.wordpress.com/2008/12/12/travians-be-warnedrapacious-is-rising/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 12:55:04 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[travian]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/?p=178</guid>
		<description><![CDATA[I don&#8217;t know whether thank or scold my good friend Omar Qadan for introducing me to Travian, a strategy game played online. It&#8217;s amazing how a simple,  web-based, HTML-front game can be so rich and vast entertainment wise! It&#8217;s a real strategy game where you build villages, resources, armies, embassies, and conduct trading, diplomacy, wars, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=178&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know whether thank or scold my good friend <a href="http://www.jerashdev.net/blog/ara/">Omar Qadan</a> for introducing me to <a href="http://www.travian.com/">Travian</a>, a strategy game played online.</p>
<p><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/12/travian4.jpg?w=350&#038;h=298" border="0" alt="travian" width="350" height="298" /></p>
<p>It&#8217;s amazing how a simple,  web-based, HTML-front game can be so rich and vast entertainment wise! It&#8217;s a real strategy game where you build villages, resources, armies, embassies, and conduct trading, diplomacy, wars, and alliances&#8230;all through simple images, numbers and text.</p>
<p>On the other hand, I can&#8217;t ignore the programming part of the game (being a developer that is), it must be big, fun and tiring; think of all these rules and the simulation algorithms the game is being built upon , the server handling thousands of players, &#8230;and scripts (yes! lots of hacks!  <img class="alignnone size-full wp-image-179" title="161" src="http://eashi.files.wordpress.com/2008/12/161.gif" alt="161" width="18" height="18" /> ). Even the hacking idea it self is so delicious (programming wise only  <img class="alignnone size-full wp-image-180" title="251" src="http://eashi.files.wordpress.com/2008/12/251.gif" alt="251" width="30" height="18" /> ), a true heaven for developers <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br />
Also the makers of the game are on the right track of providing developers points through which they can access the game and display information on other sites or applications; ok for now it&#8217;s only exporting database tables of statistical information about the game status, but still I consider it a cool step toward supplying nice end-point for developers, maybe Web Services in the future <img class="alignnone size-full wp-image-175" title="4.gif" src="http://eashi.files.wordpress.com/2008/12/4.gif" alt="4.gif" width="18" height="18" /><a href="http://eashi.files.wordpress.com/2008/12/4.gif"></a> .</p>
<p>Every time a new idea hits the web I say &#8220;ok, that&#8217;s it&#8230;there are no more idea&#8217;s!&#8221;, and every time I say that I  am proved to be wrong; <a href="http://www.youtube.com">YouTube</a>, <a href="http://www.facebook.com/">Facebook</a>, <a href="http://www.wikipedia.org">Wikipedia</a>, <a href="http://delicious.com/">Delicous</a>, <a href="http://digg.com/">Digg</a>, <a href="http://www.slideshare.net/">SlideShare</a>, <a href="http://www.flickr.com">Flickr</a>&#8230;and the list goes on.<br />
So this is a message for all of us, don&#8217;t limit your imagination, ideas never run out.</p>
<p>The only concern now is that I don&#8217;t want to be addicted, so let&#8217;s wish for the best&#8230;and be warned&#8230;because Rapacious is rising <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/178/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=178&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/12/12/travians-be-warnedrapacious-is-rising/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/travian4.jpg" medium="image">
			<media:title type="html">travian</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/161.gif" medium="image">
			<media:title type="html">161</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/251.gif" medium="image">
			<media:title type="html">251</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/12/4.gif" medium="image">
			<media:title type="html">4.gif</media:title>
		</media:content>
	</item>
		<item>
		<title>Introduction to NHibernate Session at Jordev Was Good</title>
		<link>http://eashi.wordpress.com/2008/12/05/introduction-to-nhibernate-session-at-jordev-was-good/</link>
		<comments>http://eashi.wordpress.com/2008/12/05/introduction-to-nhibernate-session-at-jordev-was-good/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 13:29:47 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[NHibernate]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[JorDev]]></category>
		<category><![CDATA[nhibernate]]></category>
		<category><![CDATA[Presentation]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/?p=160</guid>
		<description><![CDATA[The feedback was very good, and I was glad that everybody liked it. Jordev is really moving ahead, and I am very excited being part of it Below is the slide show (it&#8217;s an enhanced version from my previous one): Code is the same of the previous one which you can download from here<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=160&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The feedback was very good, and I was glad that everybody liked it. Jordev is really moving ahead, and I am very excited being part of it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Below is the slide show (it&#8217;s an enhanced version from my <a href="http://eashi.wordpress.com/2008/07/02/my-introduction-to-nhibernate-presentation-and-slides/">previous one</a>):</p>
<iframe src='http://www.slideshare.net/slideshow/embed_code/821222' width='425' height='348'></iframe>
<p>Code is the same of the previous one which you can download from <a href="http://www.freedrive.com/file/395364,emadnhibernatepresentation.zip">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=160&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/12/05/introduction-to-nhibernate-session-at-jordev-was-good/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>
	</item>
		<item>
		<title>My First Talk at JorDev .net</title>
		<link>http://eashi.wordpress.com/2008/11/21/my-first-talk-at-jordev-net/</link>
		<comments>http://eashi.wordpress.com/2008/11/21/my-first-talk-at-jordev-net/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 18:31:49 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[NHibernate]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[JorDev]]></category>
		<category><![CDATA[nhibernate]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[User Group]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/?p=157</guid>
		<description><![CDATA[  JorDev .net is a .net user group founded by enthusiastic Jordanian IT professionals. On Wednesday the 26th of November I will be doing my first session of a series about NHibernate. Details of talk is here: Overview NHibernate is an Object-relational mapping (ORM) solution for the Microsoft .NET platform. it provides an easy to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=157&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://eashi.files.wordpress.com/2008/11/jordevlogo.png"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/11/jordevlogo-thumb.png?w=215&#038;h=113" border="0" alt="JordevLogo" width="215" height="113" /></a>  <a href="http://eashi.files.wordpress.com/2008/11/nhib-logo04.gif"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/11/nhib-logo04-thumb.gif?w=211&#038;h=126" border="0" alt="nhib-logo04" width="211" height="126" /></a></p>
<p><a href="http://jordev.net/JordevCommunity/About.aspx">JorDev .net</a> is a .net user group founded by enthusiastic Jordanian IT professionals. On Wednesday the 26th of November I will be doing my first session of a series about NHibernate.<br />
Details of talk is here:</p>
<table border="1" cellspacing="0" cellpadding="2" width="720">
<tbody>
<tr>
<td width="165" valign="top"><strong>Overview</strong></td>
<td width="553" valign="top">NHibernate is an Object-relational mapping (ORM) solution for the Microsoft .NET platform. it provides an easy to use framework for mapping an object-oriented domain model to a traditional relational database. Its purpose is to relieve the developer from a significant amount of relational data persistence-related programming tasks.NHibernate is free as open source software that is distributed under the GNU Lesser General Public License</td>
</tr>
<tr>
<td width="166" valign="top"><strong>Target Audience</strong></td>
<td width="553" valign="top">.NET Developers, Software Designers, Software Engineers, Software Architects</td>
</tr>
<tr>
<td width="166" valign="top"><strong>Date</strong></td>
<td width="553" valign="top">Wednesday, November 26, 2008</td>
</tr>
<tr>
<td width="166" valign="top"><strong>Location</strong></td>
<td width="553" valign="top"><strong>MIC</strong> (Microsoft Innovation Center, Royal Scientific Society Building, 3rd Floor)</td>
</tr>
<tr>
<td width="166" valign="top"><strong>Time</strong></td>
<td width="553" valign="top">6:30 pm – 8:30 pm (Amman-Jordan local time)</td>
</tr>
<tr>
<td width="166" valign="top"><strong>For More Info</strong></td>
<td width="553" valign="top">Mohamed Saleh @0788716457<br />
Ayman Farouk    @0795727344</td>
</tr>
<tr>
<td width="166" valign="top"><strong>Reminders</strong></td>
<td width="553" valign="top"> <br />
<img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/11/image006.gif?w=20&#038;h=20" border="0" alt="image006" width="20" height="20" /><a href="http://calendar.live.com/calendar/calendar.aspx?rru=addevent&amp;dtstart=20081126T163000Z&amp;dtend=20081126T183000Z&amp;summary=NHibernate+Data+Access+Technology+Session+%5b1%5d&amp;location=Royal+Scientific+Society+Building%2c+3rd+Floor&amp;description=NHibernate+is+an+Object-relational+mapping+(ORM)+solution+for+the+Microsoft+.NET+platform.+it+provides+an+easy+to+use+framework+for+mapping+an+object-oriented+domain+model+to+a+traditional+relational+database.+Its+purpose+is+to+relieve+the+developer+from+a+significant+amount+of+relational+data+persistence-related+programming+tasks.%0a...%0d%0a%0d%0ahttp%3a%2f%2fjordevnhibernate1.events.live.com%2f">Live Calendar</a><br />
<img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/11/image002.jpg?w=34&#038;h=15" border="0" alt="image002" width="34" height="15" /><a href="http://www.facebook.com/event.php?eid=45818242564">Facebook event</a><br />
<img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/11/image004.gif?w=20&#038;h=20" border="0" alt="image004" width="20" height="20" /><a href="http://jordevnhibernate1.events.live.com/event.ics">Outlook Calendar</a><br />
<img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/11/image008.gif?w=20&#038;h=20" border="0" alt="image008" width="20" height="20" /><a href="http://www.google.com/calendar/event?action=TEMPLATE&amp;text=NHibernate+Data+Access+Technology+Session+%5b1%5d&amp;dates=20081126T163000Z%2f20081126T183000Z&amp;location=Royal+Scientific+Society+Building%2c+3rd+Floor&amp;sprop=http%3a%2f%2fjordevnhibernate1.events.live.com%2f&amp;details=NHibernate+is+an+Object-relational+mapping+(ORM)+solution+for+the+Microsoft+.NET+platform.+it+provides+an+easy+to+use+framework+for+mapping+an+object-oriented+domain+model+to+a+traditional+relational+database.+Its+purpose+is+to+relieve+the+developer+from+a+significant+amount+of+relational+data+persistence-related+programming+tasks.%0a...%0d%0a%0d%0ahttp%3a%2f%2fjordevnhibernate1.events.live.com%2f">Google Calendar</a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/157/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=157&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/11/21/my-first-talk-at-jordev-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/11/jordevlogo-thumb.png" medium="image">
			<media:title type="html">JordevLogo</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/11/nhib-logo04-thumb.gif" medium="image">
			<media:title type="html">nhib-logo04</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/11/image006.gif" medium="image">
			<media:title type="html">image006</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/11/image002.jpg" medium="image">
			<media:title type="html">image002</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/11/image004.gif" medium="image">
			<media:title type="html">image004</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/11/image008.gif" medium="image">
			<media:title type="html">image008</media:title>
		</media:content>
	</item>
		<item>
		<title>Data Access Within Business Objects -Bunian Design-</title>
		<link>http://eashi.wordpress.com/2008/11/10/data-access-within-business-objects-bunian-design/</link>
		<comments>http://eashi.wordpress.com/2008/11/10/data-access-within-business-objects-bunian-design/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 21:17:27 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Bunian]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Business Objects]]></category>
		<category><![CDATA[Dependency Injection]]></category>
		<category><![CDATA[IoC]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[Windsor]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/11/10/data-access-within-business-objects-bunian-design/</guid>
		<description><![CDATA[In a previous post I showed the general architecture of Bunian. I&#8217;d like, in this post, to touch on the Data Access part and how it interacts with the Business Objects. In traditional architectures there are 3 known layers: Data Access, Business, and Presentation. DTO&#8217;s (Data Transfer Objects) are used to carry the data back [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=145&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In a previous post I showed the general architecture of Bunian. I&#8217;d like, in this post, to touch on the Data Access part and how it interacts with the Business Objects.</p>
<p>In traditional architectures there are 3 known layers: Data Access, Business, and Presentation. <a href="http://en.wikipedia.org/wiki/Data_Transfer_Object">DTO&#8217;s</a> (Data Transfer Objects) are used to carry the data back and forth between the layers. Look to the following diagram:</p>
<p><a href="http://eashi.files.wordpress.com/2008/11/dto.jpg"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/11/dto-thumb.jpg?w=343&#038;h=182" border="0" alt="DTO" width="343" height="182" /></a></p>
<p>Bunian contributors seemed to have the same experience developing against such architecture, so we have decided to go with something different; smart Business Objects with more toward OOP.</p>
<p>The way I&#8217;d present the current architecture is like the following:</p>
<p><a href="http://eashi.files.wordpress.com/2008/11/businessobjectsrelations.jpg"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/11/businessobjectsrelations-thumb.jpg?w=427&#038;h=450" border="0" alt="BusinessObjectsRelations" width="427" height="450" /></a></p>
<p>As you can see from the diagram, the architecture revolves around one core unit, the Business Objects; because it&#8217;s the essence of the application, it&#8217;s where all the real things happen. Being the core, the interaction will happen in different ways depending on the nature of the service the component provides (or requires). Those can be divided into three categories:</p>
<ol>
<li>Interacting with components that provide services consumable by many other applications; like logging for example. Here our core can reference the component directly without any worries because the component is absolutely independent of the core (represented in the previous graph as solid arrow). Of course it would be better if there is simple abstraction layer so we can manage any change of components.</li>
<li>Interacting with components that consume services from our core directly; like the User Interface. The interface will merely represent the business behavior in a way the end user will understand, no dependency what so ever from the core on the UI, it should be even representable through console application if needed (also represented in a solid arrow)</li>
<li>Interacting with components that are providing a special need to the business, like the Data Access. This should be done via interfaces and <a href="http://en.wikipedia.org/wiki/Dependency_injection">Dependency Injection</a>; that is because it is the business who determines the needs to be fulfilled, it is the one who states it needs to be able to Save, Delete, Update..etc.., and the component willing to fulfill this need should adhere to the contract the core dictates. (represented by the dotted line meaning indirect dependency)</li>
</ol>
<p>We are concentrating on the 3rd interaction, specifically the data access component.</p>
<p>The main thing to note here is that by using Interfaces and Dependency Injection, we will be eliminating any circular dependencies; even if the candidate component will require parts of the core (like our example: the data access will want to return strong types that reside in the business objects, or take types as parameters), even if that so, we will make sure that the core is independent of the component (references wise).</p>
<p>The best way to understand is by an example, I will try to make it as simple as possible first, and in future post I might include more real scenarios (like the one we are using in Bunian) so lets get our sleeves folded:</p>
<p>we have a simple class <strong>MyBusinessObject</strong> with a simple property <strong>DisplayName</strong>:</p>
<div style="font-size:12pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:blue;">public</span> <span style="color:blue;">class</span> <span style="color:#2b91af;">MyBusinessObject</span></p>
<p style="margin:0;">    {</p>
<p style="margin:0;">        <span style="color:blue;">private</span> <span style="color:blue;">string</span> _displayName;</p>
<p style="margin:0;">        <span style="color:blue;">public</span> <span style="color:blue;">string</span> DisplayName</p>
<p style="margin:0;">        {</p>
<p style="margin:0;">            <span style="color:blue;">get</span></p>
<p style="margin:0;">            { <span style="color:blue;">return</span> _displayName; }</p>
<p style="margin:0;">            <span style="color:blue;">set</span></p>
<p style="margin:0;">            { _displayName = <span style="color:blue;">value</span>; }</p>
<p style="margin:0;">        }</p>
<p style="margin:0;">    }</p>
</div>
<p>This class needs to have a way to access the database and bring an instance, but on the other hand, it doesn&#8217;t want to do anything with the implementation. So it declares that it will need a component that should adhere to the <strong>IRepository</strong> interface which will have the <strong>Get</strong> method. It will have this component as a static member:</p>
<div style="font-size:12pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:blue;">public</span> <span style="color:blue;">static</span> <span style="color:#2b91af;">IRepository</span> _repository;</p>
</div>
<p>IRepository definition is:</p>
<div style="font-size:12pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:blue;">public</span> <span style="color:blue;">interface</span> <span style="color:#2b91af;">IRepository</span></p>
<p style="margin:0;">    {</p>
<p style="margin:0;">        <span style="color:#2b91af;">MyBusinessObject</span> Get();</p>
<p style="margin:0;">    }</p>
</div>
<p>So a component volunteers, <strong>MyConcreteRepository:</strong></p>
<div style="font-size:12pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:blue;">class</span> <span style="color:#2b91af;">MyConcreteRepository</span> : <span style="color:#2b91af;">IRepository</span></p>
<p style="margin:0;">    {</p>
<p style="margin:0;">        <span style="color:blue;">public</span> <span style="color:#2b91af;">MyBusinessObject</span> Get()</p>
<p style="margin:0;">        {</p>
<p style="margin:0;">            <span style="color:#2b91af;">MyBusinessObject</span> myObject = <span style="color:blue;">new</span> <span style="color:#2b91af;">MyBusinessObject</span>();</p>
<p style="margin:0;">            myObject.DisplayName = <span style="color:#a31515;">&#8220;ConcreteRepository&#8221;</span>;</p>
<p style="margin:0;">            <span style="color:blue;">return</span> myObject;</p>
<p style="margin:0;">        }</p>
<p style="margin:0;">    }</p>
</div>
<p>Ok great, now all what we need is to assign an instance of this concrete class to the _<strong>repository</strong> static member in <strong>MyBusinessObject </strong>static constructor<strong>. </strong>but if we do so the following it will be wrong:</p>
<div style="font-size:12pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:blue;">static</span> MyBusinessObject()</p>
<p style="margin:0;">        {</p>
<p style="margin:0;">            _repository = <span style="color:blue;">new</span> MyConcreteRepository(); <span style="color:green;">//wrong!</span></p>
<p style="margin:0;">        }</p>
</div>
<p>simply because if MyConcreteRepository resides in different project/dll (and mostly it will), then you will have circular dependency between the Business Objects and the Data Access. So the answer is to use reflection and get an instance of class without referring to dll. Using Windsor we will do the following:</p>
<div style="font-size:12pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"> <span style="color:blue;">static</span> MyBusinessObject()</p>
<p style="margin:0;">        {</p>
<p style="margin:0;">            <span style="color:#2b91af;">IWindsorContainer</span> container = <span style="color:blue;">new</span> <span style="color:#2b91af;">WindsorContainer</span>(<span style="color:blue;">new</span> <span style="color:#2b91af;">XmlInterpreter</span>(<span style="color:blue;">new</span> <span style="color:#2b91af;">ConfigResource</span>(<span style="color:#a31515;">&#8220;castle&#8221;</span>)));</p>
<p style="margin:0;">            _repository = container.Resolve&lt;<span style="color:#2b91af;">IRepository</span>&gt;(<span style="color:#a31515;">&#8220;anotherConcrete.repository&#8221;</span>);</p>
<p style="margin:0;">        }</p>
</div>
<p>The lines above, in the simplest explanation, will check in a configuration file, and see which class we will use to create instance of to assign a property of type IRepository. supplying the key &#8220;anotherConcrete.repository&#8221; tells Windsor which class to use. The config file is like the following:</p>
<div style="font-size:12pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:blue;">&lt;</span><span style="color:#a31515;">castle</span><span style="color:blue;">&gt;</span></p>
<p style="margin:0;"><span style="color:blue;">    &lt;</span><span style="color:#a31515;">components</span><span style="color:blue;">&gt;</span></p>
<p style="margin:0;"><span style="color:blue;">      &lt;</span><span style="color:#a31515;">component</span></p>
<p style="margin:0;"><span style="color:blue;">          </span><span style="color:red;">id</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">concrete.repository</span>&#8220;</p>
<p style="margin:0;"><span style="color:blue;">          </span><span style="color:red;">service</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">BusinessObjects.IRepository, BusinessObjects</span>&#8220;</p>
<p style="margin:0;"><span style="color:blue;">          </span><span style="color:red;">type</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">ConcreteRepository.MyConcreteRepository, ConcreteRepository</span>&#8220;<span style="color:blue;"> /&gt;</span></p>
<p style="margin:0;"> </p>
<p style="margin:0;"><span style="color:blue;">      &lt;</span><span style="color:#a31515;">component</span></p>
<p style="margin:0;"><span style="color:blue;">          </span><span style="color:red;">id</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">anotherConcrete.repository</span>&#8220;</p>
<p style="margin:0;"><span style="color:blue;">          </span><span style="color:red;">service</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">BusinessObjects.IRepository, BusinessObjects</span>&#8220;</p>
<p style="margin:0;"><span style="color:blue;">          </span><span style="color:red;">type</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">AnotherConcreteRepository.MyOtherConcreteRepository, AnotherConcreteRepository</span>&#8220;<span style="color:blue;"> /&gt;</span></p>
<p style="margin:0;"><span style="color:blue;">    &lt;/</span><span style="color:#a31515;">components</span><span style="color:blue;">&gt;</span></p>
<p style="margin:0;"><span style="color:blue;">  &lt;/</span><span style="color:#a31515;">castle</span><span style="color:blue;">&gt;</span></p>
</div>
<p>By that we will have achieved our data access within our business objects without circular dependencies and in a way that will make it easy to change data access component with another in the future.</p>
<p>Of course in real life you would use inheritance for example to manage similar code, this will be postponed in another post by god willing, hopefully soon.</p>
<p>Note that we didn&#8217;t use essence of &#8220;dependency injection&#8221;, since it means more than the <strong>Resolve&lt;T&gt;(key)</strong> part. <br />
For more information about dependency injection read this excellent series of articles <a href="http://dotnetslackers.com/articles/designpatterns/InversionOfControlAndDependencyInjectionWithCastleWindsorContainerPart1.aspx">here</a>.</p>
<p>Source code of the example above is available <a href="http://cid-e2333335bfd5201c.skydrive.live.com/self.aspx/Public/Development/MyIoC.zip">here</a>.</p>
<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Feashi.wordpress.com%2F2008%2F11%2F10%2Fdata-access-within-business-objects-bunian-design%2F&amp;title=Data+Access+Within+Business+Objects+-Bunian%26nbsp%3BDesign-"></a>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=145&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/11/10/data-access-within-business-objects-bunian-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/11/dto-thumb.jpg" medium="image">
			<media:title type="html">DTO</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/11/businessobjectsrelations-thumb.jpg" medium="image">
			<media:title type="html">BusinessObjectsRelations</media:title>
		</media:content>
	</item>
		<item>
		<title>The Story of a Winning Frog (a story we all know, and few comprehend)</title>
		<link>http://eashi.wordpress.com/2008/10/28/the-story-of-a-winning-frog-a-story-we-all-know-and-few-comprehend/</link>
		<comments>http://eashi.wordpress.com/2008/10/28/the-story-of-a-winning-frog-a-story-we-all-know-and-few-comprehend/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 19:42:12 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[software management]]></category>
		<category><![CDATA[passion negativity success]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/10/28/the-story-of-a-winning-frog-a-story-we-all-know-and-few-comprehend/</guid>
		<description><![CDATA[If you don&#8217;t know it: Once upon a time there was a group of little frogs, who decided to go through a competition to climb a tower. The tower was high and difficult, and no one of the spectator frogs believed that any of the tiny frogs can make it to the top. Little frogs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=139&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://eashi.files.wordpress.com/2008/10/frog-cartoon.jpg"><img style="border-width:0;" height="98" alt="frog_cartoon" src="http://eashi.files.wordpress.com/2008/10/frog-cartoon-thumb.jpg?w=114&#038;h=98" width="114" border="0" /></a> </p>
<p>If you don&#8217;t know it:</p>
<blockquote><p>Once upon a time there was a group of little frogs, who decided to go through a competition to climb a tower. The tower was high and difficult, and no one of the spectator frogs believed that any of the tiny frogs can make it to the top.</p>
<p>Little frogs started climbing, while spectators yelling:      <br />- &quot;oh my, it&#8217;s too high&#8230;I don&#8217;t think they can make it!&quot;       <br />- &quot;they are too young, how possibly can they reach the top?! that&#8217;s insane&quot;       <br />.       <br />.       <br />Shouting and yelling continued, while the little frogs surrendering one by one, except for this one little frog who kept going and going, climbing up further and further more. Surprising everyone, that frog made it to the top and he won the race! well&#8230;the only reason for his success that&#8230;HE WAS DEAF, he simple couldn&#8217;t hear the negative shouting of the spectators!</p>
</blockquote>
<p><strong>1) The effort a man produces trying to succeed is proportional to the amount of expectation to succeed      <br /></strong><strong>2) and the more effort he produces, the more it is possible he will succeed</strong>. </p>
<p><a href="http://eashi.files.wordpress.com/2008/10/croppercapture6.jpg"><img style="border-width:0;" height="223" alt="CropperCapture[6]" src="http://eashi.files.wordpress.com/2008/10/croppercapture6-thumb.jpg?w=533&#038;h=223" width="533" border="0" /></a> </p>
<p>So if one member of a team starts putting the team down, the teams effort is absolutely going down, even if they can make it, they won&#8217;t. <strong>no passion, no effort, no success</strong>.</p>
<p>The only thing you will get from being around negative people is being pulled down with them; they will keep discouraging you, to give up, to stop you from reaching your goal! with all sort of discouraging words:    <br />- &quot;the way we work is wrong, this is stupid! this is never gonna work&quot;     <br />-&#160; &quot;I knew it! I knew it!&quot;     <br />-&#160; &quot;the client is going to reject it, I am telling you! he is!&quot; *with yellow smile*    <br />Enlarging the disadvantages of the surroundings, and forgetting about the advantages, putting the passion off.</p>
<p>Yes, there are annoyances, but come on, NOTHING IS PERFECT! any sane human would obviously tell you that &quot;not getting all&quot; doesn&#8217;t mean &quot;giving up on all&quot;; if you do that, while there is nothing perfect, obviously, you will end up losing all!</p>
<p>Believe in yourself, try to improve, never surrender. And while doing all that&#8230;just enjoy what you have.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/139/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=139&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/10/28/the-story-of-a-winning-frog-a-story-we-all-know-and-few-comprehend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/10/frog-cartoon-thumb.jpg" medium="image">
			<media:title type="html">frog_cartoon</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/10/croppercapture6-thumb.jpg" medium="image">
			<media:title type="html">CropperCapture[6]</media:title>
		</media:content>
	</item>
		<item>
		<title>Bunian Basic Design</title>
		<link>http://eashi.wordpress.com/2008/10/23/bunian-basic-design/</link>
		<comments>http://eashi.wordpress.com/2008/10/23/bunian-basic-design/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 16:02:10 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Bunian]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Bunian design architecture]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/10/23/bunian-basic-design/</guid>
		<description><![CDATA[Well, it&#8217;s moving on, very slow, but it&#8217;s moving! If you have been following this blog, then I think you are familiar with Bunian, the open source project for charity organizations. During the last Bunian team meeting at the beginning of this week, the basic design emerged (still being discussed and subject to changes till [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=134&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s moving on, very slow, but it&#8217;s moving! </p>
<p>If you have been following this blog, then I think you are familiar with Bunian, the open source project for charity organizations. During the last Bunian team meeting at the beginning of this week, the basic design emerged (still being discussed and subject to changes till the minute of this post); we have decided to skip the dummy DTO objects, and to try Business Objects (BO), where most of the business logic lays, rather than in a separate Business Service.</p>
<p>The design will be like the following:</p>
<ul>
<li>Business Object classes: like Child, or Family. These classes will have the correspondent business logic within, including the data access (although some may object) but data access will be through repository interface data member. </li>
<li>Repository interfaces: each BO will hold an interface data member specific to the data access needs of that BO. For example, the Family BO will have the interface data member IFamilyRepository. These repository interfaces will have a parent repository interface IRepository. </li>
<li>Concrete repository classes: as it may be obvious, it implements the repository interfaces mentioned above. These classes will be in different project, in order to be able to change the behavior depending on the Database (Microsoft SQL server, MySql, etc&#8230;)      <br />Note here that there will be no direct dependency on these concrete classes; they will be injected through IoC container which we haven&#8217;t chosen yet (most likely would be Windsor,&#160; available to discussion). </li>
<li>MVP infrastructure: a project will host Views interfaces and their Presenters. </li>
</ul>
<p>The following diagrams are examples of the discussed above:</p>
<p>- Business Objects using repository interfaces:</p>
<p><a href="http://eashi.files.wordpress.com/2008/10/buniandesign1.jpg"><img style="border-width:0;" height="402" alt="BO having repository interfaces as members" src="http://eashi.files.wordpress.com/2008/10/buniandesign1-thumb.jpg?w=507&#038;h=402" width="507" border="0" /></a>&#160;</p>
<p>- Concrete classes implementing repository interfaces:</p>
<p><a href="http://eashi.files.wordpress.com/2008/10/buniandesgin2.jpg"><img style="border-width:0;" height="263" alt="BunianDesgin2" src="http://eashi.files.wordpress.com/2008/10/buniandesgin2-thumb.jpg?w=431&#038;h=263" width="431" border="0" /></a> </p>
<p>Of course all of this might be changed so let&#8217;s not hold our breath! so stay tuned if you want to know the end of the story <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Any suggestions? comments?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/134/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=134&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/10/23/bunian-basic-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/10/buniandesign1-thumb.jpg" medium="image">
			<media:title type="html">BO having repository interfaces as members</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/10/buniandesgin2-thumb.jpg" medium="image">
			<media:title type="html">BunianDesgin2</media:title>
		</media:content>
	</item>
		<item>
		<title>Successful Meetings Is The Responsibility Of All</title>
		<link>http://eashi.wordpress.com/2008/10/15/successful-meetings-is-the-responsibility-of-all/</link>
		<comments>http://eashi.wordpress.com/2008/10/15/successful-meetings-is-the-responsibility-of-all/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 22:02:24 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[software management]]></category>
		<category><![CDATA[meetings]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/10/15/successful-meetings-is-the-responsibility-of-all/</guid>
		<description><![CDATA[Through all the meetings I had in my life (the voluntary and the professional), all meetings shared key points that made it either successful and constructive, or a complete disaster and waste of time! These key points can be summarized into: Meeting is conducted to achieve certain target , a solution to a problem, Keep [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=124&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Through all the meetings I had in my life (the voluntary and the professional), all meetings shared key points that made it either successful and constructive, or a complete disaster and waste of time!</p>
<p>These key points can be summarized into:</p>
<ul>
<li><strong>Meeting is conducted to achieve certain target , a solution to a problem, Keep the focus on that goal</strong><br />
Time is valuable, and the participants will be very annoyed when they see their effort and time is wasted on a subject different from the one they originally agreed to sacrifice their time for. if the meeting was anything except resolving the original subject, it is a failure.</li>
<li><strong>all participants should be sincere to achieve the target of the meeting</strong><br />
Because we are humans:</p>
<ul>
<li>we will still use meetings as war-ground to prove intelligence superiority over others, by interruptions, mockery and shouting (in extreme situations). This will not be disruptive to the meeting only, but also will be for the team as a whole! most likely you will loose quite people hate &#8220;arguing&#8221;, who might have a very smart opinion and potentials. And then you will have the side effects of bad relations within the team; nothing have worse influence than that.<br />
The coordinator role here is to prevent such situations by eliminating any reason the participants may use to act so selfish; not encouraging them, not letting them sneak with the interruption, etc. this goes beyond the meeting as well by raising the team spirit within the team members</li>
<li>Another less serious example of unfaithfulness is the will to support wrong opinion because it&#8217;s easier, or less tiring. Again, the coordinator should be careful, and try to make the individuals targets of the team members pour in the projects target (or at least the meeting target), this also needs a lot of effort and team building actions (and that&#8217;s another story).</li>
</ul>
</li>
<li><strong>Interruptions are evil and should be eliminated<br />
</strong>To know how bad interruption is, imagine your self talking in a meeting, all passionate and ongoing&#8230;suddenly a guy thinks you are talking nonsense, or that he is smarter than  you are, and interrupts you&#8230;aaa&#8217;a!!&#8230;see how bad it is!! it wastes time, energy, and produces anger and disrespect. </li>
<li><strong>so is prattling!<br />
</strong>The more the prattle, the less the focus&#8230; the less the focus, the more the meeting loses the target. prattling can be as distructive as the interruptions, make participants less interested and even angry, hence failing meeting.</li>
<li><strong>Don&#8217;t offend others by any means. <br />
 </strong>if you do so, a wall will be built instantly between the meeting and the guy offended; he will not be able to listen to any sound logic (by nature), and will prove anything to be wrong. as long as you are discussing ideas, people will feel safe, when you bring it to their essence, they will be too protective. be cautions choosing the right words.</li>
<div><strong></strong></div>
<li><strong>Silent people can be a hidden treasure <br />
 </strong>The meeting is not meant to choose country presidents, it&#8217;s meant to elicit sound logic and constructive opinions, even if it comes from that silent little participant at the corner. if you are in charge, give him a chance, let him speak his ideas out, it might surprise you how good it can be, And if it is, you have raised his self-esteem to be more participating in the future and more successful team.</li>
<p> </p>
<div>
<div><strong></strong></div>
</div>
<div><strong></strong></div>
<p><strong></strong></ul>
<p>You can see from the points listed that it&#8217;s not only the coordinators responsibility to make the meeting successful, but the participants as well, after all they are the meeting!</p>
<p>There are lot&#8217;s of such points, but those are the one&#8217;s that come to my mind. If you have more to add, your comments below are most welcomed.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=124&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/10/15/successful-meetings-is-the-responsibility-of-all/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing Jobs</title>
		<link>http://eashi.wordpress.com/2008/10/13/changing-jobs/</link>
		<comments>http://eashi.wordpress.com/2008/10/13/changing-jobs/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 11:47:40 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[esense]]></category>
		<category><![CDATA[estarta]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/10/13/changing-jobs/</guid>
		<description><![CDATA[Yesterday was my last day in estarta, marking the end of nice period full of experience, knowledge, and amazing friends who have been like a family. And now it&#8217;s time to move on, as a Technical Team Leader in esense. The excitement increases as time goes by (since I haven&#8217;t started there yet), I have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=123&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday was my last day in <a href="http://www.estartasolutions.com">estarta</a>, marking the end of nice period full of experience, knowledge, and amazing friends who have been like a family.</p>
<p>And now it&#8217;s time to move on, as a Technical Team Leader in <a href="http://www.esensesoftware.com/">esense</a>. The excitement increases as time goes by (since I haven&#8217;t started there yet), I have only one week of preparations to step back into this role (yes, I have been TTL before) in this new environment, can&#8217;t wait.</p>
<p>Looking behind, it&#8217;s not an easy feeling;&#160; departing such people who are dear to me! but my condolences is that I am not leaving the country anytime soon (so we will meet guys <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ), and I&#8217;m full of hope that I&#8217;ll find such great environment in esense as well.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=123&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/10/13/changing-jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>
	</item>
		<item>
		<title>في أي يوم العيد؟</title>
		<link>http://eashi.wordpress.com/2008/10/05/%d9%81%d9%8a-%d8%a3%d9%8a-%d9%8a%d9%88%d9%85-%d8%a7%d9%84%d8%b9%d9%8a%d8%af%d8%9f/</link>
		<comments>http://eashi.wordpress.com/2008/10/05/%d9%81%d9%8a-%d8%a3%d9%8a-%d9%8a%d9%88%d9%85-%d8%a7%d9%84%d8%b9%d9%8a%d8%af%d8%9f/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 19:53:50 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/10/05/%d9%81%d9%8a-%d8%a3%d9%8a-%d9%8a%d9%88%d9%85-%d8%a7%d9%84%d8%b9%d9%8a%d8%af%d8%9f/</guid>
		<description><![CDATA[في السنوات الأخيرة، كثر الحديث عن رؤية الهلال، و تحديد بدايات الأشهر القمرية، و لا سيما شهر رمضان و شوال لأهمتيهما. و احتار الناس بين البيانات الرسمية الصادرة عن المؤسسات الحكومية من جهة (نتيجة إدلاء شهود برؤية الهلال)، و المؤسسات الفلكية المتخصصة من جهة أخرى. الموضوع -على عقده- بسيط؛ فلتحديد بادية هذه الأشهر الحساسة تعتمد [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=120&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div dir="rtl">
<p align="right">في السنوات الأخيرة، كثر الحديث عن رؤية الهلال، و تحديد بدايات الأشهر القمرية، و لا سيما شهر رمضان و شوال لأهمتيهما. و احتار الناس بين البيانات الرسمية الصادرة عن المؤسسات الحكومية من جهة (نتيجة إدلاء شهود برؤية الهلال)، و المؤسسات الفلكية المتخصصة من جهة أخرى.</p>
<p align="right">الموضوع -على عقده- بسيط؛ فلتحديد بادية هذه الأشهر الحساسة تعتمد المؤسسات الحكومية على شهادة مواطنين شهدوا برؤية الهلال، و هذا أمر طيب. لكن المشكلة أن لخمسين عاما خلت من الآن، كانت معظم تلك الشهادات خاطئة و ليس لها أساس من الصحة (و ما زالت)!  لم يكن بالإمكان -من خلال الوسائل المتاحة للمؤسسات المسؤولة حينئذ- أن تتأكد من صحتها. كان يكفي أن يكون مسلما عاقلا بالغا راشدا، و لا يزال الأمر كذلك.</p>
<p align="right">لكن في الآونة الأخيرة، اجتهدت المؤسسات الفلكية (و على رأسها <a href="http://www.icoproject.org/index.html">المشروع الإسلامي لرصد الأهلة</a>) أن تبين هذا الأمر، بما أن لديها العلم الكافي و الكوادر المؤهلة كي تبين لهذه المؤسسات أن الشهادات في معظمها خاطئة! فبادرت بنشر الأوراق العلمية، و الخطابات الرسمية، و الظهور على وسائل الإعلام لعظم الأمر، و من هنا بدأ وعي الناس للموضوع، لكن للأسف لم تستجب هذه المؤسسات، فكانت البلبلة.</p>
<p align="right">لكي يتضح الأمر أكثر، الشكل(1) الذي يبين منظر الأفق في الحالة الطبيعية عند امكانية رؤية الهلال:</p>
<p align="right"><a href="http://eashi.files.wordpress.com/2008/10/originalsunset.jpg"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/10/originalsunset-thumb.jpg?w=313&#038;h=229" border="0" alt="يمكن رؤية الهلال" width="313" height="229" /></a>الشكل (1)</p>
<p align="right">الشمس تحت الأفق (غابت تماما)، وهجها بدأ بالخفوت، و القمر بعيد نسبيا عنها و فوق الأقق بمسافة تسمح لتكون الهلال، و تسمح للعين البشرية إبصاره.</p>
<p align="right">أما في الشكل (2)، فيكون في حالة لا يمكن فيها رؤية الهلال لقربه الشديد من الشمس، فوهج الشمس يمنع رؤيته:</p>
<p align="right"><a href="http://eashi.files.wordpress.com/2008/10/originalsunset2.jpg"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/10/originalsunset2-thumb.jpg?w=310&#038;h=218" border="0" alt="لا يمكن رؤية الهلال" width="310" height="218" /></a> الشكل (2)</p>
<p align="right">و أما في الشكل (3)، فإن رؤية الهلال مستحيلة! لأن القمر يغيب أصلا قبل الشمس، فلا يوجد شيء بالأفق لرصده من الأساس!!:</p>
<p align="right"><a href="http://eashi.files.wordpress.com/2008/10/originalsunset3.jpg"><img style="border-width:0;" src="http://eashi.files.wordpress.com/2008/10/originalsunset3-thumb.jpg?w=303&#038;h=223" border="0" alt="تست�يل رؤية الهلال" width="303" height="223" /></a>الشكل (3)</p>
<p align="right">و معظم الحالات التي يشهد فيها هؤلاء الشهود تكون في الحالة الأخيرة التي لا يوجد فيها هلال أصلا!!! و لا حول و لا قوة إلا بالله!</p>
<p align="right">للمزيد من المعلومات، انظر المراجع التالية:</p>
<ul>
<li><a href="http://www.icoproject.org/article/2004_newmoon.html">الفرق بين الهلال  و تولد الهلال</a></li>
<li><a href="http://www.icoproject.org/article/2004_crescent.html">الهلال بين الحسابات الفلكية والرؤية</a></li>
<li><a href="http://www.icoproject.org/icop/shw29.html">نتائج رصد الهلال العالمية لشوال هذا العام 1429</a></li>
<li><a href="http://www.icoproject.org/article/1999_error.html">تقويم نسب الخطأ في تحديد أوائل الأشهر الهجرية  (في الأردن)</a></li>
</ul>
<p>و إن كنت مهتما بعلوم الفلك التطبيقية المتعلقة بالشريعة، اتبع <a href="http://www.icoproject.org/article.html">هذا الرابط</a> لمزيد من البحوث.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=120&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/10/05/%d9%81%d9%8a-%d8%a3%d9%8a-%d9%8a%d9%88%d9%85-%d8%a7%d9%84%d8%b9%d9%8a%d8%af%d8%9f/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/10/originalsunset-thumb.jpg" medium="image">
			<media:title type="html">يمكن رؤية الهلال</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/10/originalsunset2-thumb.jpg" medium="image">
			<media:title type="html">لا يمكن رؤية الهلال</media:title>
		</media:content>

		<media:content url="http://eashi.files.wordpress.com/2008/10/originalsunset3-thumb.jpg" medium="image">
			<media:title type="html">تست�يل رؤية الهلال</media:title>
		</media:content>
	</item>
		<item>
		<title>Free Collaboration Software</title>
		<link>http://eashi.wordpress.com/2008/10/04/free-collaboration-software/</link>
		<comments>http://eashi.wordpress.com/2008/10/04/free-collaboration-software/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 11:07:10 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[rapsyx rapidone]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/10/04/free-collaboration-software/</guid>
		<description><![CDATA[My previous employer Rapsyx decided lately to publish the light version of it&#8217;s prime product RapidOne as free software. RapidOne in short words: RapidOne Team provides a single application to handle communication, workplanning and resource sharing across the organization with a highly innovative storage concept organizing your data naturally With the ability to add a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=111&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My previous employer <a href="http://www.rapsyx.com">Rapsyx</a> decided lately to publish the light version of it&#8217;s prime product RapidOne as free software.</p>
<p>RapidOne in short words:</p>
<blockquote><p>RapidOne Team provides a single application to handle communication, workplanning and resource sharing across the organization with a highly innovative storage concept organizing your data naturally </p>
</blockquote>
<p>With the ability to add a whole set of CRM components depending on the version you choose. </p>
<p>Interesting? have a look at the free version <a href="http://www.rapid-one.com/">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=111&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/10/04/free-collaboration-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>
	</item>
		<item>
		<title>NHibernate possible bug in IQuery.List&lt;T&gt;()</title>
		<link>http://eashi.wordpress.com/2008/09/22/nhibernate-possible-bug-in-iquerylistt/</link>
		<comments>http://eashi.wordpress.com/2008/09/22/nhibernate-possible-bug-in-iquerylistt/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 22:09:15 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[NHibernate]]></category>
		<category><![CDATA[NHibernate IQuery bug IList]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/09/22/nhibernate-possible-bug-in-iquerylistt/</guid>
		<description><![CDATA[recently, we had to clean the database from all the testing data, when an error similar to the following appeared: The value &#8220;&#8221; is not of type &#8220;System.Nullable`1[System.DateTime]&#8221; and cannot be used in this generic collection The code I executed was:             IQuery query = DbManager.MySession.CreateQuery(&#8220;select max(dateObject.EndDate) from DateDomain dateObject&#8221;);             IList&#60;DateTime?&#62; list = query.List&#60;DateTime?&#62;(); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=99&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>recently, we had to clean the database from all the testing data, when an error similar to the following appeared:</p>
<p><strong>The value &#8220;&#8221; is not of type &#8220;System.Nullable`1[System.DateTime]&#8221; and cannot be used in this generic collection</strong></p>
<p>The code I executed was:</p>
<div style="font-size:12pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:#2b91af;">            IQuery</span> query = <span style="color:#2b91af;">DbManager</span>.MySession.CreateQuery(<span style="color:#a31515;">&#8220;select max(dateObject.EndDate) from DateDomain dateObject&#8221;</span>);</p>
<p style="margin:0;">            <span style="color:#2b91af;">IList</span>&lt;<span style="color:#2b91af;">DateTime</span>?&gt; list = query.List&lt;<span style="color:#2b91af;">DateTime</span>?&gt;();</p>
</div>
<p>When I debugged NHibernate code, I reached to the following AddAll() method in the ArrayHelper class:</p>
<div style="font-size:12pt;background:#f2ebe3;color:black;font-family:courier new;">
<p style="margin:0;"><span style="color:#2b91af;">  152</span> <span style="color:#008000;">// NH-specific</span></p>
<p style="margin:0;"><span style="color:#2b91af;">  153</span>         <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">static</span> <span style="color:#0000ff;">void</span> AddAll(<span style="color:#2b91af;">IList</span> to, <span style="color:#2b91af;">IList</span> from)</p>
<p style="margin:0;"><span style="color:#2b91af;">  154</span>         {</p>
<p style="margin:0;"><span style="color:#2b91af;">  155</span>             <span style="color:#0000ff;">foreach</span> (<span style="color:#0000ff;">object</span> obj <span style="color:#0000ff;">in</span> from)</p>
<p style="margin:0;"><span style="color:#2b91af;">  156</span>             {</p>
<p style="margin:0;"><span style="color:#2b91af;">  157</span>                 to.Add(obj);</p>
<p style="margin:0;"><span style="color:#2b91af;">  158</span>             }</p>
<p style="margin:0;"><span style="color:#2b91af;">  159</span>         }</p>
</div>
<p>You can find the explanation of the error <a href="http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/abc99fb5-e218-4efa-8969-3d96f6021cee/">here</a>.<br />
Which brings us to the interesting question: why the implementation of IList Add method doesn&#8217;t consider the &#8220;nullability&#8221; of the T object? and why the parameter is of type IList ?!</p>
<p> Am I missing something? should I report it as a bug?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=99&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/09/22/nhibernate-possible-bug-in-iquerylistt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>
	</item>
		<item>
		<title>Software gadgets</title>
		<link>http://eashi.wordpress.com/2008/09/08/software-gadgets/</link>
		<comments>http://eashi.wordpress.com/2008/09/08/software-gadgets/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 20:18:20 +0000</pubDate>
		<dc:creator>eashi</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://eashi.wordpress.com/2008/09/08/software-gadgets/</guid>
		<description><![CDATA[In the early days when the Internet was Blog-free, my machine was light and clean, it was barely Visual Sutdio, SQL Server Express (then it was called MSDE) , Office, MSN and IIS. I always believed in the light clean machine, no goofy software around. Then Blogs started to appear, and more interesting blogs had [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=95&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the early days when the Internet was Blog-free, my machine was light and clean, it was barely Visual Sutdio, SQL Server Express (then it was called MSDE) , Office, MSN and IIS. I always believed in the light clean machine, no goofy software around.</p>
<p>Then Blogs started to appear, and more interesting blogs had my attention like <a href="http://www.computerzen.com">Scott&#8217;s</a> and <a href="http://www.shahine.com/omar/">Omar&#8217;s</a>, and with it I started to learn about new software gadgets. From that day, I am addicted!</p>
<p>First it was the <a href="http://www.hanselman.com/tools/">Ultimate Tools List</a>, I browsed it, and out of interest I downloaded <a href="http://www.launchy.net/">Launchy</a>, AMAZING (can&#8217;t live without it)!! then <a href="http://notepad-plus.sourceforge.net/uk/site.htm">Notepad++</a> then <a href="http://www.microsoft.com/Downloads/details.aspx?familyid=C26EFA36-98E0-4EE9-A7C5-98D0592D8C52&amp;displaylang=en">SyncToy</a>, then <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx">Process Explorer</a>, <a href="http://www.codeplex.com/cropper">Cropper</a>, and I couldn&#8217;t stop!</p>
<p>Now there are wonderful sites like <a href="http://www.filehippo.com/">FileHippo</a> that is a prime source for new software gadgets and their update news. but the surprise was <a href="http://www.wakoopa.com">Wakoopa</a>; who thought there would be a whole social community website built around software enthusiasm!</p>
<p>But anyway, I still believe in clean and light machines, I don&#8217;t download toys that I don&#8217;t need, and regularly monitor their effect on my machine; the beauty of both worlds <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eashi.wordpress.com/95/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eashi.wordpress.com/95/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eashi.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eashi.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eashi.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eashi.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eashi.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eashi.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eashi.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eashi.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eashi.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eashi.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eashi.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eashi.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eashi.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eashi.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eashi.wordpress.com&amp;blog=213034&amp;post=95&amp;subd=eashi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eashi.wordpress.com/2008/09/08/software-gadgets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">eashi</media:title>
		</media:content>
	</item>
	</channel>
</rss>
