<?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</title>
	<atom:link href="http://dev.digi-corp.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.digi-corp.com</link>
	<description>&#62;&#62; Developer Blog</description>
	<lastBuildDate>Thu, 03 Jun 2010 10:56:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Use MySqli Extension Instead of MySql</title>
		<link>http://dev.digi-corp.com/2010/06/use-mysqli-extension-instead-of-mysql/</link>
		<comments>http://dev.digi-corp.com/2010/06/use-mysqli-extension-instead-of-mysql/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 10:56:36 +0000</pubDate>
		<dc:creator>divyang.shah</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[MySqli]]></category>
		<category><![CDATA[PHP 5]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1913</guid>
		<description><![CDATA[It is highly recommended that you use MySqli extension of PHP instead MySql as in near future it will be deprecated from PHP. It is more secure, reliable and object oriented. Following are some useful links which will give you jumpstart on MySqli: Overview http://www.php.net/manual/en/mysqli.overview.php Prepare statement example http://www.php.net/manual/en/mysqli-stmt.affected-rows.php Multi-query example http://www.php.net/manual/en/mysqli.multi-query.php Enjoy your new [...]]]></description>
			<content:encoded><![CDATA[<p>It is highly recommended that you use MySqli extension of PHP instead MySql as in near future it will be deprecated from PHP. It is more secure, reliable and object oriented.</p>
<p>Following are some useful links which will give you jumpstart on MySqli:</p>
<p>Overview<br />
<a href="http://www.php.net/manual/en/mysqli.overview.php" target="_blank">http://www.php.net/manual/en/mysqli.overview.php</a></p>
<p>Prepare statement example<br />
<a href="http://www.php.net/manual/en/mysqli-stmt.affected-rows.php" target="_blank">http://www.php.net/manual/en/mysqli-stmt.affected-rows.php</a></p>
<p>Multi-query example<br />
<a href="http://www.php.net/manual/en/mysqli.multi-query.php" target="_blank">http://www.php.net/manual/en/mysqli.multi-query.php</a></p>
<p>Enjoy your new DB classes.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2010/06/use-mysqli-extension-instead-of-mysql/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>SVN Hooks Configuration</title>
		<link>http://dev.digi-corp.com/2010/05/svn-hooks-configuration/</link>
		<comments>http://dev.digi-corp.com/2010/05/svn-hooks-configuration/#comments</comments>
		<pubDate>Tue, 11 May 2010 11:37:02 +0000</pubDate>
		<dc:creator>bhumish.shah</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[code review]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[SVN Hooks]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1879</guid>
		<description><![CDATA[Today, I will show you an excellent way of doing a code review of your team. This article is based on Fedora, Redhat, CentOS distribution. I’ll talk about how to configure an SVN commit event for email notification on repositories  named svnmailtesting. After installing subversion in Linux you can find the subversion-tool in following location: /usr/share/doc/subversion-1.4.4/tools You [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I will show you an excellent way of doing a code review of your team.</p>
<p>This article is based on Fedora, Redhat, CentOS distribution.</p>
<p>I’ll talk about how to configure an SVN commit event for email notification on repositories  named <strong>svnmailtesting.</strong></p>
<p>After installing subversion in Linux you can find the <strong>subversion-tool</strong><strong></strong> in following location:</p>
<p><strong>/usr/share/doc/subversion-1.4.4/tools</strong><strong></strong></p>
<p>You can find mailer.conf in the following location:<br />
<strong><br />
/usr/share/doc/subversion-1.4.4/tools/hook-scripts/mailer/mailer.conf.example/<br />
</strong><br />
An example for the Mailer.conf. is the main file for configuration. It looks like this after removing the comments:</p>
<p><strong>[general]</strong><strong><br />
smtp_hostname = 192.168.0.208<br />
[defaults]<br />
diff = /usr/bin/diff -u -L %(label_from)s -L %(label_to)s %(from)s %(to)s<br />
commit_subject_prefix = [SVN-Commit]<br />
propchange_subject_prefix =<br />
lock_subject_prefix =<br />
unlock_subject_prefix =<br />
from_addr = somebody@digi-corp.com<br />
to_addr = someone@digi-corp.com<br />
reply_to =<br />
generate_diffs = add copy modify<br />
show_nonmatching_paths = yes<br />
[maps]</strong><strong></strong></p>
<p>This is a very simple file . You have to just change the smtp server, “from” address and “to” address according to your environment.</p>
<p>You can either configure mailer.conf.example and rename it to mailer.conf file</p>
<p>or</p>
<p>Just copy and paste the above code in mailer.conf file</p>
<p>For example :</p>
<p>#<strong>vim mailer.conf</strong><strong><br />
</strong><br />
Copy the code above and paste it in the  mailer.con file and  change the smtp server , “from” address and “to” address. After completing these steps, copy mailer.conf file to following location:</p>
<p><strong>cp mailer.conf  /var/<a href="http://192.168.0.203/zimbra/www/svn/repo/svnmailtesting/conf/" target="_blank">www/svn/repo/svnmailtesting/conf/</a></strong><strong></strong></p>
<p>After completing the  steps go to the following path:</p>
<p><strong>/var/<a href="http://192.168.0.203/zimbra/www/svn/repo/svnmailtesting/hooks/" target="_blank">www/svn/repo/svnmailtesting/hooks/</a></strong><strong></strong></p>
<p>Rename post-commit.tpl file to post-commit and make it executeable so the apache user can execute this file:</p>
<p><strong># cd  /var/<a href="http://192.168.0.203/zimbra/www/svn/repo/svnmailtesting/hooks/" target="_blank">www/svn/repo/svnmailtesting/hooks/</a></strong><strong><br />
# mv post-commit.tpl post-commit<br />
# chmod 770 post-commit<br />
#vim post-commit</strong><strong></strong></p>
<p>Add the following line at the end of the file:</p>
<p><strong>/usr/share/doc/subversion-1.4.4/tools/hook-scripts/mailer/mailer.py commit &#8220;$REPOS&#8221; &#8220;$REV&#8221;</strong><strong></strong></p>
<p>After completing these steps, whenever a user commit in svn repositories (<strong>svnmailtesting</strong>), one mail will get sent from somebody@digi-corp.com to someone@digi-corp.com account with the subject: You have configured in mailer.conf file.</p>
<p>Great, so now you have an excellent way of doing code reviews of the developers.</p>
<p>Please write in comment if I have missed anything here.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2010/05/svn-hooks-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CO2 Net : A Concept of Future Networking</title>
		<link>http://dev.digi-corp.com/2010/01/co2-net-a-concept-of-future-networking/</link>
		<comments>http://dev.digi-corp.com/2010/01/co2-net-a-concept-of-future-networking/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 09:07:17 +0000</pubDate>
		<dc:creator>Nilesh</dc:creator>
				<category><![CDATA[Concept/Idea]]></category>
		<category><![CDATA[co2 net]]></category>
		<category><![CDATA[concept networking]]></category>
		<category><![CDATA[free internet]]></category>
		<category><![CDATA[future of network]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1867</guid>
		<description><![CDATA[It was a nice normal working Tuesday at Digicorp. We were a bit busy and a bit relaxed as it was nearly end of the day, around 5:15 PM or something. I was digging my mind to crack a complex feature in Unisite calendar module. and suddenly my colleague Vishal Parmar jumped to me and [...]]]></description>
			<content:encoded><![CDATA[<p>It was a nice normal working Tuesday at <a href="http://www.digi-corp.com" target="_blank">Digicorp</a>.</p>
<p>We were a bit busy and a bit relaxed as it was nearly end of the day, around 5:15 PM or something. I was digging my mind to crack a complex feature in <a href="http://www.unisite.com" target="_blank">Unisite</a> calendar module. and suddenly my colleague Vishal Parmar jumped to me and asked me Nilesh what if Internet because usual part and normal part of every computer, just like a disk-drive or any other part. and he was looking at me with his a bit childish face.. and thinking as he has cracked some kinda joke and waiting for the response from me.</p>
<p>&#8230;&#8230;&#8230;&#8230;and kboom I got a small spark in my brain&#8230;&#8230;</p>
<p>and we guyz literally fall in to all new kind of discussion, and I got the idea that vishal was thinking right that Internet should be a part of every computer, or mobile or any device which falls in to digital categories. and it should be also provided free as well, but the problem is its not possible as our current Internet is hanging on a tree of massive cabling of OFC, conductive and satellite etc . and all this costs so Internet too.</p>
<p>but then I came up with an idea a Network using Naturally available and spread resource <img src='http://dev.digi-corp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  and I had selected Co2 ( Carbon Dioxide )   as my network resource.</p>
<p>The idea is straight simple using few component</p>
<p><span style="text-decoration: underline;"><strong>CO2 Net</strong></span></p>
<ul>
<li><strong>Build small New gen modem (Device) which will send / receive,</strong></li>
<li><strong>and the device will send / receive using the molecular structure of Co2 of the earth&#8217;s atmosphere, and the signals will travel across the atmosphere by riding the Co2 enabling any capable device to reCapture / receive,</strong></li>
<li><strong>A small authentication will be bounded to each packet exhausted in the Co2, so the right candidate can only receive them</strong></li>
</ul>
<p>That&#8217;s it.</p>
<p>I know the idea might look silly at first, but think and you will find possibilities.</p>
<p>waiting to welcome your responses.</p>
<p>cheers</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2010/01/co2-net-a-concept-of-future-networking/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Find HTML Editor in QTP</title>
		<link>http://dev.digi-corp.com/2009/12/find-html-editor-in-qtp/</link>
		<comments>http://dev.digi-corp.com/2009/12/find-html-editor-in-qtp/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 10:01:00 +0000</pubDate>
		<dc:creator>mehul.brahmbhatt</dc:creator>
				<category><![CDATA[QA]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[FCK Editor]]></category>
		<category><![CDATA[HTML Editor]]></category>
		<category><![CDATA[QTP]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1790</guid>
		<description><![CDATA[Follow below steps to read and write contents from an HTML Editor if you are testing using QTP Step 1: QTP by default can not find an HTML Editor so you have to add HTML Editor in object repository. It will add HTML Editor as a frame. See below image for an example Step 2:  [...]]]></description>
			<content:encoded><![CDATA[<p>Follow below steps to read and write contents from an HTML Editor if you are testing using QTP</p>
<p><strong>Step 1:</strong> QTP by default can not find an HTML Editor so you have to add HTML Editor in object repository. It will add HTML Editor as a frame.</p>
<p>See below image for an example</p>
<p><img class="alignnone size-full wp-image-1791" src="http://dev.digi-corp.com/wp-content/uploads/2009/10/HTML-Editor.gif" alt="HTML Editor" width="767" height="370" /></p>
<p><strong>Step 2</strong>:  Below is an example of how to write contents in an HTML Editor. Write below line once you have added HTML Editor as an object<em>.</em></p>
<p><em>Browser(&#8220;NewRelease&#8221;).Page(&#8220;Registration&#8221;).Frame(&#8220;Frame_2&#8243;).Object.write &#8220;Testing of add news page.&#8221;</em></p>
<p><strong>Step 3:</strong> Below is an example of how to read contents from an HTML Editor.</p>
<p><em>fName = browser(&#8221; New Release&#8221;).Page(“ Registration &#8220;).Frame(&#8220;Frame_2&#8243;).WebElement(&#8220;testing&#8221;).Object.innerText</em></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/12/find-html-editor-in-qtp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Paypal shopping cart integration using HTML for Beginners</title>
		<link>http://dev.digi-corp.com/2009/11/paypal-shopping-cart-integration-using-html/</link>
		<comments>http://dev.digi-corp.com/2009/11/paypal-shopping-cart-integration-using-html/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 07:49:08 +0000</pubDate>
		<dc:creator>devdatt.mehta</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1760</guid>
		<description><![CDATA[In online payment paradigm Paypal is one of the best and popular online payment services. Through this article I will share my experience with you about integration of online payment services. Novice developer may find this post very useful. I have used following methods for the online payment integration in my shopping cart. In development [...]]]></description>
			<content:encoded><![CDATA[<p>In online payment paradigm Paypal is one of the best and popular online payment services. Through this article I will share my experience with you about integration of online payment services.</p>
<p>Novice developer may find this post very useful.</p>
<p>I have used following methods for the online payment integration in my shopping cart.</p>
<p>In development process you need to create paypal testing account for that create paypal sandbox account for the testing purpose.</p>
<p>Step 1: https://developer.paypal.com/<br />
Step 2: Create new account<br />
Step 3: Paypal will send you activation link in your email inbox.<br />
Step 4: Login in sandbox<br />
Step 5: Create Test Accounts for buyer and seller accounts</p>
<p>Go to the Test Account page in paypal. Basically you need to type of account for your site integration<br />
1.Buyer Account<br />
2.Merchant Account.</p>
<p>Select country &#8220;United States&#8221;.<br />
If you want to create buyer account choose Account Type: Buyer<br />
Fill the form accordingly. Keep your login and password some where.<br />
Click on &#8220;Show Advanced Options&#8221;.<br />
Choose what card you want to use when will do online purchase for testing.<br />
Set Account Balance.</p>
<p>Create seller account in same way as above.</p>
<p>Paypal gives you many ways to integrate your site with but here I will explain one method for the integration.</p>
<p>Simple Integration<br />
==================<br />
In simple integration with your site you need to know some predefined html variable created by paypal.</p>
<p>Not all the HTML variables I shown here but some of the important that I showed here out of other it is depend on your merchant account and situation.</p>
<p>Ref: https://cms.paypal.com/us/cgi-bin/?&amp;cmd=_render-content&amp;content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables</p>
<p>set following html variable as hidden in your Buy Now button page in your shopping cart page.</p>
<p>Replace all the value as per given instructions under the value attribute.<br />
&lt;FORM name=&#8221;redirectoPaypal&#8221; METHOD=&#8221;POST&#8221; ACTION=&#8221;https://www.sandbox.paypal.com/cgi-bin/webscr&#8221; /&gt;<br />
&lt;INPUT TYPE=&#8221;hidden&#8221; name=&#8221;CMD&#8221; value=&#8221;_xclick&#8221; /&gt;<br />
&lt;INPUT TYPE=&#8221;hidden&#8221; name=&#8221;amount&#8221; value=&#8221;shopping cart total amount of selected items&#8221; /&gt;<br />
&lt;INPUT TYPE=&#8221;hidden&#8221; name=&#8221;item_name&#8221; value=&#8221;shopping cart item description or name&#8221; /&gt;<br />
&lt;INPUT TYPE=&#8221;hidden&#8221; name=&#8221;item_number&#8221; value=&#8221;selected item number&#8221; /&gt;<br />
&lt;INPUT TYPE=&#8221;hidden&#8221; name=&#8221;quantity&#8221; value=&#8221;selected item quantity&#8221; /&gt;<br />
&lt;INPUT TYPE=&#8221;hidden&#8221; name=&#8221;currency_ code&#8221; value=&#8221;USD&#8221; /&gt;<br />
&lt;INPUT TYPE=&#8221;hidden&#8221; name=&#8221;invoice&#8221; value=&#8221;invoice number&#8221; /&gt;<br />
&lt;INPUT TYPE=&#8221;hidden&#8221; name=&#8221;business&#8221; value=&#8221;your merchant paypal login id&#8221; /&gt;<br />
&lt;INPUT TYPE=&#8221;hidden&#8221; name=&#8221;return&#8221; value=&#8221;site url for success page&#8221; /&gt;<br />
&lt;INPUT TYPE=&#8221;hidden&#8221; name=&#8221;cancel_return&#8221; value=&#8221;site url for cancel paypal payment page&#8221; /&gt;<br />
&lt;/FORM&gt;</p>
<p>more explanation of html variables.<br />
&#8220;CMD&#8221; is use for shopping cart do not change it.<br />
&#8220;business&#8221; in testing set seller account id here after complete testing change to real merchant account id.<br />
&#8220;return&#8221; is page url of your site paypal will redirect on this page with some extra variable such as transaction id. just debug with var_dump($_GET)<br />
and use.<br />
&#8220;cancel_return&#8221; is page url of your site. paypal will redirect on this page if user will denied to confirm the payment.</p>
<p>put above code in your page and test it.<br />
when your set-up working successfully. change the action url to &#8220;https://www.paypal.com/cgi-bin/webscr&#8221; for live.</p>
<p>API Integration<br />
================<br />
coming soon&#8230;&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/11/paypal-shopping-cart-integration-using-html/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Different Type of Monkey Testing</title>
		<link>http://dev.digi-corp.com/2009/10/different-type-of-monkey-testing/</link>
		<comments>http://dev.digi-corp.com/2009/10/different-type-of-monkey-testing/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 12:13:02 +0000</pubDate>
		<dc:creator>jignesh.patel</dc:creator>
				<category><![CDATA[QA]]></category>
		<category><![CDATA[monkey testing]]></category>
		<category><![CDATA[monkey testing types]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1456</guid>
		<description><![CDATA[Monkey Testing Monkey testing is used with fully automated testing tool. This tool doesn’t know how to use any application, so it performs mouse clicks on the screen or keystrokes on the keyboard randomly. The test monkey is technically known to conduct random testing, which is in the category of black-box testing. Below are different [...]]]></description>
			<content:encoded><![CDATA[<h2><span style="color: #800000"><span style="text-decoration: underline;"><strong>Monkey Testing</strong></span></span></h2>
<p>Monkey testing is used with fully automated testing tool. This tool doesn’t know how to use any application, so it performs mouse clicks on the screen or keystrokes on the keyboard randomly. The test monkey is technically known to conduct random testing, which is in the category of black-box testing. Below are different types of monkey testing.</p>
<ul>
<li>Dumb monkeys</li>
<li>Semi-smart monkeys</li>
<li>Smart monkeys</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Dumb Monkey Testing</strong></span></p>
<p>The initial and the lowest level of testing service is called Dumb Monkey Testing, which is run without specific test in mind and often by a person with no or very limited education in testing.</p>
<p>But Dumb Monkey Tester does not mean a person of no intelligence at all, it rather means absence of any planning in the testing process.</p>
<p>Dumb Monkey software testing services:</p>
<ul>
<li>Guesstimate about      required time and staff</li>
<li>No formal planning and      acceptance criteria</li>
<li>Click-through an      application or a system</li>
<li>Very fast results from      a done work</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Semi-Smart Monkey Testing</strong></span></p>
<p>Having some experience and improved testing skills the Dumb Monkey reaches the next stage in evolution: Semi-Smart Monkey Tester, who is the most effective when working in small groups.</p>
<p>Semi-Smart Monkey software testing services:</p>
<ul>
<li>Initial level of      planning and acceptance criteria</li>
<li>Guesstimate about      required time and staff</li>
<li>Reading requirements      before test run</li>
<li>Semi-technical bug      reports, logs recording</li>
<li>Initial level of      regression testing</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Smart Monkey Testing</strong></span></p>
<p>Smart Monkey is a crown of monkeys testing evolution. Having the army of Smart Monkeys it is possible to finalize vast testing projects, use tools and initial testing theory, bug trackers. Usually Smart Monkey area of activity is limited by his/her testing environment.</p>
<p>Smart monkeys are valuable for load and stress testing; they will find a significant number of bugs, but are also very expensive to develop.</p>
<p>Smart Monkey software testing services:</p>
<ul>
<li>Repetitive planning      and estimations</li>
<li>Attempts to analyze      requirements before test run</li>
<li>Creating test      scenarios</li>
<li>Issues Tracking      Systems usage</li>
<li>Initial level of      regression testing</li>
<li>Finding memory or      resource bugs</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/10/different-type-of-monkey-testing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Create Virtual Machine in VMware Workstation</title>
		<link>http://dev.digi-corp.com/2009/10/create-virtual-machine-in-vmware-workstation/</link>
		<comments>http://dev.digi-corp.com/2009/10/create-virtual-machine-in-vmware-workstation/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 11:34:45 +0000</pubDate>
		<dc:creator>mehul.brahmbhatt</dc:creator>
				<category><![CDATA[vmware]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[vmware workstation]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1353</guid>
		<description><![CDATA[Vmware Workstation makes it simple to create and run multiple virtual machines on your desktop or laptop computer. You can convert an existing physical PC into a VMware virtual machine, or create a new virtual machine from scratch. Each virtual machine represents a complete PC, including the processor, memory, network connections and peripheral ports. VMware [...]]]></description>
			<content:encoded><![CDATA[<p><!--   		BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Arial"; font-size:x-small } --></p>
<table style="height: 2644px;" border="0" cellspacing="0" width="535" rules="none">
<col width="86"></col>
<col width="785"></col>
<tbody>
<tr>
<td height="156" align="left"></td>
<td align="left">Vmware Workstation makes it simple to create and run multiple virtual machines on your desktop or laptop computer. You can convert an existing physical PC into a VMware virtual machine, or create a new virtual machine from scratch. Each virtual machine represents a complete PC, including the processor, memory, network connections and peripheral ports.  VMware Workstation lets you use your virtual machines to run Windows, Linux and a host of other operating systems side-by-side on the same computer. You can switch between operating systems instantly with a click of a mouse, share files between virtual machines with drag-and-drop functionality and access all the peripheral devices you rely on every day.</td>
</tr>
<tr>
<td height="25" align="left"></td>
<td align="left">Steps to Create a Virtual Machine</td>
</tr>
<tr>
<td height="24" align="left"></td>
<td align="left"></td>
</tr>
<tr>
<td height="25" align="right">1.</td>
<td align="left">Create a Virtual Machine</td>
</tr>
<tr>
<td height="25" align="left"></td>
<td style="text-align: left">Open a File menu and select a new Virtual Machine or you can directly click on the virtual machine from home tab of Vmware Workstation.</td>
</tr>
<tr>
<td height="24" align="left"></td>
<td align="left"></td>
</tr>
<tr>
<td height="24" align="left"></td>
<td align="left"><img class="alignnone size-full wp-image-1389" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/v6.gif" alt="v6" width="518" height="369" /></td>
</tr>
<tr>
<td height="24" align="left"></td>
<td align="left"></td>
</tr>
<tr>
<td height="25" align="right">2</td>
<td align="left">.Now select a type of the configuration ( Typical )</td>
</tr>
<tr>
<td height="48" align="left"></td>
<td align="left">a) Typical (Recommended): It creates workstation with recommended option. For Example: It will automatically select recommended workstation, memory, processor and network connection.</td>
</tr>
<tr>
<td height="48" align="left"></td>
<td align="left">b) Custom (Advanced): You can manage your custom settings from this type. For example: User can set number of processor, select memory of virtual machine and network connection.</td>
</tr>
<tr>
<td height="24" align="left"></td>
<td align="left"></td>
</tr>
<tr>
<td height="25" align="right">3</td>
<td align="left">.Guest Operating System Installation</td>
</tr>
<tr>
<td height="71" align="left"></td>
<td align="left">a) Installer disc image file (iso): User needs to select an iso image of the respective operating system which he needs to install on virtual machine. User has to select this option if he wants to install operating system.</td>
</tr>
<tr>
<td height="24" align="left"></td>
<td align="left">b) I will install operating system later: If user do not want to install operating system for now then he can select this option. It will create a blank operating system in virtual machine and user can later install the operating system..</td>
</tr>
<tr>
<td height="25" align="right">4.</td>
<td align="left">Guest Operating System</td>
</tr>
<tr>
<td height="71" align="left"></td>
<td align="left">User has to select an operating system type from this option.  For example User select Microsoft Windows, Linux and Sun Solaris etc. Based on selected operating system type it will display respective version of the operating system. User can also select it and go ahead.</td>
</tr>
<tr>
<td height="24" align="left"></td>
<td align="left"></td>
</tr>
<tr>
<td height="25" align="right">5.</td>
<td align="left">Name the Virtual Machine</td>
</tr>
<tr>
<td height="48" align="left"></td>
<td align="left">User has to enter name of the virtual machine and needs to give location to save the selected operating system image, System will save the image of operating system on the given location.</td>
</tr>
<tr>
<td height="24" align="left"></td>
<td align="left"></td>
</tr>
<tr>
<td height="25" align="right">6.</td>
<td align="left">Specify Disc Space</td>
</tr>
<tr>
<td height="48" align="left"></td>
<td align="left">User has to specify disk space to create a virtual machine. He has to give disc size in GB. Recommended size for Operating System window XP is 9 GB.</td>
</tr>
<tr>
<td height="24" align="left"></td>
<td align="left"></td>
</tr>
<tr>
<td height="25" align="right">7.</td>
<td align="left">Final Step: Ready to Create Virtual Machine</td>
</tr>
<tr>
<td height="48" align="left"></td>
<td align="left">It will display preview of all the details which you had selected. For example Virtual Machine Name, Location, Version, Os, Hard Disk, Memory etc.</td>
</tr>
<tr>
<td height="48" align="left"></td>
<td align="left">Before Finish, You can also customize Hard ware settings if required otherwise you can finish the step. User can customize memory, CD / DVD, Display and Processor etc.</p>
<p><img class="size-full wp-image-1358 alignleft" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/v3.gif" alt="v3" width="504" height="373" /></p>
<p><!--   		BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Arial"; font-size:x-small } --></p>
<table style="height: 584px;" border="0" cellspacing="0" width="537" rules="none">
<col width="785"></col>
<tbody>
<tr>
<td width="785" height="48" align="left">Once all the customization completed then user can finish the step and it will create a virtual machine as per given details.</p>
<p><img class="size-full wp-image-1366 alignleft" src="http://dev.digi-corp.com/wp-content/uploads/2009/09/v9.gif" alt="v9" width="500" height="408" /></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/10/create-virtual-machine-in-vmware-workstation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Map, Camera, iPod Library and Facebook Connect with iPhone</title>
		<link>http://dev.digi-corp.com/2009/09/google-map-camera-ipod-library-and-facebook-connect-with-iphone/</link>
		<comments>http://dev.digi-corp.com/2009/09/google-map-camera-ipod-library-and-facebook-connect-with-iphone/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 07:45:41 +0000</pubDate>
		<dc:creator>pratik.joshi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Camera]]></category>
		<category><![CDATA[Encoding Image]]></category>
		<category><![CDATA[Facebook Connect]]></category>
		<category><![CDATA[Google Map]]></category>
		<category><![CDATA[iPod Library]]></category>
		<category><![CDATA[MKMapView]]></category>
		<category><![CDATA[MKUserLocation]]></category>

		<guid isPermaLink="false">http://dev.digi-corp.com/?p=1275</guid>
		<description><![CDATA[Displaying Google map The iPhone SDK 3.0 offers a class of map view in MapKit framework. You just need to declare an object of MKMapView and add it to your current view. MKMapView *mapview=[[MKMapView alloc]initWithFrame:(CGRectMake(0, -20, 320, 320))]; [self.view addSubview:mapview]; Now, to display the user location on map, I was trying to insert a pin [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1350" src="http://dev.digi-corp.com/wp-content/uploads/2009/08/iphone_home.gif" alt="iphone_home" width="300" height="495" /></p>
<p><strong>Displaying Google map</strong></p>
<p>The iPhone SDK 3.0 offers a class of map view in MapKit framework. You just need to declare an object of MKMapView and add it to your current view.</p>
<p style="padding-left: 30px;"><span style="color: #993300">MKMapView *mapview=[[MKMapView alloc]initWithFrame:(CGRectMake(0, -20, 320, 320))];</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">[self.view addSubview:mapview];</span></p>
<p>Now, to display the user location on map, I was trying to insert a pin annotation on map. Soon, I realized that was wrong approach. User location is meant for changing. It will be updated many time.</p>
<p>The solution for this was to use the MKUserLocation class object. The object of this class will return “Blue dot” of built-in Google map application on iPhone. It will also show animated circle with radius of probable range of user location.</p>
<p style="padding-left: 30px;"><span style="color: #993300">MKUserLocation *ulocation=[[MKUserLocation alloc]init];</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">[mapview setShowsUserLocation:TRUE];</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">[mapview addAnnotation:ulocation];</span></p>
<p>That&#8217;s it. You don&#8217;t need to worry any more about the current location of user. The ulocation object will change its co-ordinates and display the dot whenever the position is updated.</p>
<p><img class="alignnone size-full wp-image-1348" src="http://dev.digi-corp.com/wp-content/uploads/2009/08/iPhoneMap.png" alt="iPhoneMap" width="470" height="254" /></p>
<p><strong>Sending encoded image</strong></p>
<p>You can send images to web service either by mail or by encoding it to string. I have used base64 encoding method to encrypt the image taken from iPhone camera and to send it to web service.</p>
<p>Generally, the image taken from iPhone camera is of very large size (800 kb to 2 mb). So, it may take very long time to encode the image.</p>
<p>I found another way to do the same thing. After taking the picture, you can display the image taken in full view of screen (320*480). Then take the screenshot at that stage and fetch the new image for encoding. In this way, you can make your encoding faster as this was the same picture taken using camera.</p>
<p>I have used following process to take the screenshot.</p>
<p style="padding-left: 30px;"><span style="color: #993300">UIWindow *screenWindow = [[UIApplication sharedApplication] keyWindow];</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">UIGraphicsBeginImageContext(screenWindow.frame.size);</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">[screenWindow.layer renderInContext:UIGraphicsGetCurrentContext()];</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">UIImage *screenshot = UIGraphicsGetImageFromCurrentImageContext();</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">UIGraphicsEndImageContext();</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">NSData *screenshotPNG = UIImagePNGRepresentation(screenshot);</span></p>
<p>Now, since you have the image in screenshotPNG, you can encode it using your base64 method.</p>
<p style="padding-left: 30px;"><span style="color: #993300">NSString *dstring=[[NSString alloc]init];</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">dstring=[self base64StringFromData:screenshotPNG length:[screenshotPNG length]];</span></p>
<p><strong> </strong></p>
<p><strong>Playing a specific song</strong></p>
<p>With iPhone SDK 3.0, we have the access to iPod library on iPhone. The apple documentation “<a href="http://developer.apple.com/iphone/library/documentation/Audio/Conceptual/iPodLibraryAccess_Guide/Introduction/Introduction.html">iPodLibraryAccess Guide</a>” covers most of the part needed for understanding this functionality. Here, I will describe how to play a specific song stored on iPhone.</p>
<p>Let&#8217;s assume our song name is in songtitle which is NSString. To begin, we need objects of</p>
<p style="padding-left: 30px;"><span style="color: #993300">MPMusicPlayerController and a MPMediaQuery.</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">MPMusicPlayerController* iPodMusicPlayer;</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">MPMediaQuery *everything = [[MPMediaQuery alloc] init];</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">everything=[MPMediaQuery songQuery];</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">NSArray *itemsFromGenericQuery = [everything items];</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">for (MPMediaItem *song in itemsFromGenericQuery)</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">{</span></p>
<p style="padding-left: 60px;"><span style="color: #993300">NSString *mysong = [song valueForProperty: MPMediaItemPropertyTitle];</span></p>
<p style="padding-left: 60px;"><span style="color: #993300">if([mysong isEqualToString:songtitle])</span></p>
<p style="padding-left: 60px;"><span style="color: #993300">{</span></p>
<p style="padding-left: 90px;"><span style="color: #993300">iPodMusicPlayer=[MPMusicPlayerController iPodMusicPlayer];</span></p>
<p style="padding-left: 90px;"><span style="color: #993300">[iPodMusicPlayer setNowPlayingItem:song];</span></p>
<p style="padding-left: 90px;"><span style="color: #993300">[iPodMusicPlayer play];</span></p>
<p style="padding-left: 90px;"><span style="color: #993300">break;</span></p>
<p style="padding-left: 60px;"><span style="color: #993300">}</span></p>
<p style="padding-left: 30px;"><span style="color: #993300">}</span></p>
<p><span style="color: #993300"> </span></p>
<p><strong>Using Facebook Connect on iPhone</strong></p>
<p><a href="http://wiki.developers.facebook.com/index.php/Facebook_Connect_for_iPhone">Facebook Connect </a>used in iPhone lets user connect to their facebook account. I am facing one problem in maintaining session of facebook. The sample application provided with facebook sdk allows user to stay logged-in even if iPhone application is terminated. So, the user will not have to enter facebook account username and password next time.</p>
<p>We can know the status of user if he is logged in by using -</p>
<p style="padding-left: 30px;"><span style="color: #993366;">(void)dialogDidSucceed:(NSURL*)url  and – (void)sessionDidLogout:(FBSession*)session method from FBLoginDialog.m.</span></p>
<p>Whenever user logsin using facebook account, the session will stored using NSUserDefaults. We can know this by tracking -(void)save; method in FBSession.m file.</p>
<p>The save method in FBSession.m  stores 4 objects in userdefaults: FBUserId, FBSessionKey, FBSessionSecret and FBSessionExpires.</p>
<p>I am facing problem here. Whenever I try to resume previous session, using -(BOOL)resume; method in FBSession.m, I get correct userid, but rest of the values will be nil. i.e.session key, sesison secret and session expirary date are nil. So, I get one fatal error at that time saying: “attempt to insert nil value (key: session_key)”  I am still trying to find out the solution for that.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.digi-corp.com/2009/09/google-map-camera-ipod-library-and-facebook-connect-with-iphone/feed/</wfw:commentRss>
		<slash:comments>2</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>
	</channel>
</rss>
