<?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>Whizfactory Creating Bright Minds</title>
	<atom:link href="http://www.whizfactory.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.whizfactory.com/blog</link>
	<description>Web Application Interest And Knowledge Sharing</description>
	<lastBuildDate>Mon, 27 Jun 2011 01:49:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Zend Framework 2.0 Patterns Tutorial</title>
		<link>http://www.whizfactory.com/blog/2011/06/26/zend-framework-2-0-patterns-tutorial/</link>
		<comments>http://www.whizfactory.com/blog/2011/06/26/zend-framework-2-0-patterns-tutorial/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 04:11:01 +0000</pubDate>
		<dc:creator>Calvin Casta</dc:creator>
				<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.whizfactory.com/blog/?p=248</guid>
		<description><![CDATA[Zend Framework 2.0 Patterns Tutorial View more presentations from Matthew Weier O&#8217;Phinney]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.whizfactory.com/blog/wp-content/uploads/2011/06/TVTZmcoverimage.jpg"><img class="size-full wp-image-254 alignleft" style="border: 10px solid black; margin-top: 10px; margin-bottom: 10px;" title="TVTZmcoverimage" src="http://www.whizfactory.com/blog/wp-content/uploads/2011/06/TVTZmcoverimage.jpg" alt="" width="100" height="145" /></a></p>
<div id="__ss_7954215" style="width: 510px;"><strong style="display: block; margin: 12px 0 4px;"><a title="Zend Framework 2.0 Patterns Tutorial" href="http://www.slideshare.net/weierophinney/zend-framework-20-patterns-tutorial">Zend Framework 2.0 Patterns Tutorial</a></strong> <object id="__sse7954215" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="510" height="426" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=2011-04-21-zf2patterns-110513104015-phpapp01&amp;stripped_title=zend-framework-20-patterns-tutorial&amp;userName=weierophinney" /><param name="name" value="__sse7954215" /><param name="allowfullscreen" value="true" /><embed id="__sse7954215" type="application/x-shockwave-flash" width="510" height="426" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=2011-04-21-zf2patterns-110513104015-phpapp01&amp;stripped_title=zend-framework-20-patterns-tutorial&amp;userName=weierophinney" name="__sse7954215" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div style="padding: 5px 0 12px;">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/weierophinney">Matthew Weier O&#8217;Phinney</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.whizfactory.com/blog/2011/06/26/zend-framework-2-0-patterns-tutorial/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nokia and Windows Phone 7</title>
		<link>http://www.whizfactory.com/blog/2011/02/13/nokia-and-windows-phone-7/</link>
		<comments>http://www.whizfactory.com/blog/2011/02/13/nokia-and-windows-phone-7/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 23:00:07 +0000</pubDate>
		<dc:creator>Calvin Casta</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Tech News]]></category>

		<guid isPermaLink="false">http://www.whizfactory.com/blog/?p=240</guid>
		<description><![CDATA[While the specific details of the deal are being worked out, here’s a quick summary of what Nokia working towards: Nokia will adopt Windows Phone as its primary smartphone strategy, innovating on top of the platform in areas such as [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_242" class="wp-caption alignnone" style="width: 310px"><a href="http://www.whizfactory.com/blog/wp-content/uploads/2011/02/nokia_microsoft_02b.jpg"><img class="size-medium wp-image-242" title="Nokia and Microsoft Ecosystem" src="http://www.whizfactory.com/blog/wp-content/uploads/2011/02/nokia_microsoft_02b-300x168.jpg" alt="Nokia and Microsoft Ecosystem" width="300" height="168" /></a><p class="wp-caption-text">Nokia and Microsoft Ecosystem</p></div>
<p>While the specific details of the deal are being worked out, here’s a quick summary of what Nokia working towards:</p>
<ul>
<li>Nokia will adopt Windows Phone as its primary smartphone strategy,   innovating on top of the platform in areas such as imaging, where Nokia   is a market leader.</li>
<li>Nokia will help drive and define the future of Windows Phone.   Nokia  will contribute its expertise on hardware design, language  support, and  help bring Windows Phone to a larger range of price points,  market  segments and geographies.</li>
<li>Nokia and Microsoft will closely collaborate on development, joint   marketing initiatives and a shared development roadmap to align on the   future evolution of mobile products.</li>
<li>Bing will power Nokia’s search services across Nokia devices and   services, giving customers access to Bing’s next generation search   capabilities.  Microsoft adCenter will provide search advertising   services on Nokia’s line of devices and services.</li>
<li>Nokia Maps will be a core part of Microsoft’s mapping services.    For  example, Maps would be integrated with Microsoft’s Bing search  engine  and adCenter advertising platform to form a unique local search  and  advertising experience.</li>
<li>Nokia’s extensive operator billing agreements will make it easier  for  consumers to purchase Nokia Windows Phone services in countries  where  credit-card use is low.</li>
<li>Microsoft development tools will be used to create applications to  run  on Nokia Windows Phones, allowing developers to easily leverage the   ecosystem’s global reach.</li>
<li>Microsoft will continue to invest in the development of Windows  Phone  and cloud services so customers can do more with their phone,  across  their work and personal lives.</li>
<li>Nokia’s content and application store will be integrated with Microsoft Marketplace for a more compelling consumer experience.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.whizfactory.com/blog/2011/02/13/nokia-and-windows-phone-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Basic Zend Controller Route</title>
		<link>http://www.whizfactory.com/blog/2010/09/29/basic-zend-controller-route/</link>
		<comments>http://www.whizfactory.com/blog/2010/09/29/basic-zend-controller-route/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 13:52:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials and Tips]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[zend framework tutorial]]></category>

		<guid isPermaLink="false">http://www.whizfactory.com/blog/?p=215</guid>
		<description><![CDATA[Here is the basic sample that will change the Zend Framework default controller router. Basically you need to follow the /controller/action/define-url/define-url2 and so on, let put in the actual url, example you have category and category name(category name is  dynamic), [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the basic sample that will change the Zend Framework default controller router.</p>
<p>Basically you need to follow the /controller/action/define-url/define-url2 and so on, let put in the actual url, example you have category and category name(category name is  dynamic),  and you want to view the list of products that belong to category name, the url  should be /category/view/categoryname/beauty-product. Okay, we know that is bad in SEO rule, of course we need to simplify it, and should be /category/beauty-product.</p>
<pre><code>// application/bootstrap.php

protected function _initRouterCategory()
{
     $ctrl  = Zend_Controller_Front::getInstance();
     $router = $ctrl-&gt;getRouter(); // returns a rewrite router by default 

     $route = new Zend_Controller_Router_Route(
         'category/:slug',
            array(
                'categoryname' =&gt; 'action',
                'controller'       =&gt; 'category',
                'action'           =&gt; 'view'
                )
         );
     $router-&gt;addRoute('category', $route);
}</code></pre>
<p>Then browse the category then you will see <img src='http://www.whizfactory.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.whizfactory.com/blog/2010/09/29/basic-zend-controller-route/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Zend_Cache</title>
		<link>http://www.whizfactory.com/blog/2010/08/07/using-zend_cache/</link>
		<comments>http://www.whizfactory.com/blog/2010/08/07/using-zend_cache/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 14:04:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials and Tips]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[zend framework tutorial]]></category>

		<guid isPermaLink="false">http://www.whizfactory.com/blog/?p=201</guid>
		<description><![CDATA[Recently I needed to speed up the project that makes a lot of sevices call, like rss import, twitter, recapatcha  etc. and some database calls.  To solve this caching is the answer.  Fortunately there is Zend_Cache that provides fast and [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I needed to speed up the project that makes a lot of sevices call, like rss import, twitter, recapatcha  etc. and some database calls.  To solve this caching is the answer.  Fortunately there is Zend_Cache that provides fast and easy function to do so.</p>
<p>First, you need a create directory which the cached files will be saved, i.e (tmp) and make rewritable (777), then the following of code lines will be place at the top of your bootstrap.php</p>
<p>// application/bootstrap.php</p>
<pre><code>protected function _initCache()
{
    $frontendOptions = array(
        'lifetime' =&gt; 86400, // timestamp equivalent of 1 day
        'debug_header' =&gt; false, // for debugging
  	'default_options' =&gt; array(
	    'cache_with_cookie_variables' =&gt; true,
	    'make_id_with_cookie_variables' =&gt; false
            ),
        'regexps' =&gt; array(
      	    // cache all controllers
            '^/$' =&gt; array('cache' =&gt; true),
	    // cache the whole IndexController
            '^/index/' =&gt; array('cache' =&gt; true),
	    )
	);

    $backendOptions = array(
        'cache_dir' =&gt; 'tmp'
        );

    // getting a Zend_Cache_Frontend_Page object
    $cache = Zend_Cache::factory('Page',
                                 'File',
	                          $frontendOptions,
	                          $backendOptions);
     $cache-&gt;start();
     // if the cache is hit, the result is sent to the browser and the
     // script stop here
     // [...] the end of the bootstrap file
     // these lines won't be executed if the cache is hit
}
</code></pre>
<p>This is only the basic caching that I can provide right now, will update sooner.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whizfactory.com/blog/2010/08/07/using-zend_cache/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Comparison Operator</title>
		<link>http://www.whizfactory.com/blog/2010/07/24/php-comparison-operator/</link>
		<comments>http://www.whizfactory.com/blog/2010/07/24/php-comparison-operator/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 14:28:57 +0000</pubDate>
		<dc:creator>Calvin Casta</dc:creator>
				<category><![CDATA[PHP Basic]]></category>
		<category><![CDATA[Tutorials and Tips]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php basic]]></category>
		<category><![CDATA[php operator]]></category>

		<guid isPermaLink="false">http://www.whizfactory.com/blog/?p=190</guid>
		<description><![CDATA[To test whether two variables are different, use any one of PHP&#8217;s many comparison operators. &#60;php // define some variables $mean = 29; $median = 40; $mode  = 29; // less-than operator // return true if  left side is less [...]]]></description>
			<content:encoded><![CDATA[<p>To test whether two variables are different, use any one of PHP&#8217;s many comparison operators.</p>
<pre><code>
&lt;php

// define some variables
$mean   = 29;
$median = 40;
$mode   = 29;

// less-than operator
// return true if  left side is less than right
// return true here
$result = ($mean &lt; $median);

// greater -than operator
// returns true if left side is greater than right
// return false here
$result = ($mean &gt; $median);

// less than or equal to operator
// return true if left side is less than or equal to right
// return false here
$result =($median &lt;= $mode);

// greater than or equal to operator
// return true if left side is greater than or equal to right
// return true here
$result = ($median &gt;= $mode);

// equality operator
// return true if left side is equal to right
// return true here
$result = ($mean==$mode);

// not equal to operator
// return true if left side is not equal to right
// return true here
$result = ($mean != $mode);

// inequality operator
// return true if left side is not equal to right
// return true here
$result = ($mean &lt;&gt; $mode);

?&gt;
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.whizfactory.com/blog/2010/07/24/php-comparison-operator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting the Data Type of a Variable</title>
		<link>http://www.whizfactory.com/blog/2010/07/21/detecting-the-data-type-of-a-variable/</link>
		<comments>http://www.whizfactory.com/blog/2010/07/21/detecting-the-data-type-of-a-variable/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 14:41:07 +0000</pubDate>
		<dc:creator>Emmanuel Policarpio</dc:creator>
				<category><![CDATA[PHP Basic]]></category>
		<category><![CDATA[Tutorials and Tips]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php basic]]></category>
		<category><![CDATA[php data types]]></category>

		<guid isPermaLink="false">http://www.whizfactory.com/blog/?p=173</guid>
		<description><![CDATA[To find out what type a particular variable is,PHP offers the gettype() function, which accepts  a variable or value as argument.The following example illustrates this: &#60;?php // define variables $auth = true; $age = 27; $name = 'Bobby'; $temp = [...]]]></description>
			<content:encoded><![CDATA[<p>To find out what type a particular variable is,PHP offers the gettype() function, which accepts  a variable or value as argument.The following example illustrates this:</p>
<pre><code>
&lt;?php

// define variables
$auth  = true;
$age   = 27;
$name  = 'Bobby';
$temp  = 98.6;

// returns String
echo gettype($name);

// return bolean
echo gettype($auth);

//return integer
echo gettype($age);

//return double
echo gettype($temp);

?&gt;
</code></pre>
<p>PHP also supports a number of specialized functions to check if a variable or value belongs to a specific type.</p>
<p><span id="more-173"></span></p>
<table style="width: 100%;" cellpadding="5px">
<tbody>
<tr>
<td><strong>Function</strong></td>
<td><strong>What It Does</strong></td>
</tr>
<tr>
<td>is_bool()</td>
<td>Checks if a variable or value is Boolean</td>
</tr>
<tr>
<td>is_string()</td>
<td>Check if a variable or value is a string</td>
</tr>
<tr>
<td>is_numeric()</td>
<td>Check if a variable or value is numeric string</td>
</tr>
<tr>
<td>is_float()</td>
<td>Check if a variable or value is a floating point number</td>
</tr>
<tr>
<td>is_int()</td>
<td>Check if a variable or value is an integer</td>
</tr>
<tr>
<td>is_null()</td>
<td>Check if a variable or value is NULL</td>
</tr>
<tr>
<td>is_array()</td>
<td>Check if a variable or value is an array</td>
</tr>
<tr>
<td>is_object()</td>
<td>Check if a variable or value is an object</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.whizfactory.com/blog/2010/07/21/detecting-the-data-type-of-a-variable/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Creating Table Prefix Using Zend Framework</title>
		<link>http://www.whizfactory.com/blog/2010/07/20/creating-table-prefix-using-zend-framework/</link>
		<comments>http://www.whizfactory.com/blog/2010/07/20/creating-table-prefix-using-zend-framework/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 13:54:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials and Tips]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[zend framework tutorial]]></category>

		<guid isPermaLink="false">http://www.whizfactory.com/blog/?p=155</guid>
		<description><![CDATA[Are you little confused configuring the table prefix in zf? Still I don&#8217;t why, why there is no default configuration on zend framework to set up the table prefix, if you have an idea please share with us. Ok, well [...]]]></description>
			<content:encoded><![CDATA[<p>Are you little confused configuring the table prefix in zf? Still I don&#8217;t why, why there is no default configuration on zend framework to set up the table prefix, if you have an idea please share with us. Ok, well let&#8217;s start to configure it manually.</p>
<p>First add an addition line</p>
<pre><code>
//application/configs/application.ini

; Database connection
resources.db.adapter = PDO_MYSQL
resources.db.params.host = localhost
resources.db.params.username = root
resources.db.params.password = password
resources.db.params.dbname = database
resources.db.params.prefix = my_
resources.db.isDefaultTableAdapter = true
</code>
</pre>
<p><span id="more-155"></span></p>
<p>Usually I named it <em>prefix </em> obvious<em>, </em>wasn&#8217;t it?<em> <img src='http://www.whizfactory.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </em>i.e. <em>resources.db.params.prefix</em> =</p>
<p>It is not yet over, you should need to set it up in your bootstrap</p>
<pre><code>
// application/bootstrap.php</code>

protected function _initResgisterConstant()
{
// Get the value of application.ini
$configArray  = $this-&gt;getOptions();
$this-&gt;config = new Zend_Config($configArray);
$config       = $this-&gt;config;

Zend_Registry::set('dbConfig', $config-&gt;resources-&gt;db);

// Register the table prefix
$tablePrefix 	= $config-&gt;resources-&gt;db-&gt;params-&gt;prefix;
Zend_Registry::set('tablePrefix', $tablePrefix);
}
</pre>
<p>Then the final step is to set it in you model file, here&#8217;s an example</p>
<pre><code>
// application/models/Tables/Albums.php

protected $_name = 'albums';

public function __construct() {
// Construct the table prefix
$this-&gt;_name = Zend_Registry::get('tablePrefix') . $this-&gt;_name;
parent::__construct();
}
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.whizfactory.com/blog/2010/07/20/creating-table-prefix-using-zend-framework/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Change Your WordPress Smilies With Very Pleasing Gifs Pack</title>
		<link>http://www.whizfactory.com/blog/2010/07/11/change-your-wordpress-smilies-with-very-pleasing-gifs-pack/</link>
		<comments>http://www.whizfactory.com/blog/2010/07/11/change-your-wordpress-smilies-with-very-pleasing-gifs-pack/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 15:16:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials and Tips]]></category>
		<category><![CDATA[gif smilies]]></category>
		<category><![CDATA[smilies]]></category>
		<category><![CDATA[wodpress]]></category>

		<guid isPermaLink="false">http://www.whizfactory.com/blog/?p=146</guid>
		<description><![CDATA[You can replace the default WordPress smilies with this gifs pack and I would like to share it with you. To change the core smilies from wordpress, click the button below to download the zip file. Then  overwrite &#8211; under [...]]]></description>
			<content:encoded><![CDATA[<p>You can replace the default WordPress smilies with this gifs pack and I would like to share it with you.</p>
<p>To change the core smilies from wordpress, click the button below to download the zip file.</p>
<div id="attachment_147" class="wp-caption alignnone" style="width: 58px"><a href="http://www.whizfactory.com/showcase/smilies.zip"><img class="size-full wp-image-147  " title="Download Gifs Smilies Pack" src="http://www.whizfactory.com/blog/wp-content/uploads/2010/07/Download-icon.png" alt="Download" width="48" height="48" /></a><p class="wp-caption-text">Download</p></div>
<p>Then  overwrite &#8211; under the directory<br />
<code><br />
wp-includes/images/smilies<br />
</code></p>
<p>It will be look like these <img src='http://www.whizfactory.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   <img src='http://www.whizfactory.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />   <img src='http://www.whizfactory.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Thats all, hope it will help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whizfactory.com/blog/2010/07/11/change-your-wordpress-smilies-with-very-pleasing-gifs-pack/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Understanding Php Simple Data Types</title>
		<link>http://www.whizfactory.com/blog/2010/07/09/understanding-phpsimple-data-types/</link>
		<comments>http://www.whizfactory.com/blog/2010/07/09/understanding-phpsimple-data-types/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 18:00:47 +0000</pubDate>
		<dc:creator>Emmanuel Policarpio</dc:creator>
				<category><![CDATA[PHP Basic]]></category>
		<category><![CDATA[Tutorials and Tips]]></category>
		<category><![CDATA[data types]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php data types]]></category>

		<guid isPermaLink="false">http://www.whizfactory.com/blog/?p=108</guid>
		<description><![CDATA[Every language has different types of variables- and PHP has no shortage of choices.The language supports a wide variety of data types,including simple numeric characteristic,string and Boolean types,and more complex arrays and objects. Data Type Description Example Boolean The simplest [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Every language has different types of variables- and PHP has no shortage of choices.The language supports a wide variety of data types,including simple numeric characteristic,string and Boolean types,and more complex arrays and objects.</p>
<table style="border-color: #000000; height: 339px;" border="0" cellpadding="5px" width="100%">
<tbody>
<tr>
<td><strong>Data Type</strong></td>
<td><strong>Description</strong></td>
<td><strong>Example</strong></td>
</tr>
<tr>
<td>Boolean</td>
<td>The simplest variable type in PHP,a Boolean variable simply specifies a true or false value</td>
<td>$auth=true</td>
</tr>
<tr>
<td>Integer</td>
<td>An integer is plain-vanilla number like 75,-95,2000, or 1.</td>
<td>$age=99;</td>
</tr>
<tr>
<td>Floating-point</td>
<td>A floating point number is typically a fractional number such as 12.5 or 3.14931239129. Floating point numbers may be specified using either decimal or scientific notation</td>
<td>$temperature=56.89;</td>
</tr>
<tr>
<td>String</td>
<td>A string is a sequence of characters,like &#8216;hello how low&#8217; or &#8216;abracadabra&#8217;.String values may be enclosed in either double quotes(&#8221; &#8220;) or single quotes(&#8216; &#8216;).</td>
<td>$name=&#8217;Kurt&#8217;;</td>
</tr>
</tbody>
</table>
<p><strong> </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whizfactory.com/blog/2010/07/09/understanding-phpsimple-data-types/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Basic Unix &#8220;vi&#8221; Commands</title>
		<link>http://www.whizfactory.com/blog/2010/07/07/basic-unix-vi-commands/</link>
		<comments>http://www.whizfactory.com/blog/2010/07/07/basic-unix-vi-commands/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 15:53:44 +0000</pubDate>
		<dc:creator>Emmanuel Policarpio</dc:creator>
				<category><![CDATA[OS]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[unix commands]]></category>
		<category><![CDATA[unix shell script]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[vi commands]]></category>

		<guid isPermaLink="false">http://www.whizfactory.com/blog/?p=85</guid>
		<description><![CDATA[Here is my commonly used commands using unix &#8220;vi&#8221; in general, it&#8217;s very useful especial when you&#8217;re creating and maintaining cron script on unix server. Command Description a Enters text input mode and appends text after the ECS Escape; leaves [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Here is my commonly used commands using unix &#8220;vi&#8221; in general, it&#8217;s very useful especial when you&#8217;re creating and maintaining cron script on unix server.</p>
<div>
<table border="0" cellpadding="5px" width="100%">
<tbody>
<tr>
<td style="text-align: center;" width="319" valign="top"><strong>Command</strong></td>
<td width="319" valign="top"><strong>Description</strong></td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">a</td>
<td width="319" valign="top">Enters text input mode and appends text after the</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">ECS</td>
<td width="319" valign="top">Escape;<em> </em>leaves text input mode and returns to  command mode</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">h</td>
<td width="319" valign="top">Moves the cursor one character to the left.</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">k</td>
<td width="319" valign="top">Moves the cursor down one line in the same column</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">l</td>
<td width="319" valign="top">Moves the cursor one character to the right</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">x</td>
<td width="319" valign="top">Deletes the current character.</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">CR</td>
<td width="319" valign="top">Carriage return;moves the cursor down to the begining of the next line.</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">ZZ</td>
<td width="319" valign="top">Writes to the file those changes made to the buffer that not already been written and quits vi</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">:z</td>
<td width="319" valign="top">Writes to the file those changes made to the buffer</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">:q</td>
<td width="319" valign="top">Quits vi if changes made to the buffer have been written to a file</td>
</tr>
</tbody>
</table>
</div>
<p><span id="more-85"></span></p>
<h3>Positioning by Character</h3>
<div>
<table border="0" cellpadding="5px" width="100%">
<tbody>
<tr>
<td style="text-align: center;" width="319" valign="top"><strong>Command</strong></td>
<td width="319" valign="top"><strong>Description</strong></td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">h</td>
<td width="319" valign="top">Moves the cursor one character to the left.</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">BACKSPACE</td>
<td width="319" valign="top">Backspace;moves the cursor one character to the Left.</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">l</td>
<td width="319" valign="top">Moves the cursor one character to the right</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">space bar</td>
<td width="319" valign="top">Moves the cursor one character to the right</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">fx</td>
<td width="319" valign="top">Moves the cursor right to the specified   character x</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">Fx</td>
<td width="319" valign="top">Moves the cursor left to the specified character   x</td>
</tr>
<tr>
<td style="text-align: center;" width="319" valign="top">tx</td>
<td width="319" valign="top">Moves the cursor right to the character just   before the specified character x</td>
</tr>
</tbody>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.whizfactory.com/blog/2010/07/07/basic-unix-vi-commands/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

