<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Doctrine</title>
	<atom:link href="http://blog.fxposter.org/2009/01/31/doctrine/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fxposter.org/2009/01/31/doctrine/</link>
	<description>Stories about Ruby, JavaScript, Objective-C and other cool tools</description>
	<lastBuildDate>Wed, 11 Jan 2012 18:45:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Buska</title>
		<link>http://blog.fxposter.org/2009/01/31/doctrine/comment-page-1/#comment-7985</link>
		<dc:creator>Buska</dc:creator>
		<pubDate>Mon, 14 Dec 2009 08:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fxposter.org/?p=639#comment-7985</guid>
		<description>Sergey Rogin, Интересно, как это Вы определили, что запросы не кешируются? У меня лично вполне заметно, что повторного запроса к БД не происходит.</description>
		<content:encoded><![CDATA[<p>Sergey Rogin, Интересно, как это Вы определили, что запросы не кешируются? У меня лично вполне заметно, что повторного запроса к БД не происходит.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Svel</title>
		<link>http://blog.fxposter.org/2009/01/31/doctrine/comment-page-1/#comment-7778</link>
		<dc:creator>Svel</dc:creator>
		<pubDate>Sun, 06 Dec 2009 23:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fxposter.org/?p=639#comment-7778</guid>
		<description>а вот зря Вы на Доктрину грешите... rtfm =)</description>
		<content:encoded><![CDATA[<p>а вот зря Вы на Доктрину грешите&#8230; rtfm =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergey Rogin</title>
		<link>http://blog.fxposter.org/2009/01/31/doctrine/comment-page-1/#comment-7775</link>
		<dc:creator>Sergey Rogin</dc:creator>
		<pubDate>Sun, 06 Dec 2009 21:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fxposter.org/?p=639#comment-7775</guid>
		<description>да жесть.

в Doctrine можно вытащить объект по ключу.

Doctrine::getTable(&#039;Table&#039;)-&gt;find(1);
Doctrine::getTable(&#039;Table&#039;)-&gt;find(1);

этот код каждый раз стучится в бд вытаскивая одну и ту же запись. т.е кеширования нет.

в Propel при включенном enableInstancePooling() код

Table::retriveByPk(1);
Table::retriveByPk(1);

делает это всегод один раз.

я на хабре видел разработчика который хвалиться в комментах что в доктрине можно делать всё - кешировать и запросы и результаты, но я пока не нашёл как.</description>
		<content:encoded><![CDATA[<p>да жесть.</p>
<p>в Doctrine можно вытащить объект по ключу.</p>
<p>Doctrine::getTable(&#8216;Table&#8217;)->find(1);<br />
Doctrine::getTable(&#8216;Table&#8217;)->find(1);</p>
<p>этот код каждый раз стучится в бд вытаскивая одну и ту же запись. т.е кеширования нет.</p>
<p>в Propel при включенном enableInstancePooling() код</p>
<p>Table::retriveByPk(1);<br />
Table::retriveByPk(1);</p>
<p>делает это всегод один раз.</p>
<p>я на хабре видел разработчика который хвалиться в комментах что в доктрине можно делать всё &#8211; кешировать и запросы и результаты, но я пока не нашёл как.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FX Poster</title>
		<link>http://blog.fxposter.org/2009/01/31/doctrine/comment-page-1/#comment-7191</link>
		<dc:creator>FX Poster</dc:creator>
		<pubDate>Mon, 26 Oct 2009 12:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fxposter.org/?p=639#comment-7191</guid>
		<description>Спасибо, но &quot;похачить библиотеку&quot; я тоже могу. Хотелось бы, чтобы библиотека была расширяемой.</description>
		<content:encoded><![CDATA[<p>Спасибо, но &#8220;похачить библиотеку&#8221; я тоже могу. Хотелось бы, чтобы библиотека была расширяемой.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dmitry</title>
		<link>http://blog.fxposter.org/2009/01/31/doctrine/comment-page-1/#comment-7184</link>
		<dc:creator>dmitry</dc:creator>
		<pubDate>Sun, 25 Oct 2009 21:37:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fxposter.org/?p=639#comment-7184</guid>
		<description>http://habrahabr.ru/blogs/doctrine/68806/</description>
		<content:encoded><![CDATA[<p><a href="http://habrahabr.ru/blogs/doctrine/68806/" rel="nofollow">http://habrahabr.ru/blogs/doctrine/68806/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FX Poster</title>
		<link>http://blog.fxposter.org/2009/01/31/doctrine/comment-page-1/#comment-6683</link>
		<dc:creator>FX Poster</dc:creator>
		<pubDate>Sun, 14 Jun 2009 20:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fxposter.org/?p=639#comment-6683</guid>
		<description>Через YAML:

&lt;pre&gt;&lt;code class=&quot;yaml&quot;&gt;all:
  doctrine:
    class: sfDoctrineDatabase
    param:
      dsn: ...
      encoding: utf8&lt;/code&gt;&lt;/pre&gt;

Если создаешь соединение сам - думаю, аналогично это делается.

Либо, как и везде, выполни соответствующий запрос перед началом работы. Я всегда делал &quot;SET NAMES utf8&quot;.</description>
		<content:encoded><![CDATA[<p>Через YAML:</p>
<pre><code class="yaml">all:
  doctrine:
    class: sfDoctrineDatabase
    param:
      dsn: ...
      encoding: utf8</code></pre>
<p>Если создаешь соединение сам &#8211; думаю, аналогично это делается.</p>
<p>Либо, как и везде, выполни соответствующий запрос перед началом работы. Я всегда делал &#8220;SET NAMES utf8&#8243;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Svel</title>
		<link>http://blog.fxposter.org/2009/01/31/doctrine/comment-page-1/#comment-6682</link>
		<dc:creator>Svel</dc:creator>
		<pubDate>Sun, 14 Jun 2009 20:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fxposter.org/?p=639#comment-6682</guid>
		<description>А не подскажете ли Вы... как в Доктрине collation выставить свой, а не тот который в my.ini мускула прописан ))
Пазязя ))

*готов плевать в Доктрину*</description>
		<content:encoded><![CDATA[<p>А не подскажете ли Вы&#8230; как в Доктрине collation выставить свой, а не тот который в my.ini мускула прописан ))<br />
Пазязя ))</p>
<p>*готов плевать в Доктрину*</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: blog.fxposter.org @ 2012-02-11 00:22:33 -->
