<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>WebsiteTheme.com - Code</title>
    <link>http://websitetheme.com/</link>
    <description>Quality website themes and designs.</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.5 - http://www.s9y.org/</generator>
    <pubDate>Sat, 05 Dec 2009 22:38:11 GMT</pubDate>

    <image>
        <url>http://websitetheme.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: WebsiteTheme.com - Code - Quality website themes and designs.</title>
        <link>http://websitetheme.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>PHP Variables and constants</title>
    <link>http://websitetheme.com/archives/13-PHP-Variables-and-constants.html</link>
            <category>PHP Tutorial</category>
    
    <comments>http://websitetheme.com/archives/13-PHP-Variables-and-constants.html#comments</comments>
    <wfw:comment>http://websitetheme.com/wfwcomment.php?cid=13</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://websitetheme.com/rss.php?version=2.0&amp;type=comments&amp;cid=13</wfw:commentRss>
    

    <author>nospam@example.com (Abdussamad Abdurrazzaq)</author>
    <content:encoded>
    &lt;h4&gt;Variables introduction&lt;/h4&gt;

&lt;p&gt;Variables are used by programmers to store values and to refer to those values in code. Variables in PHP need not be defined. Variable types also do not exist although variable scope does. All variables begin with a $ sign. Variable names can contain numbers, letters and underscores. Variable names can only begin with letters or underscores. PHP variables are case sensitive. For ex: $a is different from $A. Below are given some examples of valid variable names:&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://websitetheme.com/archives/13-PHP-Variables-and-constants.html#extended&quot;&gt;Continue reading &quot;PHP Variables and constants&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 02 Mar 2007 21:40:00 -0800</pubDate>
    <guid isPermaLink="false">http://websitetheme.com/archives/13-guid.html</guid>
    <category>beginners guide</category>
<category>php</category>
<category>programming</category>
<category>server side programming</category>
<category>tutorial</category>

</item>
<item>
    <title>Standards based coding is easy</title>
    <link>http://websitetheme.com/archives/8-Standards-based-coding-is-easy.html</link>
            <category>Code</category>
    
    <comments>http://websitetheme.com/archives/8-Standards-based-coding-is-easy.html#comments</comments>
    <wfw:comment>http://websitetheme.com/wfwcomment.php?cid=8</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://websitetheme.com/rss.php?version=2.0&amp;type=comments&amp;cid=8</wfw:commentRss>
    

    <author>nospam@example.com (Abdussamad Abdurrazzaq)</author>
    <content:encoded>
    Coding according to w3c standards is a major selling point for website designers these days. But how hard is it really? Consider some of the differences between valid XHTML transitional and the usual sloppy HTML coding:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;All tags in XHTML are written in simple letters. So no more &amp;lt;P&amp;gt; or &amp;lt;BODY&amp;gt; but &amp;lt;p&amp;gt; or &amp;lt;body&amp;gt;. Saves typing really.&lt;/li&gt;&lt;li&gt;All tags are closed even ones that you wouldn&#039;t close in HTML. For example: &amp;lt;br /&amp;gt; . &lt;br /&gt;&lt;/li&gt;&lt;li&gt;img tags need to specify alternate text like &amp;lt;img src=&quot;gg.gif&quot; alt=&quot;somting&quot; /&amp;gt; .Note also the self closing of the img tag.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;These are just some of the simple changes you have to make to get your site to validate. So in essence its not really a lot of work!&lt;br /&gt; 
    </content:encoded>

    <pubDate>Fri, 06 Oct 2006 11:03:37 -0700</pubDate>
    <guid isPermaLink="false">http://websitetheme.com/archives/8-guid.html</guid>
    <category>validation</category>
<category>w3c standards</category>

</item>
<item>
    <title>PHP introduction, code delimiters, comments and statements</title>
    <link>http://websitetheme.com/archives/7-PHP-introduction,-code-delimiters,-comments-and-statements.html</link>
            <category>PHP Tutorial</category>
    
    <comments>http://websitetheme.com/archives/7-PHP-introduction,-code-delimiters,-comments-and-statements.html#comments</comments>
    <wfw:comment>http://websitetheme.com/wfwcomment.php?cid=7</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://websitetheme.com/rss.php?version=2.0&amp;type=comments&amp;cid=7</wfw:commentRss>
    

    <author>nospam@example.com (Abdussamad Abdurrazzaq)</author>
    <content:encoded>
    &lt;h4&gt;Introduction&lt;/h4&gt;

&lt;p&gt;PHP Hypertext Preprocessor (PHP) is the most popular server-side scripting language on the world wide web. This guide is designed to introduce programmers familiar with other programming languages to PHP.&lt;/p&gt;

&lt;p&gt;
This guide will take the form of a series of posts that will cover PHP from the basics to intermediate level. In this post I will cover code delimiters, comments and PHP statements.
&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://websitetheme.com/archives/7-PHP-introduction,-code-delimiters,-comments-and-statements.html#extended&quot;&gt;Continue reading &quot;PHP introduction, code delimiters, comments and statements&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 18 Sep 2006 19:04:30 -0700</pubDate>
    <guid isPermaLink="false">http://websitetheme.com/archives/7-guid.html</guid>
    
