<?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>Vanonet.com &#187; Programming</title>
	<atom:link href="http://vanonet.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://vanonet.com</link>
	<description>Ещё один сайт сети «Dance27»</description>
	<lastBuildDate>Thu, 01 Sep 2011 18:29:24 +0000</lastBuildDate>
	<language>ru</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>PHP &amp; Templating</title>
		<link>http://vanonet.com/2008/04/18/php-templating/</link>
		<comments>http://vanonet.com/2008/04/18/php-templating/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 00:45:30 +0000</pubDate>
		<dc:creator>Иван</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[templates]]></category>

		<guid isPermaLink="false">http://vanonet.com/?p=6</guid>
		<description><![CDATA[Probably one of the cool features of php for novice developers is a possibility to mix code and design elements in one file. It&#8217;s let you start writing your scripts very fast. However when complexity of your scripts grows it&#8217;s &#8230; <a href="http://vanonet.com/2008/04/18/php-templating/">Читать далее <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Probably one of the cool features of php for novice developers is a possibility to mix code and design elements in one file. It&#8217;s let you start writing your scripts very fast.<br />
However when complexity of your scripts grows it&#8217;s become too hard to change design of your pages.  Known solve of this problem is a design templates. <span id="more-8"></span>There are several solutions available out there. I want to share with you my own solution. I&#8217;ve developed a very simple class to work with templates. It&#8217;s very simple to use and ultra fast at runtime.</p>
<p>Template is a usual html page with special placeholders for dynamic content. They look&#8217;s like<br />
%%TITLE%%<br />
%%AUTOR%%<br />
etc.</p>
<p><a href="/content/ivtemplate.zip">Download TIvTemplate.</a><br />
Here is an example of using this class<br />
<code><br />
&lt;?php<br />
include(&#039;ivtemplate.php&#039;);<br />
$t = new TIvTemplate(&#039;MyTemplate.inc&#039;);<br />
// Set placeholder values<br />
$t-&gt;Set(&#039;%%TITLE%%&#039;,&#039;Iv template system tests&#039;);<br />
$t-&gt;Set(&#039;%%FIRSTLINE%%&#039;,&#039;First line substitution&#039;);<br />
$t-&gt;Set(&#039;%%SECONDLINE%%&#039;,&#039;Author of this page is a &#039;.$t-&gt;GetConst(&#039;AUTHOR&#039;));<br />
// &#039;render&#039; page<br />
echo $t-&gt;FinalResult();<br />
?&gt;<br />
<!--formatted--></code><br />
Simple! Isn&#8217;t it?</p>
<p>When you got the idea read about <strong>Blitz</strong> and <strong>Smarty</strong> systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://vanonet.com/2008/04/18/php-templating/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How index can boost database performance</title>
		<link>http://vanonet.com/2008/04/14/how-index-can-boost-database-performance/</link>
		<comments>http://vanonet.com/2008/04/14/how-index-can-boost-database-performance/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 14:13:27 +0000</pubDate>
		<dc:creator>Иван</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[database optimization]]></category>

		<guid isPermaLink="false">http://vanonet.com/?p=5</guid>
		<description><![CDATA[Adding indexes to your tables is a great method to boost your application performance. Index helps database engine to quickly find requested data and performing efficient sorting and grouping operations. Today i was analized two similar bloghosting platforms. I was &#8230; <a href="http://vanonet.com/2008/04/14/how-index-can-boost-database-performance/">Читать далее <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Adding indexes to your tables is a great method to boost your application performance. Index helps database engine to quickly find requested data and performing efficient sorting and grouping operations.<span id="more-5"></span> Today i was analized two similar bloghosting platforms. I was tried to find some bottlenecks in their architecture to enhance performance. First thing i was did is analize all important queries and add necesary indexes to related tables. There are great SQL statement which is greately helps in table optimization process^ EXPLAIN.</p>
<p>EXPLAIN SELECT * FROM SOME_TABLE WHERE ADATE&lt;NOW()</p>
<p>This simple query gives you all required information to decide which indexes mysql will use to execute this query and you can easily decide to add all additional indexes.</p>
<p>For more information read mysql manual.</p>
]]></content:encoded>
			<wfw:commentRss>http://vanonet.com/2008/04/14/how-index-can-boost-database-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

