<?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/"
	>

<channel>
	<title>Digicorp &#187; Uncategorized</title>
	<atom:link href="http://dev.digi-corp.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.digi-corp.com</link>
	<description>&#62;&#62; Developer Blog</description>
	<lastBuildDate>Wed, 22 Jun 2011 14:13:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Configuring High Availability of Web Server and Database Server on Amazon EC2</title>
		<link>http://dev.digi-corp.com/2011/06/configuring-high-availability-of-web-server-and-database-server-on-amazon-ec2/</link>
		<comments>http://dev.digi-corp.com/2011/06/configuring-high-availability-of-web-server-and-database-server-on-amazon-ec2/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 14:10:51 +0000</pubDate>
		<dc:creator>bhumish.shah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1947</guid>
		<description><![CDATA[Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. Amazon Cloud Computing is a good choice if you want to deploy very large scale network on the cloud which requires high availability, auto scaling and load balancing features. In this article I will explain how you [...]]]></description>
			<content:encoded><![CDATA[<p>Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. Amazon Cloud Computing is a good choice if you want to deploy very large scale network on the cloud which requires high availability, auto scaling and load balancing features.</p>
<p>In this article I will explain how you can configure High Availability for Microsoft Sql Server 2005/2008 &amp; Web server (IIS) in Amazon EC2. I am assuming that you have basic idea and knowledge of how Amazon EC2 works.</p>
<p>First of all let’s start with Amazon Load Balancing for <strong>Web Server</strong>.</p>
<p>Assuming that you have created 2 instances for your web server in <strong>Different Availability Zones </strong>and deployed your web application on IIS.</p>
<p>Just go to Load Balancer tab in EC2 menu,and then click on <em><strong>Create a New Load Balancer</strong></em></p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2011/06/13.png"><img class="aligncenter size-medium wp-image-1955" src="http://dev.digi-corp.com/wp-content/uploads/2011/06/13-300x201.png" alt="" width="300" height="201" /></a></p>
<p>Select Ping Protocol <strong>http</strong>, Ping Port <strong>80</strong>, ping file name<strong>: iisstart.htm </strong></p>
<p><strong><a href="http://dev.digi-corp.com/wp-content/uploads/2011/06/2.png"><img class="aligncenter size-medium wp-image-1957" src="http://dev.digi-corp.com/wp-content/uploads/2011/06/2-300x200.png" alt="" width="300" height="200" /></a></strong></p>
<p><strong>Note</strong>: Ping Path file should be there to work load balancer, load balancer will check iisstart.htm file at 0.5 minutes interval.</p>
<p>On next page just select your 2 web server’s instances</p>
<p><strong><a href="http://dev.digi-corp.com/wp-content/uploads/2011/06/3.png"><img class="aligncenter size-medium wp-image-1958" src="http://dev.digi-corp.com/wp-content/uploads/2011/06/3-300x132.png" alt="" width="300" height="132" /></a></strong></p>
<p>Just click on create button in next screen.</p>
<p><strong><a href="http://dev.digi-corp.com/wp-content/uploads/2011/06/4.png"><img class="aligncenter size-medium wp-image-1959" src="http://dev.digi-corp.com/wp-content/uploads/2011/06/4-300x200.png" alt="" width="300" height="200" /></a></strong></p>
<p>Make sure that you’re both web servers instances are on different Availability Zone. For example 1 web Server on US-East-1a and other web server’s instances on US-East-1d as shown in above screenshot.</p>
<p><strong>Different Availability Zones means different data centers of Amazon in same Region.</strong></p>
<p><strong> </strong></p>
<p><strong> </strong>You can check your Load Balancer&#8217;s status on below link . Make sure that your both instances are In <strong>Service mode</strong>.</p>
<p><strong><a href="http://dev.digi-corp.com/wp-content/uploads/2011/06/5.png"><img class="aligncenter size-medium wp-image-1960" src="http://dev.digi-corp.com/wp-content/uploads/2011/06/5-300x132.png" alt="" width="300" height="132" /></a></strong></p>
<p>That’s it your web server is now configured with load balancer URL which Amazon provides.</p>
<p>Now you can access your web Server from Load Balancer&#8217;s URL.</p>
<p>For Sql Server’s High Availability we can’t use load balancer but we have different options like <strong>Database Replication, Database Mirroring</strong>.</p>
<p>Now let&#8217;s see how to configure database mirroring in Sql Server 2005/2008.</p>
<p>For Database mirroring just take full database backup of primary database and restore it on secondary server with no recovery option. You also have to install Sql Server in witness server to have automatic fail over of the database.</p>
<p>Sql Server’s Database mirroring uses port <strong>5222</strong> port number so make sure that you have open <strong>5222</strong> port number in your security group (firewall).</p>
<p>After restoring database on secondary server go to primary server, just right click on your database then click on database mirror wizard and follow the instruction as below</p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2011/06/6.png"><img class="aligncenter size-medium wp-image-1962" src="http://dev.digi-corp.com/wp-content/uploads/2011/06/6-300x156.png" alt="" width="300" height="156" /></a></p>
<p>Click yes on do you want to configure security to include witness server roles wizard.</p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2011/06/7.png"><img class="aligncenter size-medium wp-image-1964" src="http://dev.digi-corp.com/wp-content/uploads/2011/06/7-300x156.png" alt="" width="300" height="156" /></a><br />
Select primary database instances on below screen.</p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2011/06/8.png"><img class="aligncenter size-medium wp-image-1965" src="http://dev.digi-corp.com/wp-content/uploads/2011/06/8-300x156.png" alt="" width="300" height="156" /></a></p>
<p>Select your mirror server instances</p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2011/06/9.png"><img class="aligncenter size-medium wp-image-1966" src="http://dev.digi-corp.com/wp-content/uploads/2011/06/9-300x156.png" alt="" width="300" height="156" /></a></p>
<p>Select the Witness Server’s Sql Instances</p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2011/06/10.png"><img class="aligncenter size-medium wp-image-1967" src="http://dev.digi-corp.com/wp-content/uploads/2011/06/10-300x156.png" alt="" width="300" height="156" /></a></p>
<p>Click finish button to start the database mirroring .</p>
<p>That’s it. Your Sql server’s high availability setup is completed. If your primary server goes down it will automatically switch connection to mirror server and your mirror server becomes active now. So your clients or you will not have any problems at all to access your application!</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2011/06/configuring-high-availability-of-web-server-and-database-server-on-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install and Configure Visual SVN Server for Windows</title>
		<link>http://dev.digi-corp.com/2010/05/how-to-install-and-configure-visual-svn-server-for-windows/</link>
		<comments>http://dev.digi-corp.com/2010/05/how-to-install-and-configure-visual-svn-server-for-windows/#comments</comments>
		<pubDate>Thu, 13 May 2010 12:45:00 +0000</pubDate>
		<dc:creator>bhumish.shah</dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[kdesvn]]></category>
		<category><![CDATA[smartsvn]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[SVN Server]]></category>
		<category><![CDATA[Tortoise SVN]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1893</guid>
		<description><![CDATA[This article will describe how you can get started with the subversion server based on Windows. I’ll use the Visual SVN standard edition. Visual SVN is also available in the enterprise edition but it is not free. The standard edition is free and you can use it in a commercial environment. Links for the Visual SVN [...]]]></description>
			<content:encoded><![CDATA[<p>This article will describe how you can get started with the subversion server based on Windows.</p>
<p>I’ll use the <strong>Visual SVN</strong> standard edition. Visual SVN is also available in the enterprise edition but it is not free. The standard edition is free and you can use it in a commercial environment.</p>
<p>Links for the Visual SVN Server : <a href="http://www.visualsvn.com/server/">http://www.visualsvn.com/server/</a></p>
<p>Download links for the Visual SVN standard edition:<a href="http://www.visualsvn.com/server/download/">http://www.visualsvn.com/server/download/</a></p>
<p>Download it and install with the administrator privileged on the system.</p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2010/05/1.jpg"><img class="alignnone size-full wp-image-1896" title="1" src="http://dev.digi-corp.com/wp-content/uploads/2010/05/1.jpg" alt="Visual SVN Server Installation" width="614" height="461" /></a></p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2010/05/1.jpg"></a></p>
<p>Select VisualSVN Server and Management Console.</p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2010/05/2.jpg"><img class="alignnone size-full wp-image-1899" title="2" src="http://dev.digi-corp.com/wp-content/uploads/2010/05/2.jpg" alt="Visual SVN Server Installation" width="614" height="461" /></a></p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2010/05/2.jpg"></a></p>
<p>Select the location where you want to install VisualSVN Server and store SVN repositories.</p>
<p>You can use 2 types of authentication:</p>
<p><strong>1) Subversion Authentication:</strong><strong> </strong> The SVN Server uses its own authentication. It will create its own database for users , groups and permission.</p>
<p><strong>2) Windows Authentication</strong><strong> </strong>: This option will allow you to assign rights to Windows users and groups.</p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2010/05/3.jpg"><img class="alignnone size-full wp-image-1900" title="3" src="http://dev.digi-corp.com/wp-content/uploads/2010/05/3.jpg" alt="Visual SVN Server Configuration" width="614" height="461" /></a></p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2010/05/3.jpg"></a></p>
<p>Now, I’ll describe how to use SVN authentication.</p>
<p>After installation open VisualSVN Server Manager. Create a New Repository. You can also use Trunk , Branches and Tags. Here, we are going to create a repository named <strong>subversion.</strong></p>
<p>- Create one user for testing purposes and name it digicorp.</p>
<p>- After creating a <strong>subversion</strong><strong> </strong>repository, right click on it and go to the Security tab.</p>
<p>- Remove “Permission to Everyone” or select “No Access to Everyone” and give read/write access to digicorp users.</p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2010/05/4.jpg"><img class="alignnone size-full wp-image-1901" title="4" src="http://dev.digi-corp.com/wp-content/uploads/2010/05/4.jpg" alt="Visual SVN Server Installation &amp; Configuration" width="614" height="461" /></a></p>
<p>We are now done with the server aspect of the configuration. A link will be created for the subversion repository like this: <strong><a href="https://terminal.digi-corp.com/svn/subversion/">https://terminal.digi-corp.com/svn/subversion/</a></strong></p>
<p>You can also specify the IP address instead of giving a domain name like this: <a href="https://192.168.0.204/svn/subversion/"><strong>https://192.168.0.204/svn/subversion/</strong></a></p>
<p>Now I’ll descibe the client aspect of the subversion server.</p>
<p>Download the Tortoise SVN client and install in on a Windows machine. You can not install Tortoise SVN client on a Linux machine. For linux System you can use <strong>SmartSvn, KDESvn,</strong> etc.</p>
<p>Here is a link to download Tortoise SVN client for Windows: <a href="http://sourceforge.net/projects/tortoisesvn/files/Application/1.6.8/TortoiseSVN-1.6.8.19260-win32-svn-1.6.11.msi/download">http://sourceforge.net/projects/tortoisesvn/files/Application/1.6.8/TortoiseSVN-1.6.8.19260-win32-svn-1.6.11.msi/download</a></p>
<p>After installing the Tortoise SVN client, right click on the desktop and select SVN Checkout. Accept Certificate permanently.</p>
<p>URL of Repository : <a href="https://terminal.digi-corp.com/svn/subversion">https://terminal.digi-corp.com/svn/subversion</a></p>
<p><a href="http://dev.digi-corp.com/wp-content/uploads/2010/05/5.jpg"><img class="alignnone size-full wp-image-1902" title="5" src="http://dev.digi-corp.com/wp-content/uploads/2010/05/5.jpg" alt="Visual SVN Sever Installation &amp; Configuration" width="614" height="461" /></a></p>
<p>Now we have completed both the server and client aspect of the configuration.</p>
<p>Visual SVN Server has the backup and restore functionality also. But we have to use the command line.</p>
<p>Go to the following location on Server: <strong>C:\Program Files\VisualSVN Server\bin\</strong></p>
<p>Execute the following command to Take backup: <strong>svnadmin.exe dump subversion</strong></p>
<p>This is a Simple SVN Server solution and is very useful for smaller organizations that want to start or test the Subversion functionality. For use in bigger organizations you can try Linux-based Subversion Server which is very stable and more reliable as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2010/05/how-to-install-and-configure-visual-svn-server-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Efficient Usage Of FCKEditor</title>
		<link>http://dev.digi-corp.com/2009/09/efficient-usage-of-fckeditor/</link>
		<comments>http://dev.digi-corp.com/2009/09/efficient-usage-of-fckeditor/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 10:46:24 +0000</pubDate>
		<dc:creator>amit.shah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1420</guid>
		<description><![CDATA[Table of Contents Introduction What is FCKEditor? When Should We Use FCKEditor? The features that attracts the user to use it What are improvement needs in it? Integrate FCKEditor    Step by Step How to apply Themes How to apply Language Conclusion Bibliography References History Introduction There are many editors available in the market. Each editor [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Table of Contents </strong></p>
<ul>
<li> <span style="text-decoration: underline;">Introduction</span></li>
<li> <span style="text-decoration: underline;">What is FCKEditor?</span></li>
<li> <span style="text-decoration: underline;">When Should We Use FCKEditor? </span></li>
<li> <span style="text-decoration: underline;">The features that attracts the user to use it </span></li>
<li> <span style="text-decoration: underline;">What are improvement needs in it</span>?</li>
<li> <span style="text-decoration: underline;">Integrate FCKEditor    Step by Step</span></li>
<li> <span style="text-decoration: underline;">How to apply Themes</span></li>
<li> <span style="text-decoration: underline;">How to apply Language</span></li>
<li> <span style="text-decoration: underline;">Conclusion </span></li>
<li> <span style="text-decoration: underline;">Bibliography </span></li>
<li> <span style="text-decoration: underline;">References </span></li>
<li> <span style="text-decoration: underline;">History</span></li>
</ul>
<p><strong>Introduction</strong></p>
<p>There are many editors available in the market. Each editor has its own features, benefits and drawbacks. FCKEditor is top one of them in Open Source category. In this article, I will explain some of good features.</p>
<p><strong>What is FCKEditor?</strong></p>
<p>FCKEditor   is HTML text editor brings to the web much of the power of desktop editors like MS Word. FCKEditor is powerful tool which provides the html editing, theme to suit your web interface, multiple language supports, selection of tools to be displayed as per requirement, image upload, flash file upload and many more. It&#8217;s <strong>lightweight</strong> and doesn&#8217;t require any kind of installation on the client computer.</p>
<p><strong>The features that attracts the user to use it</strong></p>
<ol>
<li>Open source</li>
<li>User friendly and easy      to integrate</li>
<li>Toolbar selection      facility</li>
<li>Support of multiple      language</li>
<li>Support of skin to      suite web page UI</li>
<li>Light weight</li>
<li>Image and flash file      upload</li>
</ol>
<p><strong>The improvement which could be done</strong></p>
<ol>
<li>Inbuilt facility to      select theme at client side</li>
<li>Inbuilt facility to      select language at client side</li>
<li>More font type and font      size to improve user interface</li>
</ol>
<p><strong>Integrate FCKEditor Step by Step</strong></p>
<ol>
<li>Download FCKEditor  source code from following link: <a href="http://sourceforge.net/projects/fckeditor/files/FCKeditor/2.6.4.1/FCKeditor_2.6.4.1.zip/download">http://sourceforge.net/projects/FCKEditor      /files/FCKEditor /2.6.4.1/FCKEditor _2.6.4.1.zip/download </a></li>
<li style="text-align: left;">Create new/ Open existing web project/ website <img class="aligncenter size-full wp-image-1428" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/1.CreateWbsite1.png" alt="1.CreateWbsite" width="500" height="537" /></li>
<li>Copy FCKEditor source code folder and paste it to website root directory. <img class="aligncenter size-full wp-image-1424" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/2.Pastfckeditor.png" alt="2.Pastfckeditor" width="500" height="537" /></li>
<li>Copy FCKEditor  FredCK.FCKEditor V2.dll file from source code and paste it to website <strong>Bin</strong> folder <img class="aligncenter size-full wp-image-1425" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/3.DllPaste.png" alt="3.DllPaste" width="500" height="537" /></li>
<li>You have to register FCKEditor      to use it in your page. There are two way to register it. Manual: Following script will register it.  You have add this script in every page you want to use FCKEditor. <img class="aligncenter size-full wp-image-1426" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/4.PlaceFckeditor.png" alt="4.PlaceFckeditor" width="500" height="311" />From Toolbar: : You can Otherwise, you can browse FCKEditor by right click on Toolbar &gt;&gt; Choose Items. A dialog box will appear as shown in following image. Select .Net Framework Components &gt;&gt; Click on Browse button located at right hand bottom. Choose the .dll of FCKEditor from the bin directory of your application. An item called FCKEditor will be added to your Toolbar. Now you are ready to drag and drop editor in your page. If you place editor in your page, it will also add same code in your web page as we have done in manual method. <img class="aligncenter size-full wp-image-1422" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/ChooseFckEditorfrom.PNG" alt="ChooseFckEditorfrom" width="500" height="421" /></li>
<li>Run <!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE              MicrosoftInternetExplorer4              &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;} --> <!--[endif]--><span>website, you can see the FCKEditor in your browser with default theme and default English language. <img class="aligncenter size-full wp-image-1427" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/5.RunFCKEditor.png" alt="5.RunFCKEditor" width="500" height="516" /></span></li>
</ol>
<p><strong>How to apply Theme?</strong></p>
<p>FCKEditor   having a great themeing feature. User can apply the theme in two ways. One way is dynamically and another statically. The site of FCKEditor provides 3 themes to be downloading. There are many third party open source themes available to download. I have shared few themes with this article.</p>
<p>[1]. Default Theme</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-1430" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/DefaultTheme.png" alt="DefaultTheme" width="500" height="313" />[2]. Office2003 Theme</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-1431" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/Office2003Theme.png" alt="Office2003Theme" width="500" height="317" /></p>
<p style="text-align: center">[3]. Silver Theme<img class="aligncenter size-full wp-image-1432" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/SiverTheme.png" alt="SiverTheme" width="500" height="315" /></p>
<p>Now, how can assign default theme and apply dynamic theme?</p>
<p>Answer is here:</p>
<p>First of all you can set default theme from fckconfig.js, look at below image:</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-1435" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/1.setdefaultTheme.png" alt="1.setdefaultTheme" width="500" height="384" /></p>
<p>You can also set the language from .aspx /html /php page where you have declare FCKEditor  .</p>
<p>Just set the SkinPath Property.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-1436" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/2.applytheme.png" alt="2.applytheme" width="500" height="486" /></p>
<p>Now run the application you can view the office2003 theme in FCKEditor as you have set in above page.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-1434" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/3.ThemePreview.png" alt="3.ThemePreview" width="500" height="307" /></p>
<p><strong>How to apply Language?</strong></p>
<p>FCKEditor   provides a great multiple language support feature. User can able to change the language dynamically or set default language as per website language.</p>
<p>FCKEditor provides 56 languages that is you can use as per your requirement.</p>
<p>Now, how can assign default language or apply dynamic language?</p>
<p>Answer is here:</p>
<p>First of all you can set default language from fckconfig.js, look at below image:</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-1439" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/1.configsetting.png" alt="1.configsetting" width="500" height="333" /></p>
<p>You can also set the language from .aspx /.html /.php page where you have declare FCKEditor.</p>
<p style="text-align: center">Just set the DefaultLanguage Property.<img class="aligncenter size-full wp-image-1437" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/2.Setlanguage.png" alt="2.Setlanguage" width="500" height="624" /></p>
<p>Now run the application you can view the Arabic language in FCKEditor as you have set in above page.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-1438" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/3.LanguagePreview.png" alt="3.LanguagePreview" width="500" height="294" /></p>
<p><strong>Conclusion</strong></p>
<p>FCKEditor   is very simple, easy to integrate and can be used in almost all the web application as html editor/ rich textbox editor.</p>
<p><strong>Bibliography</strong></p>
<p><a href="http://ckeditor.com/">FCKEditor</a></p>
<p><strong>References</strong></p>
<p><a href="http://ckeditor.com/">FCKEditor</a></p>
<p><strong>History</strong></p>
<p>4<sup>th</sup> September, 2009: initial post</p>
<div style="overflow: hidden; width: 1px; height: 1px;"><!--[if !mso]&gt; &lt;!  v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} --> <!--[endif]--><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE              MicrosoftInternetExplorer4              &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1457062260; 	mso-list-type:hybrid; 	mso-list-template-ids:1319153846 67698703 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level2 	{mso-level-number-format:bullet; 	mso-level-text:o; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:"Courier New";} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;} --> <!--[endif]--></p>
<ol style="margin-top: 0in" type="1">
<li class="MsoNormal"><span style="font-size: 12pt;line-height: 115%">Run<br />
</span></li>
<li class="MsoNormal"><span style="font-size: 12pt;line-height: 115%"> </span></li>
<li class="MsoNormal"><span style="font-size: 12pt;line-height: 115%">website, you can      see the FCKEditor in your browser with default theme and default English      language. </span></li>
</ol>
<p><span><!--[if gte vml 1]&gt;                    &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/AMIT%7E1.SHA/LOCALS%7E1/Temp/msohtmlclip1/01/clip_image002.jpg" alt="" width="624" height="449" /><!--[endif]--></span></div>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/09/efficient-usage-of-fckeditor/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How To Create Mirror Partition In Linux System</title>
		<link>http://dev.digi-corp.com/2009/09/how-to-create-mirror-partition-in-linux-system/</link>
		<comments>http://dev.digi-corp.com/2009/09/how-to-create-mirror-partition-in-linux-system/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 10:39:47 +0000</pubDate>
		<dc:creator>bhumish.shah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mirror partition]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1254</guid>
		<description><![CDATA[This article shows how to configure raid 1 mirroring into your linux server you must have two hard drive installed on your linux server with the same capacity You can listed them using the following command fdisk –l This will display your currently installed hard drive on your linux server /dev/hda/ /dev/hdb/ Then you have [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom: 0in">This article shows how to configure raid 1 mirroring into your linux server</p>
<p style="margin-bottom: 0in">
<p style="margin-bottom: 0in">you must have two hard drive installed on your linux server with the same capacity</p>
<p style="margin-bottom: 0in">You can listed them using the following command</p>
<p style="margin-bottom: 0in"><strong>fdisk –l</strong></p>
<p style="margin-bottom: 0in">This will display your currently installed hard drive on your linux server</p>
<p style="margin-bottom: 0in"><strong>/dev/hda/</strong></p>
<p style="margin-bottom: 0in"><strong>/dev/hdb/</strong></p>
<p style="margin-bottom: 0in">Then you have to create a logical partition on both hard drives with same capacity</p>
<p style="margin-bottom: 0in">Following command willl create a new partition on your linux server , for first hard drive (/dev/hda)</p>
<p style="margin-bottom: 0in"><strong>fdisk /dev/hda</strong></p>
<p style="margin-bottom: 0in">This will ask for primary or extended partition</p>
<p style="margin-bottom: 0in">Type <strong>e</strong> for extended partition</p>
<p style="margin-bottom: 0in">Next will ask for cylinder size of your partition , don’t change anything</p>
<p style="margin-bottom: 0in">Next will ask for actual space for your extended partition</p>
<p style="margin-bottom: 0in">Type     <strong>+10000M</strong></p>
<p style="margin-bottom: 0in">Type <strong>w</strong> for write partition table</p>
<p style="margin-bottom: 0in">Now you have to create a logical partition using the following command</p>
<p style="margin-bottom: 0in"><strong>fdisk /dev/hda</strong></p>
<p style="margin-bottom: 0in"><strong>N</strong> for new partition</p>
<p style="margin-bottom: 0in"><strong>L</strong> for logical partition</p>
<p style="margin-bottom: 0in">Just enter with the default configuration (cylinder size)</p>
<p style="margin-bottom: 0in">Type the size of your logical partition    <strong>+5000m</strong></p>
<p style="margin-bottom: 0in">Type <strong>w</strong> for write partition table</p>
<p style="margin-bottom: 0in">Remember by default when you create a new partition linux uses partition id number <strong>82</strong> .</p>
<p style="margin-bottom: 0in">You have to change this partition id <strong>fd</strong> for raid configuration with the following command</p>
<p style="margin-bottom: 0in"><strong>fdisk /dev/hda</strong></p>
<p style="margin-bottom: 0in">Type l for change partition id</p>
<p style="margin-bottom: 0in">This will ask you which partition id would you like to change type your partition number</p>
<p style="margin-bottom: 0in">For example 5</p>
<p style="margin-bottom: 0in">Type <strong>fd</strong> for raid partition id</p>
<p style="margin-bottom: 0in">Type <strong>w</strong> for write partition table</p>
<p style="margin-bottom: 0in">You have to complete the same procces on second hard drive</p>
<p style="margin-bottom: 0in">Now you can start your raid 1 configuration using the following command</p>
<p style="margin-bottom: 0in">But before do this please check mdadm rpm package is installed or not</p>
<p style="margin-bottom: 0in">You can check this using <strong>rpm –q mdadm</strong></p>
<p style="margin-bottom: 0in">You can also install this package using the following command</p>
<p style="margin-bottom: 0in">Type <strong>rpm –ivh mdadm</strong></p>
<p style="margin-bottom: 0in">Now run the following command to create raid array</p>
<p style="margin-bottom: 0in">Type<strong> mdadm –create /dev/md0 –level=1 /dev/hda5 /dev/hdb5</strong></p>
<p style="margin-bottom: 0in">This will create a raid partition on your linux server</p>
<p style="margin-bottom: 0in">You can see the details using the following command</p>
<p style="margin-bottom: 0in">Type <strong>mdadm –detail /dev/md0</strong></p>
<p style="margin-bottom: 0in">Now you have to format this partition to use them</p>
<p style="margin-bottom: 0in">Type <strong>mkfs –t ext3 /dev/md0</strong></p>
<p style="margin-bottom: 0in">This will write ext3 file system on your raid partition</p>
<p style="margin-bottom: 0in">Then you have to mount this raid partition on some directory using</p>
<p style="margin-bottom: 0in">Type <strong>mount /dev/md0 /raid1</strong></p>
<p style="margin-bottom: 0in">If one of the hard drive faild on raid 1 type the following command to remove them from raid1</p>
<p style="margin-bottom: 0in">Type <strong>mdadm /dev/md0 –f /dev/hda5</strong> (to fail your harddrive in raid1 )</p>
<p style="margin-bottom: 0in">
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom: 0in">Type <strong>mdadm /dev/md0 –r /dev/hda5</strong> ( to remove your hard  drive from raid1 )</p>
<p style="margin-bottom: 0in">Now you can join a new hard drive create logical partition with same capacity &amp; join into you raid1 partition using the following command</p>
<p style="margin-bottom: 0in">Type <strong>mdadm /dev/md0 –a /dev/hdc5</strong></p>
<p style="margin-bottom: 0in">
<p style="margin-bottom: 0in"><strong><br />
</strong></p>
<p style="margin-bottom: 0in">You can see raid1 will syncs the data with the new hard drive using</p>
<p style="margin-bottom: 0in">Type <strong>mdadm –detail /dev/md0</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/09/how-to-create-mirror-partition-in-linux-system/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to perform stress testing in QTP</title>
		<link>http://dev.digi-corp.com/2009/08/how-to-perform-stress-testing-in-qtp/</link>
		<comments>http://dev.digi-corp.com/2009/08/how-to-perform-stress-testing-in-qtp/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 09:36:25 +0000</pubDate>
		<dc:creator>mehul.brahmbhatt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Performance Testing]]></category>
		<category><![CDATA[QTP]]></category>
		<category><![CDATA[Script in QTP]]></category>
		<category><![CDATA[Stress Testing]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1141</guid>
		<description><![CDATA[1. Record the script which you want to perform for stress testing. For Example:  if you want to add 1000 records then just record add functionality  script. 2. Now just add a loop for that script which contains add record functionality. See below example For i=0 to 1000 Put your add record script code here. [...]]]></description>
			<content:encoded><![CDATA[<p>1. Record the script which you want to perform for stress testing.</p>
<p style="padding-left: 30px">For Example:  if you want to add 1000 records then just record add functionality  script.</p>
<p>2. Now just add a loop for that script which contains add record functionality. See below example</p>
<p style="padding-left: 30px">For i=0 to 1000</p>
<p style="padding-left: 60px;">Put your add record script code here. It will repeat the add record loop till 1000 entries will be done.You can insert  1000 records using For.. Next loop.You can also insert more than 1000 or more.Just change your for loop condition for that.</p>
<p style="padding-left: 60px;">Next will increase your loop counter</p>
<p style="padding-left: 30px">Next</p>
<p><strong>Below code is a full example of the stress testing:</strong></p>
<p style="padding-left: 30px">For i=0 to 1000</p>
<p style="padding-left: 60px;">Below code will insert first name jigar. For unique name you can pass value of  i so it will insert unique name each time.</p>
<p style="text-align: left; padding-left: 60px;">Browser(&#8220;PMS&#8221;).Page(&#8220;PMS_3&#8243;).WebEdit(&#8220;txt_Name&#8221;).Set &#8220;Jigar&#8221; &amp; i</p>
<p style="padding-left: 60px;">Below code will enter address in the address field.</p>
<p style="text-align: left; padding-left: 60px;">Browser(&#8220;PMS&#8221;).Page(&#8220;PMS_3&#8243;).WebEdit(&#8220;txt_Address&#8221;).Set &#8220;Surat&#8221;</p>
<p style="padding-left: 60px;">Below code will enter mobile number  in the mobile number field.</p>
<p style="text-align: left; padding-left: 60px;">Browser(&#8220;PMS&#8221;).Page(&#8220;PMS_3&#8243;).WebEdit(&#8220;txt_No&#8221;).Set &#8220;9992426690&#8243;</p>
<p style="padding-left: 60px;">Below is code to save the details</p>
<p style="padding-left: 60px;">Browser(&#8220;PMS&#8221;).Page(&#8220;PMS_3&#8243;).Link(&#8220;btn_save&#8221;).Click</p>
<p style="padding-left: 30px">Next</p>
<p><strong>This is a script to add 1000 records.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/08/how-to-perform-stress-testing-in-qtp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Database Connection in QTP</title>
		<link>http://dev.digi-corp.com/2009/07/database-connection-in-qtp/</link>
		<comments>http://dev.digi-corp.com/2009/07/database-connection-in-qtp/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 12:57:05 +0000</pubDate>
		<dc:creator>jigar.parvatia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[QTP]]></category>
		<category><![CDATA[VB Scripting]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1127</guid>
		<description><![CDATA[How to connect database with application running in QTP to check data in DB dynamically? An example is shown connecting QTP with SQL Server A simple script is shown below with necessary comments : Dim con,rs,column_count,column_name,i,column_value Set con=createobject(&#8220;adodb.connection&#8221;) // Its a connection object Set rs=createobject(&#8220;adodb.recordset&#8221;) // A record set should be defined // Necessary connection [...]]]></description>
			<content:encoded><![CDATA[<p>How to connect database with application running in QTP to check data in DB dynamically?</p>
<p>An example is shown connecting QTP with SQL Server</p>
<p>A simple script is shown below with necessary comments :</p>
<p style="padding-left: 30px">Dim con,rs,column_count,column_name,i,column_value</p>
<p style="padding-left: 30px">Set con=createobject(&#8220;adodb.connection&#8221;)  // Its a connection object<br />
Set rs=createobject(&#8220;adodb.recordset&#8221;)  // A record set should be defined</p>
<p style="padding-left: 30px">// Necessary connection string should be their<br />
con.open &#8220;provider=sqloledb.1;server=.\SQLEXPRESS;database=DBNAME;user id=XYZ;password=XYZ&#8221;</p>
<p style="padding-left: 30px">// Finally the record set is defined to fetch the value of particular fields according to the query passed.</p>
<p style="padding-left: 30px">rs.open&#8221;select * from  tbl_newsMaster where username=&#8217;admin&#8217;&#8221;</p>
<p style="padding-left: 30px">// Checks the record set till the end until any record is found.If any record is found then it stores the values in &#8220;rs&#8221; record set.<br />
Do while not rs.eof<br />
For i = 0 To rs.Fields.Count -1<br />
&#8216;   msgbox rs.Fields.Count   //counts the number of records in record set &#8220;rs&#8221;<br />
column_value=rs.Fields(i).value //Fetches the value of particular field stored in record set &#8220;rs&#8221;<br />
column_name=rs.Fields(i).name<br />
Msgbox &#8220;Record Exist :&#8221; &amp; column_name&amp;&#8221; &#8221; &amp;column_value<br />
next<br />
rs.movenext<br />
Loop</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/07/database-connection-in-qtp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install Spell Checker and Definition lookup in Firefox</title>
		<link>http://dev.digi-corp.com/2009/07/how-to-install-spell-checker-and-definition-lookup-in-firefox/</link>
		<comments>http://dev.digi-corp.com/2009/07/how-to-install-spell-checker-and-definition-lookup-in-firefox/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 09:12:12 +0000</pubDate>
		<dc:creator>gaurang.tripathi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firefox addon]]></category>
		<category><![CDATA[spell check]]></category>
		<category><![CDATA[spell checker]]></category>
		<category><![CDATA[spellcheck]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=985</guid>
		<description><![CDATA[How to Enable/Install Spell Checker in Firefox: (1) Go to https://addons.mozilla.org/en-US/firefox/addon/3497 (2) Browse through the page and click add to Firefox. (3) Software installation Dialog box will appear and click install. (4) After installation completed, click restart Firefox. In order to enable/disable spell check Right Click on the composing area and click spell checking to enable or disable [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="text-decoration: underline;">How to Enable/Install Spell Checker in Firefox:</span></strong></p>
<p>(1) Go to <a href="https://addons.mozilla.org/en-US/firefox/addon/3497" target="_blank">https://addons.mozilla.org/en-US/firefox/addon/3497</a></p>
<p>(2) Browse through the page and click add to Firefox.</p>
<p>(3) Software installation Dialog box will appear and click install.</p>
<p>(4) After installation completed, click restart Firefox.</p>
<p>In order to enable/disable spell check Right Click on the composing area and click spell checking to enable or disable it.<br />
<strong></strong><strong><span style="text-decoration: underline;">How to lookup for Definition:</span></strong></p>
<p>(1) Go to <a href="https://addons.mozilla.org/en-US/firefox/addon/2083" target="_blank">https://addons.mozilla.org/en-US/firefox/addon/2083</a></p>
<p>(2) Browse through the page and click add to Firefox.</p>
<p>(3) Software installation Dialog box will appear and click install.</p>
<p>(4) After installation completed, click restart Firefox.</p>
<p>While composing select the word, right click on it and select <strong>&#8220;Inline Definitions&#8221;</strong> From popup menu. You will see the meaning of word.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/07/how-to-install-spell-checker-and-definition-lookup-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Watch albums of strangers on Facebook!</title>
		<link>http://dev.digi-corp.com/2009/06/watch-albums-of-strangers-on-facebook/</link>
		<comments>http://dev.digi-corp.com/2009/06/watch-albums-of-strangers-on-facebook/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 11:36:38 +0000</pubDate>
		<dc:creator>divyang.shah</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=810</guid>
		<description><![CDATA[Facebook has always been touted to have strong privacy controls.  To most extent it is true and it is much better than most of the other social networks. But as a biggest social network they do have loopholes which can be easily exploitable by atleast developers like us. Today I am going to talk about [...]]]></description>
			<content:encoded><![CDATA[<p>Facebook has always been touted to have strong privacy controls.  To most extent it is true and it is much better than most of the other social networks. But as a biggest social network they do have loopholes which can be easily exploitable by atleast developers like us.</p>
<p>Today I am going to talk about one such exploit:</p>
<p><strong>How to view albums of people who are not your friends?</strong></p>
<p>So when we search for interesting people on Facebook most of the time you will find their profile having restrictions. Mostly you will be able to see their profile photo and will be able to send message to them. So to see their full profile or albums we have to send &#8220;add friend&#8221; request and if they approve then and then only we can see their photos and profile.</p>
<p>But here is one way to bypass this:</p>
<p>First you have to add developers application in Facebook which can be added from following link:</p>
<p>Link:  <a href="http://www.facebook.com/developers/?ref=sb &gt;">http://www.facebook.com/developers/?ref=sb</a></p>
<p>Then go to this link</p>
<p><a href="http://developers.facebook.com/tools.php">http://developers.facebook.com/tools.php</a></p>
<p>It will open below page and choose you response formate and also method = photos.getalbum as shown in below image.</p>
<p style="text-align: center;"><img class="size-full wp-image-811 aligncenter" src="http://dev.digi-corp.com/wp-content/uploads/2009/06/facebook1.png" alt="facebook1" width="665" height="498" /></p>
<p>So after that enter facebook user id whose photos you want to see, in &#8220;uid text box&#8221; as shown in below image and then press &#8220;call method button&#8221;.</p>
<p>Get the facebook id from the address bar/url bar or find the &#8220;add as a friend&#8221; link in the web page and move your mouse cursor over it and you will get facebook id in the status bar as shown in image.</p>
<p><img class="aligncenter size-full wp-image-863" src="http://dev.digi-corp.com/wp-content/uploads/2009/06/facebook31.JPG" alt="facebook3" width="669" height="483" /></p>
<p>And you will get details of all the albums of that user if he or she have albums as shown in below image in right side box.</p>
<p>Just you have to copy link content from right box and paste it to another browser or tab and press enter and then you can see all photos from that album without adding the user as a friend.</p>
<p><img class="aligncenter size-full wp-image-812" src="http://dev.digi-corp.com/wp-content/uploads/2009/06/facebook2.png" alt="facebook2" width="665" height="498" /></p>
<p>Note: I have changed all the ids they are not real.</p>
<p>I hope with the help of this article and community, facebook will notice this bug and will resolve it.</p>
<p>So enjoy peeking on stranger&#8217;s albums. <img src='http://dev.digi-corp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<strong><br />
Update: It seems that Facebook has resolved this bug now.</strong></p>
<div style="overflow: hidden; position: absolute; left: -10000px; top: 95px; width: 1px; height: 1px;"><a href="http://www.facebook.com/developers/?ref=sb">http://www.facebook.com/developers/?ref=sb</a></div>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/06/watch-albums-of-strangers-on-facebook/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Customized Radio button &amp; Check Box</title>
		<link>http://dev.digi-corp.com/2009/06/customized-radio-button-check-box/</link>
		<comments>http://dev.digi-corp.com/2009/06/customized-radio-button-check-box/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 09:37:04 +0000</pubDate>
		<dc:creator>Supriya Agnihotri Jagani</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=814</guid>
		<description><![CDATA[Here is the customized design that would give a new look to your radio buttons &#38; check boxes. You can use different images you show the checked/unchecked check boxes &#38; selected/unselected radio buttons. Here is how your customized Check box &#38; Radio buttons will look. View Demo You can change the images (the css has [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the customized design that would give a new look to your radio buttons &amp; check boxes.<br />
You can use different images you show the checked/unchecked check boxes &amp; selected/unselected radio buttons.</p>
<p>Here is how your customized Check box &amp; Radio buttons will look.</p>
<div id="attachment_840" class="wp-caption alignnone" style="width: 319px"><a href="http://dev.digi-corp.com/wp-content/uploads/2009/06/checkboximg.png"><img src="http://dev.digi-corp.com/wp-content/uploads/2009/06/checkboximg.png" alt="customized checkbox" width="309" height="174" class="size-full wp-image-840" /></a><p class="wp-caption-text">customized checkbox</p></div>
<div id="attachment_841" class="wp-caption alignnone" style="width: 319px"><a href="http://dev.digi-corp.com/wp-content/uploads/2009/06/radiobtnimg.png"><img src="http://dev.digi-corp.com/wp-content/uploads/2009/06/radiobtnimg.png" alt="customized radio button" width="309" height="174" class="size-full wp-image-841" /></a><p class="wp-caption-text">customized radio button</p></div>
<p><a href="http://demo.digi-corp.com:82/Designer/CustomisedElements/FormElement.html" target="_blank">View Demo</a></p>
<p>You can change the images (the css has the image paths) to give that different look to your radio button &amp; check box elements. </p>
<p>Browser Compatibility: Script is compatible &amp; checked in Firefox, IE 6 7 &amp; 8, Safari 2.0,  Opera 9.0 &amp; above &amp; Google Chrome.</p>
<p>Click to download the <a href="http://demo.digi-corp.com:82/Designer/CustomisedElements.zip">.zip file</a> with the script, css, html page &amp; images; to give that much needed customized look to your form elements.</p>
<p>Script reference taken from: <a href="www.flog.co.nz/journal/arc-adams-radiocheckbox-customisation/">www.flog.co.nz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/06/customized-radio-button-check-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to .Net Remoting</title>
		<link>http://dev.digi-corp.com/2009/06/introduction-to-net-remoting/</link>
		<comments>http://dev.digi-corp.com/2009/06/introduction-to-net-remoting/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 08:00:33 +0000</pubDate>
		<dc:creator>Brijesh Patel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.Net Remoting]]></category>
		<category><![CDATA[MBR]]></category>
		<category><![CDATA[MBV]]></category>
		<category><![CDATA[Singlecall]]></category>
		<category><![CDATA[Singleton]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=674</guid>
		<description><![CDATA[This Article is just an introduction to .Net Remoting. We will see in which situation .Net Remoting is useful and technical view of .Net Remoting. What is .Net Remoting? In General, Remoting is communication between two application domains. One application domain can communicate with other application domain with help of some kind of medium. This [...]]]></description>
			<content:encoded><![CDATA[<p>This Article is just an<strong> introduction to .Net Remoting</strong>. We will see in which situation .Net Remoting is useful and technical view of .Net Remoting.</p>
<p><strong>What is .Net Remoting?</strong></p>
<p>In General, Remoting is communication between two application domains. One application domain can communicate with other application domain with help of some kind of medium. This is how .Net Remoting works.</p>
<p>Now let&#8217;s see how .Net Remoting is useful in our real life scenario.</p>
<p>Suppose there is one company name &#8216;<strong>ABC</strong>&#8216;.</p>
<p>It main office is in Ahmedabad city location. And there are some branches are in Ahmedabad city only but in different areas. And Outside Branches also there may be in different cities like Surat, Baroda, and Mumbai etc.Now all the branches are connected with main office and all the transaction done through main office only. So all the branches in all the places should connect with main office and communicate their data also.</p>
<p>So in this kind of situation .Net Remoting is very useful technology.</p>
<p>.Net Remoting works on three tier Application.</p>
<p>1.    Client<br />
2.    Interface<br />
3.    Server</p>
<p>In this <strong>Client side</strong>, generally UI is there where user can directly interact with the application. They put some input and get some output in any format like reports, graphical or any.</p>
<p>And in <strong>Server side</strong> all the business logic is there. If user input some data then all the transaction is done in server side. And last one is interface. <strong>Interface</strong> is medium to connect server and client. So many clients are connected with one server only through interface.</p>
<p>For example,<br />
In above situation of &#8216;ABC&#8217; company.</p>
<p>Server application is installed in Ahmedabad main office only and all other branches clients are installed. So all clients are connected with server means Ahmedabad main office. In main office there is main server is there and database is also there.</p>
<p>So when one client application sent some request through interface then that will come into the main server machine and then if they want to some data from data base then go to database and get it back to server application and back data to the client. If data is huge then data base server is installed in different machine other than different machine where server application is installed so transaction gets very fast.</p>
<p>Now we understand how .Net Remoting works internally.</p>
<p>DCOM is replace by .Net Remoting. By using .Net remoting, we can make remote object calls which lies in different application domain.</p>
<p><strong>What is Application Domain?</strong></p>
<p>Before we start to understand .Net Remoting, we just go through what is Application Domain?</p>
<p>Generally process used their owned security boundaries. In the Process there are number of application can run and one process has its own virtual memory and does not effect or overlap to other processes virtual machines. So one process can&#8217;t crash with other process. So same thing this concept used in .Net and more over ahead of this, concept of Application Domain are used. In Application Domain, Multiple Application can run in same process without influencing each other.  In that, if one application domain throws errors it does not affect or stop whole process and not effect with other application domain. To invoke method in an object running application domain .Net Remoting is used.</p>
<p><strong>General Concept of .Net Remoting and its Architecture</strong></p>
<p>Remoting has at least three sections:<br />
•    Interface<br />
•    Client<br />
•    Server</p>
<p>in .NET Remoting, the client does not call the methods directly. A proxy object is used to raise methods on the remote object. All the public methods that are defined in the remote object class are also available to be called from clients.</p>
<p>This method of calls is called Message. These messages are serialized using formatters and then send message through channel from client. Thus Client channel communicate server channel and there server channel receive message and de serialised through server formatter and sent to the server remote objects.Generally .Net Remoting can be used across any protocols.</p>
<p>Any objects are created outside to the boundaries of Application Domain then it is called remote object to the AppDomain.  These remote objects can access by references or by value.</p>
<p><strong>What is marshalling and different kind of Marshall?</strong></p>
<p><strong>Marshalling</strong> is used when object are converted. So these objects can travel throughout the network by channel and formatter.<br />
There are two types of marshalling in the .net remoting.</p>
<p><strong>•    Marshall-By-Ref<br />
•    Marshall-By-Values</strong></p>
<p>In the <strong>MBR</strong>, create proxy to communicate with other side of the network or remote object and create ObjRef instance that itself serialized.</p>
<p>ObjRef Returns by all Marshall () methods and it contains location of remote object, Hostname, Port Number and Object name etc.</p>
<p><strong>For example:</strong></p>
<p>MarshalByRefObject obj  =(MarshalByRefObject)RemotingServices.Connect(typeof(Ilogin), &#8220;tcp://LOCALHOST:65101/ITestEndPoint&#8221;);</p>
<p>// Set a reference to the service. After this, you use testRemoteReference<br />
// just as if it was a local instance of ITestImplementation.</p>
<p>loginreference = obj as Ilogin;</p>
<p>Whereas in<strong> MBVs</strong> objects, Copy of the object is created on the other side (i.e. server side). The object to marshal is stored in to a stream, and a stream is used to crate copy of the object.</p>
<p>So Marshalling is a process of packing object and a call and its arguments made by an AppDomain on a remote object into a unit that&#8217;s easily transferable across the network. In other we can say that Marshalling is process to transfer message from one place to other means its destination. Once marshal reached its destination, an unserialized process is taken place and returns its original data by this.<br />
<strong><br />
Difference between MBV and MBR</strong></p>
<p>MBVs is that they get serialized with all the private and public data members. But that may be cause problem if a client intercepts the serialization/de-serialization phase to harm application.<br />
While MBRs, only clients decide which objects can travel across there network. He doesn’t have to load entire copy of the object if he wants to call some functions or some procedures only. And MVB execute in its original native places only where it governed by CLR. So Application May misbehaviour in some cases but that is happened vary rarely.</p>
<p>In .Net Remoting there are two ways to create remote objects.</p>
<p><strong>Server activated objects (SAO)<br />
Client activated objects (CAO)</strong></p>
<p>SAO has two modes named &#8216;Single call&#8217; and &#8216;Singleton&#8217;.</p>
<p><strong>Single call</strong> is an object that object created with every method all or server trip. So all these objects are stateless. And after use of that object it is destroyed and every time creates new objects. Single Call objects are useful in scenarios where the objects are required to do a finite amount of work.</p>
<p>While in other side, in <strong>Singleton</strong> the object is created only once and the object is shared with all clients. So this kind of objects is used for share object through out the application. So singleton objects are useful in many applications like chat application etc.</p>
<p>CAO is not stateless compare to SAO. Client holds proxy to the server object on the client side which is created on server object on server side.</p>
<p>Example of Single call and Singleton:</p>
<p><strong>Singleton:</strong></p>
<p>// Register the interface and end point.<br />
//<br />
// Each service has a unique endpoint and this endpoint is how a client<br />
// accesses a specific service on a remote server.</p>
<p>Type ilogin = Type.GetType(&#8220;login&#8221;);<br />
RemotingConfiguration.RegisterWellKnownServiceType<br />
(ilogin,&#8221;IloginEndpoint&#8221;,WellKnownObjectMode.<strong>Singleton</strong>);</p>
<p><strong>Singlecall:</strong></p>
<p>// Register the interface and end point.<br />
//<br />
// Each service has a unique endpoint and this endpoint is how a client<br />
// accesses a specific service on a remote server.</p>
<p>Type ilogin = Type.GetType(&#8220;login&#8221;);<br />
RemotingConfiguration.RegisterWellKnownServiceType<br />
(ilogin,&#8221;IloginEndpoint&#8221;,WellKnownObjectMode<strong>.SingleCall)</strong>;</p>
<p>In next article we will see more about .Net Remoting like <strong>Channels and Formatters, Object Activation</strong> <strong>and Lifetime</strong> and <strong>simple example of .Net Remoting </strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/06/introduction-to-net-remoting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

