<?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>Risposta</title>
	<atom:link href="http://blog.rispostaindia.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rispostaindia.com</link>
	<description>Company Blog For Risposta It Services</description>
	<lastBuildDate>Tue, 06 Jul 2010 03:53:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>10 characteristics Of an Effective Website</title>
		<link>http://blog.rispostaindia.com/10_characteristics_of_an_effective_website/</link>
		<comments>http://blog.rispostaindia.com/10_characteristics_of_an_effective_website/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 07:49:04 +0000</pubDate>
		<dc:creator>Dawn</dc:creator>
				<category><![CDATA[Risposta]]></category>
		<category><![CDATA[Color scheme]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Fast Pages]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://blog.rispostaindia.com/?p=97</guid>
		<description><![CDATA[
Colors  and Layout chosen correctly
Simple Design
Fast loading
Good Meta Contents that

Keywords
Title
Description
Favicon


Less Scroll
Fresh and Useful Content
Positioning of data

Proper use of tags
Size and font of data
Readability


Easy Navigation
Size and visibility of buttons
Browser compatibility

]]></description>
			<content:encoded><![CDATA[<ol>
<li>Colors  and Layout chosen correctly</li>
<li>Simple Design</li>
<li>Fast loading</li>
<li>Good Meta Contents that
<ol>
<li>Keywords</li>
<li>Title</li>
<li>Description</li>
<li>Favicon</li>
</ol>
</li>
<li>Less Scroll</li>
<li>Fresh and Useful Content</li>
<li>Positioning of data
<ol>
<li>Proper use of tags</li>
<li>Size and font of data</li>
<li>Readability</li>
</ol>
</li>
<li>Easy Navigation</li>
<li>Size and visibility of buttons</li>
<li>Browser compatibility</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.rispostaindia.com/10_characteristics_of_an_effective_website/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to make our own template class</title>
		<link>http://blog.rispostaindia.com/how-to-make-our-own-template-class/</link>
		<comments>http://blog.rispostaindia.com/how-to-make-our-own-template-class/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 08:40:12 +0000</pubDate>
		<dc:creator>rabeesh</dc:creator>
				<category><![CDATA[Risposta]]></category>

		<guid isPermaLink="false">http://blog.rispostaindia.com/?p=80</guid>
		<description><![CDATA[As PHP application become more and more complex, that makes maintenance nearly very hard . One of the main design pattern is MVC (model- view-controller), which helps in separating application logic from view. Typically, the application code contains the business logic of your application, written and maintained in PHP code. This code is maintained by [...]]]></description>
			<content:encoded><![CDATA[<p>As PHP application become more and more complex, that makes maintenance nearly very hard . One of the main design pattern is MVC (model- view-controller), which helps in separating application logic from view. Typically, the application code contains the business logic of your application, written and maintained in PHP code. This code is maintained by programmers. The presentation is the way your content is presented to the end user, which is written and maintained in template files. The templates are maintained by template designers .</p>
<p><img src="http://www.smarty.net/gifs/smarty-logo-orange.gif" border="0" alt="smarty template engine" hspace="2" vspace="2" width="250" height="64" /></p>
<p>Here I am going to show you how to create  a simple template class , which is hack of logic behind CodeIgniter for fetching a particular view .</p>
<p><img src="http://codeigniter.com/images/design/ci_logo2.gif" alt="CodeIgniter" width="170" height="73" /></p>
<hr />Our basic template class has the following basic methods.</p>
<pre>class Template{

var $tpldir ='templates';

var $data = array();

var $_path ;

function setTplDir ($path ){}

function assign ($key , $val ){}

function fetch ($path ){}

function setTplPath($path){}

function display($path){}

}</pre>
<hr />First we have to set our template directory . &#8217;setdir&#8217; function will set template path , so we can place our templates in that directory.</p>
<pre>function setTplDir($path ){
		$this-&gt;tpldir = $path ;
}</pre>
<hr />Assign function is used to set template variables . Template variables are passed as a key value pair</p>
<pre>function assign ($key , $val ){
		$this-&gt;data[$key] = $val;
}</pre>
<hr />Our main template function is &#8216;fetch&#8217; . setTplPath set the path for template, separated for later addition to folder and relative path checking . After including the template ,its buffered output will be returned.</p>
<pre>function fetch ($path ){

		extract($this-&gt;data);
		$this-&gt;setTplPath($path);
		ob_start();
		include($this-&gt;_path);
		$buffer = ob_get_contents();
		@ob_end_clean();
		return $buffer;
}</pre>
<hr />Display function print the output from fetch function .</p>
<p>Template class :</p>
<pre>class Template{

	var $tpldir ='templates';

	var $data = array();

	var $_path ;

	function setTplDir($path ){
		$this-&gt;tpldir = $path ;
	}

            function assign ($key , $val ){
		$this-&gt;data[$key] = $val;
	}

	function fetch ($path ){

		extract($this-&gt;data);
		$this-&gt;setTplPath($path);
		ob_start();
		include($this-&gt;_path);
		$buffer = ob_get_contents();
		@ob_end_clean();
		return $buffer;
	}

	function setTplPath($path){
		$this-&gt;_path = $this-&gt;tpldir.'/'.$path.'.php';
	}

	function display($path){
		echo $this-&gt;fetch($path);
	}
}</pre>
<hr />Example code using our template class .  index.php</p>
<pre>$tplobj = new Template;
$tplobj-&gt;setTplDir('views');

$students = array('raju', 'renjith', 'arun', 'soumya');
$tplobj-&gt;assign('students',$students);
$tplobj-&gt;display('studlist');</pre>
<hr />View code :</p>
<pre>&lt;ul&gt;
		&lt;?php foreach($students as $stud): ?&gt;
			&lt;li&gt;	&lt;?php echo $stud; ?&gt;&lt;/li&gt;
	&lt;?php endforeach ; ?&gt;
&lt;/ul&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.rispostaindia.com/how-to-make-our-own-template-class/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Glass Button in Photoshop</title>
		<link>http://blog.rispostaindia.com/glass-button-in-photoshop/</link>
		<comments>http://blog.rispostaindia.com/glass-button-in-photoshop/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 13:16:45 +0000</pubDate>
		<dc:creator>Gyby</dc:creator>
				<category><![CDATA[Graphics]]></category>

		<guid isPermaLink="false">http://blog.rispostaindia.com/?p=23</guid>
		<description><![CDATA[

Picture 1. Web 2.0 style glassy button.

01.11.2007 Category: Photoshop
These days glass buttons seem to be very popular. You can find glass buttons in
Windows Vista and all around the Web. Other popular buttons are metallic and plastic buttons. All these buttons have one thing in common: They are all shiny. Some people call these kinds of [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 5px;">
<p><a href="http://blog.rispostaindia.com/wp-content/uploads/2010/03/glassy_button.png"><img class="alignnone size-medium wp-image-24" title="glassy_button" src="http://blog.rispostaindia.com/wp-content/uploads/2010/03/glassy_button.png" alt="" width="300" height="69" /></a></p>
<p style="padding: 0 10px 10px;"><strong>Picture 1.</strong> Web 2.0 style glassy button.</p>
</div>
<p><span class="date_category">01.11.2007 Category: Photoshop</span></p>
<p>These days glass buttons seem to be very popular. You can find <a style="text_decoration: underline;" href="http://en.wikipedia.org/wiki/Windows_Aero">glass buttons in<br />
Windows Vista</a> and all around the Web. Other popular buttons are metallic and plastic buttons. All these buttons have one thing in common: They are all shiny. Some people call these kinds of buttons Web 2.0 buttons. Here I cover the creation of two different glass buttons in Adobe Photoshop CS3. Both glass buttons utilize the same principles. Once you have completed this tutorial you should be able to apply the same principles and create many different kind of glass buttons. In this tutorial I give you the exact measurements and values to make things easy but feel free to try other settings as well.</p>
<hr style="clear: both; width: 100%;" />
<h3>Rectangular Glass Button</h3>
<div style="float: right; margin-left: 5px;">
<p><a href="http://blog.rispostaindia.com/wp-content/uploads/2010/03/black_rectangular_button.png"><img class="alignnone size-medium wp-image-41" title="black_rectangular_button" src="http://blog.rispostaindia.com/wp-content/uploads/2010/03/black_rectangular_button.png" alt="" width="300" height="90" /></a></p>
<p style="padding: 0 10px 10px;"><strong>Picture 2.</strong> Create black basic button on the new layer.</p>
</div>
<p>Create a new picture the size of which is 400 x 180 pixels. Create a new empty layer. Activate the Rounded Rectangle Tool and set the Radius to 10 px in the Options panel. Select black color and create rounded box (140 x 50 pixels) on the new layer according to <strong>picture 2</strong>. (You can see the size of the box in the Info panel while drawing.) Probably the most common way to create a glass button in Adobe Photoshop is to use layer effects.<br />
Next we are going to apply several different layer effects to the button<br />
to make it more glassy:</p>
<ul>
<li><strong> Gradient Overlay</strong></li>
<li><strong> Inner Glow</strong></li>
<li><strong> Stroke</strong></li>
<li><strong> Drop Shadow</strong></li>
</ul>
<hr style="clear: both; width: 100%;" />
<h3>Gradient Overlay</h3>
<div style="float: right; margin-left: 5px;">
<p><a href="http://blog.rispostaindia.com/wp-content/uploads/2010/03/button_with_gradient_overlay.png"><img class="alignnone size-medium wp-image-42" title="button_with_gradient_overlay" src="http://blog.rispostaindia.com/wp-content/uploads/2010/03/button_with_gradient_overlay.png" alt="" width="300" height="147" /></a></p>
<p style="padding: 0 10px 10px;"><strong>Picture 3.</strong> Gradient Overlay settings in Photoshop.</p>
</div>
<p>Right click on the new layer in the Layers panel and select Blending Options&#8230; from the menu. Turn Gradient Overlay on. Change the<br />
color of the right end of the gradient to 50% gray (#808080) according to <strong>picture 3</strong>.</p>
<hr style="clear: both; width: 100%;" />
<h3>Inner Glow</h3>
<div style="float: right; margin-left: 5px;">
<p><a href="http://blog.rispostaindia.com/wp-content/uploads/2010/03/button_with_inner_glow.png"><img class="alignnone size-medium wp-image-45" title="button_with_inner_glow" src="http://blog.rispostaindia.com/wp-content/uploads/2010/03/button_with_inner_glow.png" alt="" width="300" height="255" /></a></p>
<p style="padding: 0 10px 10px;"><strong>Picture 4.</strong> Inner Glow settings in Adobe Photoshop.</p>
</div>
<p>Turn Inner Glow on. Change the color of the glow to pure white. Change Opacity to 40%. Change Size to 8 pixels. The button should now look like in<br />
<strong>picture 4</strong>.</p>
<hr style="clear: both; width: 100%;" />
<h3>Stroke</h3>
<div style="float: right; margin-left: 5px;"><a href="http://blog.rispostaindia.com/wp-content/uploads/2010/03/stroke_settings_in_photoshop.png"><img class="alignnone size-medium wp-image-46" title="stroke_settings_in_photoshop" src="http://blog.rispostaindia.com/wp-content/uploads/2010/03/stroke_settings_in_photoshop.png" alt="" width="300" height="212" /></a></p>
<p style="padding: 0 10px 10px;"><strong>Picture 5.</strong> Stroke settings.</p>
</div>
<p>Turn Stroke on. Change Size to 1 pixel and color of the stroke to 50% gray (#808080). The button should now look like in <strong>picture 5</strong>.</p>
<hr style="clear: both; width: 100%;" />
<h3>Drop Shadow</h3>
<div style="float: right; margin-left: 5px;">
<p><a href="http://blog.rispostaindia.com/wp-content/uploads/2010/03/drop_shadow_settings.png"><img class="alignnone size-medium wp-image-47" title="drop_shadow_settings" src="http://blog.rispostaindia.com/wp-content/uploads/2010/03/drop_shadow_settings.png" alt="" width="300" height="206" /></a></p>
<p style="padding: 0 10px 10px;"><strong>Picture 6.</strong> Drop Shadow settings.</p>
</div>
<p>Turn Drop Shadow on. Change Distance to 0 pixels and Size to 8<br />
pixels. The glass button should now look like in <strong>picture 6</strong>. Click OK to close the<br />
dialog.</p>
<hr style="clear: both; width: 100%;" />
<h3>Button Text</h3>
<div style="float: right; margin-left: 5px;">
<p><a href="http://blog.rispostaindia.com/wp-content/uploads/2010/03/button_text.png"><img class="alignnone size-medium wp-image-49" title="button_text" src="http://blog.rispostaindia.com/wp-content/uploads/2010/03/button_text.png" alt="" width="300" height="90" /></a></p>
<p style="padding: 0 10px 10px;"><strong>Picture 7.</strong> Button text.</p>
</div>
<p>Create the button text with Type Tool. Select white color for the text and create 1 pixel wide black stroke for it. Align the text to the<br />
middle of the button. The glass button should now look like in <strong>picture 7</strong>.</p>
<hr style="clear: both; width: 100%;" />
<h3>Highlight / Glare</h3>
<div style="float: right; margin-left: 5px; width: 300px;">
<p><a href="http://blog.rispostaindia.com/wp-content/uploads/2010/03/glass_button_highlight.png"><img class="alignnone size-medium wp-image-54" title="glass_button_highlight" src="http://blog.rispostaindia.com/wp-content/uploads/2010/03/glass_button_highlight.png" alt="" width="300" height="90" /></a></p>
<p style="padding: 0 10px 10px;"><strong>Picture 8.</strong> White rounded rectangle will become the highlight.</p>
</div>
<div style="float: right; margin-left: 5px;">
<p><a href="http://blog.rispostaindia.com/wp-content/uploads/2010/03/glass_button_in_photoshop.png"><img class="alignnone size-medium wp-image-51" title="glass_button_in_photoshop" src="http://blog.rispostaindia.com/wp-content/uploads/2010/03/glass_button_in_photoshop.png" alt="" width="300" height="255" /></a></p>
<p style="padding: 0 10px 10px;"><strong>Picture 9.</strong> Complete glass button in Adobe Photoshop.</p>
</div>
<p>When creating a glass button the highlight (reflection of the light source) is the most important element.</p>
<p>Create a new empty layer on top of the text layer. Select white color and create new Rounded Rectangle (136 x 23 pixels) on the new layer according to <strong>picture 8</strong>. Right click on the new layer in the Layers panel and select Blending Options&#8230; from the menu. Turn &#8220;Blend Interior Effects as Group&#8221; on. Turn Gradient Overlay on. Change the color of the left end of the gradient to 25% gray (#404040) according to <strong>picture 9</strong>. Click OK to close the dialog.</p>
<p>Change the blending mode of the new layer to Screen and Opacity to 90%. Now the glass button is complete and it should look like in <strong>picture 9</strong>.</p>
<p>This is a black and white glass button but using the same<br />
principles you could create a glass button of any color.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rispostaindia.com/glass-button-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>79</slash:comments>
		</item>
		<item>
		<title>Commands and Shortcuts in Linux</title>
		<link>http://blog.rispostaindia.com/commands-and-shortcuts-in-linux/</link>
		<comments>http://blog.rispostaindia.com/commands-and-shortcuts-in-linux/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 10:17:14 +0000</pubDate>
		<dc:creator>Augustine</dc:creator>
				<category><![CDATA[Risposta]]></category>

		<guid isPermaLink="false">http://blog.rispostaindia.com/?p=34</guid>
		<description><![CDATA[Shortcuts in Linux ﻿
&#60;Ctrl&#62;&#60;Alt&#62;&#60;Fn&#62; 
Changing text  terminal
Startx
Getting GUI in linux
&#60;ArrowUp&#62;
Scroll and edit the command history. Press &#60;Enter&#62; to execute a historical command (to save on typing). &#60;ArrowDown&#62; scrolls back.
&#60;Shift&#62;&#60;PgUp&#62;
Scroll terminal output up.
&#60;Shift&#62;&#60;PgDown&#62;
scrolls the terminal output down.
&#60;Ctrl&#62;&#60;Alt&#62;&#60;Del&#62;
(in text terminal) Shut down the system and reboot
&#60;Ctrl&#62;c
Kill the current process
&#60;Ctrl&#62;d
Log out from the current terminal.
&#60;Ctrl&#62;s
Stop the transfer to [...]]]></description>
			<content:encoded><![CDATA[<p>Shortcuts in Linux ﻿</p>
<p><strong>&lt;Ctrl&gt;&lt;Alt&gt;&lt;Fn&gt; </strong><br />
Changing text  terminal</p>
<p><strong>Startx</strong><br />
Getting GUI in linux</p>
<p><strong>&lt;ArrowUp&gt;</strong><br />
Scroll and edit the command history. Press &lt;Enter&gt; to execute a historical command (to save on typing). &lt;ArrowDown&gt; scrolls back.</p>
<p><strong>&lt;Shift&gt;&lt;PgUp&gt;</strong><br />
Scroll terminal output up.</p>
<p><strong>&lt;Shift&gt;&lt;PgDown&gt;</strong><br />
scrolls the terminal output down.</p>
<p><strong>&lt;Ctrl&gt;&lt;Alt&gt;&lt;Del&gt;</strong><br />
(in text terminal) Shut down the system and reboot</p>
<p><strong>&lt;Ctrl&gt;c</strong><br />
Kill the current process</p>
<p><strong>&lt;Ctrl&gt;d</strong><br />
Log out from the current terminal.</p>
<p><strong>&lt;Ctrl&gt;s</strong><br />
Stop the transfer to the terminal</p>
<p><strong>&lt;Ctrl&gt;q</strong><br />
Resume the transfer to the terminal.</p>
<p><strong>pwd: </strong><br />
The pwd command will allow you to know in which directory you are located</p>
<p><strong>whoami :</strong><br />
Print the user name associated with the current effective user id<br />
<strong>ls :</strong><br />
The ls command will show you (&#8216;list&#8217;) the files in your current directory</p>
<p><strong>cd:</strong><br />
The cd command will allow you to change directories.<br />
To navigate into the root directory, use &#8220;cd /&#8221;<br />
To navigate previous directory level, use &#8220;cd ..&#8221;</p>
<p><strong>cp:</strong><br />
The cp command will make a copy of a file for you</p>
<p><strong>mv:</strong><br />
The mv command will move a file to a different location or will rename a file.</p>
<p><strong>rm:</strong><br />
Use this command to remove or delete a file in your directory</p>
<p><strong>rmdir:</strong><br />
The rmdir command will delete an empty directory.</p>
<p><strong>mkdir:</strong><br />
The mkdir command will allow you to create directories.eg: mkdir risposta ,this will create a folder named risposta in the working directory</p>
<p><strong>man:</strong><br />
The man command is used to show you the manual of other commands eg: man man</p>
<p><strong>&#8211;help:</strong><br />
getting help of corresponding command eg: cp &#8211;help</p>
<p><strong>ifconfig:</strong><br />
this gives system ip address</p>
<p><strong>yum:</strong></p>
<p>Yum is an automatic updater and package installer/remover for rpm systems. It automatically computes dependencies and figures out what things should occur to install packages.  eg:yum install firefox</p>
<p><strong>shutdown</strong><br />
shutdown -h now<br />
halt<br />
poweroff<br />
init 0</p>
<p><strong>restart</strong></p>
<p>shutdown -r now</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rispostaindia.com/commands-and-shortcuts-in-linux/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Java script vs Jquery</title>
		<link>http://blog.rispostaindia.com/my-first-blog-2/</link>
		<comments>http://blog.rispostaindia.com/my-first-blog-2/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 07:49:31 +0000</pubDate>
		<dc:creator>Kapil</dc:creator>
				<category><![CDATA[Risposta]]></category>

		<guid isPermaLink="false">http://blog.rispostaindia.com/?p=15</guid>
		<description><![CDATA[Hi guys,
Let me take the privilege to be the first blogger.
What do you think is better woking with? Java script or Jquery .
I guess java script is much better which is supposed to be jquery&#8217;s  ancestor.
When you search the net you can see such comments like &#8221; Write less , Do more&#8221;
but, the fact is [...]]]></description>
			<content:encoded><![CDATA[<p>Hi guys,</p>
<p>Let me take the privilege to be the first blogger.</p>
<p>What do you think is better woking with? <strong>Java script</strong> or <strong>Jquery</strong> .</p>
<p>I guess java script is much better which is supposed to be jquery&#8217;s  ancestor.</p>
<p>When you search the net you can see such comments like &#8221; Write less , Do more&#8221;</p>
<p>but, the fact is js is the language, and jquey is a library.</p>
<p>Please air you views on this.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rispostaindia.com/my-first-blog-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