</item>
<item>
    <title>CSS button hovers without the lag</title>
    <link>http://websitetheme.com/archives/5-CSS-button-hovers-without-the-lag.html</link>
            <category>Code</category>
    
    <comments>http://websitetheme.com/archives/5-CSS-button-hovers-without-the-lag.html#comments</comments>
    <wfw:comment>http://websitetheme.com/wfwcomment.php?cid=5</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://websitetheme.com/rss.php?version=2.0&amp;type=comments&amp;cid=5</wfw:commentRss>
    

    <author>nospam@example.com (Abdussamad Abdurrazzaq)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 136px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;img width=&#039;136&#039; height=&#039;84&#039;  src=&quot;http://websitetheme.com/uploads/button.jpg&quot; alt=&quot;&quot; /&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;Both the hover (bottom) and normal (top) states of the button are in one image. &lt;/div&gt;&lt;/div&gt;One of the best features of css is the ability to perform button hovers without java script. By button hovers I mean creating links that have different background images based on whether the mouse pointer is over the link or not. With CSS this is as simple as setting different background images for the a tag and the a:hover pseudo class:

&lt;div class=&quot;css&quot; style=&quot;text-align: left&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;a&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;background-image&lt;/span&gt;:&lt;span style=&quot;color: #993333;&quot;&gt;url&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;img/normal.png&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;a:hover&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;background-image&lt;/span&gt;:&lt;span style=&quot;color: #993333;&quot;&gt;url&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;img/mouseover.png&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;&amp;#160;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;
&lt;p&gt;The image specified in the a:hover class will be displayed when the user moves the mouse pointer over an image. Once the user moves the mouse pointer away from the image it will revert to normal.png as specified in the a class.&lt;/p&gt;

&lt;p&gt;This technique is an easy way to implement button hovers but it has one flaw. When the user moves the mouse over the link for the first time there is a time lag during which the mouseover.png image is fetched by the browser. Therefore the user does not see this effect immediately.Whats the solution? Well I discovered it while going through the code of the free wordpress theme &lt;a href=&quot;http://www.jide.fr/english/downloads/template-freshy-wordpress/&quot;  title=&quot;http://www.jide.fr/english/downloads/template-freshy-wordpress/&quot;&gt;freshy&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;
The author of that theme Julien  De Luca uses an interesting techinque. Both the normal state and the hover state of the button are placed in the same image. However the position of the background is changed depending on hover or not:&lt;/p&gt;

&lt;div class=&quot;css&quot; style=&quot;text-align: left&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;a &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;background-image&lt;/span&gt;:&lt;span style=&quot;color: #993333;&quot;&gt;url&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;normal.png&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;background-position&lt;span style=&quot;color: #3333ff;&quot;&gt;:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;top&lt;/span&gt; &lt;/span&gt;left;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;&amp;#160;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;&amp;#160;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;a:hover&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;background-position&lt;span style=&quot;color: #3333ff;&quot;&gt;:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;bottom&lt;/span&gt; &lt;/span&gt;left;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; color: black; font-weight: normal; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: &#039;Courier New&#039;, Courier, monospace; font-weight: normal;&quot;&gt;&amp;#160;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;
&lt;p&gt;
Using this technique you can remove the time lag because the browser has to fetch only one image that contains both normal and hover states.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 17 Sep 2006 11:00:52 -0700</pubDate>
    <guid isPermaLink="false">http://websitetheme.com/archives/5-guid.html</guid>
    <category>website design</category>

</item>
<item>
    <title>Search engine optimization basics</title>
    <link>http://websitetheme.com/archives/4-Search-engine-optimization-basics.html</link>
            <category>Code</category>
            <category>General website design</category>
    
    <comments>http://websitetheme.com/archives/4-Search-engine-optimization-basics.html#comments</comments>
    <wfw:comment>http://websitetheme.com/wfwcomment.php?cid=4</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://websitetheme.com/rss.php?version=2.0&amp;type=comments&amp;cid=4</wfw:commentRss>
    

    <author>nospam@example.com (Abdussamad Abdurrazzaq)</author>
    <content:encoded>
    Search engines are used by all netizens to find useful content. Search Engine Optimization or SEO is the art of developing websites that enjoy a good position on search engine results pages. Website designers and developers are keen to see their websites succeed.&amp;#160; Optimizing thier websites for search engine traffic can really help improve their website&#039;s visibility. In this post I examine some of the key factors that affect search engine rankings. &lt;br /&gt;&lt;a href=&quot;http://websitetheme.com/archives/4-Search-engine-optimization-basics.html#extended&quot;&gt;Continue reading &quot;Search engine optimization basics&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 17 Aug 2006 21:49:36 -0700</pubDate>
    <guid isPermaLink="false">http://websitetheme.com/archives/4-guid.html</guid>
    <category>search engine optimization</category>
<category>SEO</category>
<category>website design</category>

</item>

</channel>
</rss>
