<?xml version="1.0" encoding="windows-1251"?><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/">
<channel>
 <title>LIMB PHP framework forum</title>
 <link>http://limb-project.com/forum</link>
 <description>LIMB PHP framework forum last topics.</description>
 <language>en</language>
   <item>
      <title>Сериализация классов из AR</title>   <link>http://limb-project.com/forum/viewtopic.php?p=11883#11883</link>
   <description>
   Сериализация классов из AR   </description>
   <content:encoded><![CDATA[
        Описанную проблему это не решило

Все переменные которые заданы в шаблоне попадают в кеш, когда метод вызывается из шаблона.

Я даже пока представить не могу, каким боком они связаны :?

Более того

Если в шаблоне будут вызваны методы типа
[code:1:7c1108c3b8]
$this-&gt;items=SomeObject&#58;&#58;findNewPublished&#40;&#41;;

$this-&gt;items1=SomeObject1&#58;&#58;findNewPublished&#40;&#41;;

$this-&gt;items2=SomeObject2&#58;&#58;findNewPublished&#40;&#41;;

$this-&gt;items3=SomeObject3&#58;&#58;findNewPublished&#40;&#41;;
[/code:1:7c1108c3b8]
В каждом из тамих методов производится кеширование.  ТО вся информация из $this-&gt;items попадет в кеш $this-&gt;items1 и тд.

А если таких вызовов 3-4, то файл кеша, может быть несколько мегабайт...
То есть если каждый итератор весит по 300 кило, то
1 файл - 300
2 файл - 300+300=600
3 файл - 300+600=900
4 файл - 300+900=1200 - а реально тут данных на 300 килобайт.

Кстати, как принудительно заставить активрекорд сделать все запросы?        <br>Posted by
                <a href='http://limb-project.com/forum/profile.php?mode=viewprofile&amp;u=2470'>vasiatka</a>        (Replies: 26|Views: 587)
   ]]></content:encoded>
   <pubDate>
    Wed, 15 May 2008 19:43:19   </pubDate>
  </item>
    <item>
      <title>Переезд форума и вики на другой сервер</title>   <link>http://limb-project.com/forum/viewtopic.php?p=11881#11881</link>
   <description>
   Переезд форума и вики на другой сервер   </description>
   <content:encoded><![CDATA[
        Вики, вроде как перенес. DNS обновляется... Баги плиз постите сюда.        <br>Posted by
                <a href='http://limb-project.com/forum/profile.php?mode=viewprofile&amp;u=5'>pachanga</a>        (Replies: 2|Views: 664)
   ]]></content:encoded>
   <pubDate>
    Wed, 15 May 2008 11:16:18   </pubDate>
  </item>
    <item>
      <title>Eager fetching в ACTIVE_RECORD</title>   <link>http://limb-project.com/forum/viewtopic.php?p=11879#11879</link>
   <description>
   Eager fetching в ACTIVE_RECORD   </description>
   <content:encoded><![CDATA[
        Такая ситуация:

[code:1:873f6e41fa]$result = lmbARQuery &#58;&#58; create&#40;'Project'&#41;-&gt;eagerJoin&#40;'owner', array&#40;'join' =&gt; 'country'&#41;&#41;-&gt;fetch&#40;&#41;;
$result_item-&gt;getOwner&#40;&#41;-&gt;getCountry&#40;&#41;-&gt;getName&#40;&#41;; // 'Russia'[/code:1:873f6e41fa]

один запрос, все ок.

[code:1:873f6e41fa]$result = lmbARQuery &#58;&#58; create&#40;'Project'&#41;-&gt;eagerAttach&#40;'has_many_objects'&#41;-&gt;eagerJoin&#40;'owner'&#41;-&gt;fetch&#40;&#41;;
$result_item-&gt;getOwner&#40;&#41;-&gt;getCountry&#40;&#41;-&gt;getName&#40;&#41;; // 'Russia'[/code:1:873f6e41fa]

два запроса, тоже все ок, но:
[code:1:873f6e41fa]
$result = lmbARQuery &#58;&#58; create&#40;'Project'&#41;-&gt;eagerAttach&#40;'has_many_objects'&#41;-&gt;eagerJoin&#40;'owner', array&#40;'join' =&gt; 'country'&#41;&#41;-&gt;fetch&#40;&#41;;
$result_item-&gt;getOwner&#40;&#41;-&gt;getCountry&#40;&#41;-&gt;getName&#40;&#41;; // NULL
get_class&#40;$result_item-&gt;getOwner&#40;&#41;-&gt;getCountry&#40;&#41;&#41;; // 'Country'
$result_item-&gt;getOwner&#40;&#41;-&gt;getCountry&#40;&#41;-&gt;export&#40;&#41;; // Array&#40;0&#41; &#123;&#125;
[/code:1:873f6e41fa]

два запроса, получаем null        <br>Posted by
                <a href='http://limb-project.com/forum/profile.php?mode=viewprofile&amp;u=167'>3d-max</a>        (Replies: 84|Views: 4962)
   ]]></content:encoded>
   <pubDate>
    Tue, 14 May 2008 23:50:59   </pubDate>
  </item>
    <item>
      <title>Внедрение Registry в ActiveRecord пакет</title>   <link>http://limb-project.com/forum/viewtopic.php?p=11877#11877</link>
   <description>
   Внедрение Registry в ActiveRecord пакет   </description>
   <content:encoded><![CDATA[
        Тут в общем то и BC ломать не обязательно, достаточно ввести альтернативный синтаксис.        <br>Posted by
                <a href='http://limb-project.com/forum/profile.php?mode=viewprofile&amp;u=2393'>korchasa</a>        (Replies: 8|Views: 108)
   ]]></content:encoded>
   <pubDate>
    Tue, 14 May 2008 20:25:27   </pubDate>
  </item>
    <item>
      <title>Новые идеи по доработке MACRO</title>   <link>http://limb-project.com/forum/viewtopic.php?p=11870#11870</link>
   <description>
   Новые идеи по доработке MACRO   </description>
   <content:encoded><![CDATA[
        [quote:5dddcd71c1="conf"]хотелось бы добавить атрибут key в {{list}} для реализации чего-то подобного 
[code:1:5dddcd71c1]
foreach&#40;$items as $key =&gt; $value&#41; &#123;
// ...
&#125;
[/code:1:5dddcd71c1][/quote:5dddcd71c1]

Я не против. Как-то так:

[code:1:5dddcd71c1]
&#123;&#123;list for=&quot;$list&quot; as=&quot;$value&quot; key=&quot;$key&quot;&#125;&#125;
...
&#123;&#123;/list&#125;&#125;
[/code:1:5dddcd71c1]

?

Как раз потренируешься тесты писать ;)        <br>Posted by
                <a href='http://limb-project.com/forum/profile.php?mode=viewprofile&amp;u=5'>pachanga</a>        (Replies: 44|Views: 2227)
   ]]></content:encoded>
   <pubDate>
    Mon, 13 May 2008 21:12:11   </pubDate>
  </item>
    <item>
      <title>lmbErrorList изменения в rev 6639</title>   <link>http://limb-project.com/forum/viewtopic.php?p=11866#11866</link>
   <description>
   lmbErrorList изменения в rev 6639   </description>
   <content:encoded><![CDATA[
        [quote:bf193f02f3="pachanga"][quote:bf193f02f3="conf"][quote:bf193f02f3="serega"]Я бы вернул этот самый метод. Эти удаления происходили под лозунгом "Долой все лишнее!", а многое в последствие вернулось... Просто так некоторым удобнее. Не будем их огорчать :)[/quote:bf193f02f3]
Как минимум, не придется переписывать документацию ;)[/quote:bf193f02f3]

Ты можешь сам добавить этот метод уже ;)[/quote:bf193f02f3]
Добавил.        <br>Posted by
                <a href='http://limb-project.com/forum/profile.php?mode=viewprofile&amp;u=2539'>conf</a>        (Replies: 19|Views: 980)
   ]]></content:encoded>
   <pubDate>
    Mon, 13 May 2008 15:28:08   </pubDate>
  </item>
    <item>
      <title>Переводим примеры с svn:externals на использование Piston</title>   <link>http://limb-project.com/forum/viewtopic.php?p=11861#11861</link>
   <description>
   Переводим примеры с svn:externals на использование Piston   </description>
   <content:encoded><![CDATA[
        Перевел syncman также на использование Piston. Для buildman это пока неактуально, т.к он не использует limb через svn:externals, его переведем позже, когда будем обновлять его limb.        <br>Posted by
                <a href='http://limb-project.com/forum/profile.php?mode=viewprofile&amp;u=5'>pachanga</a>        (Replies: 4|Views: 203)
   ]]></content:encoded>
   <pubDate>
    Mon, 13 May 2008 11:32:47   </pubDate>
  </item>
    <item>
      <title>Баг в {{list:separator}}?</title>   <link>http://limb-project.com/forum/viewtopic.php?p=11859#11859</link>
   <description>
   Баг в {{list:separator}}?   </description>
   <content:encoded><![CDATA[
        [code:1:f1697ded57]  function testIndependentGlue&#40;&#41;
  &#123;
    $list = '&#123;&#123;list using=&quot;$#list&quot; as=&quot;$item&quot;&#125;&#125;List#'.
            '&#123;&#123;list&#58;item&#125;&#125;&lt;?=$item?&gt;' .
            '&#123;&#123;list&#58;glue step=&quot;2&quot; independent=&quot;true&quot;&#125;&#125;&#58;&#123;&#123;/list&#58;glue&#125;&#125;'.
            '&#123;&#123;list&#58;glue step=&quot;3&quot;&#125;&#125;|&#123;&#123;/list&#58;glue&#125;&#125;'.
            '&#123;&#123;/list&#58;item&#125;&#125;!'.
            '&#123;&#123;/list&#125;&#125;';

    $list_tpl = $this-&gt;_createTemplate&#40;$list, 'list.html'&#41;;

    $macro = $this-&gt;_createMacro&#40;$list_tpl&#41;;
    $macro-&gt;set&#40;'list', array&#40;'John', 'Pavel', 'Peter', 'Harry', 'Roman', 'Sergey', 'Alex', 'Vlad'&#41;&#41;;

    $this-&gt;assertEqual&#40;$macro-&gt;render&#40;&#41;, 'List#JohnPavel&#58;Peter|Harry&#58;RomanSergey&#58;|AlexVlad!'&#41;;
  &#125;[/code:1:f1697ded57]        <br>Posted by
                <a href='http://limb-project.com/forum/profile.php?mode=viewprofile&amp;u=7'>serega</a>        (Replies: 10|Views: 176)
   ]]></content:encoded>
   <pubDate>
    Mon, 13 May 2008 10:41:15   </pubDate>
  </item>
    <item>
      <title>Маленький вопрс</title>   <link>http://limb-project.com/forum/viewtopic.php?p=11857#11857</link>
   <description>
   Маленький вопрс   </description>
   <content:encoded><![CDATA[
        Значит хостер чето намудачил...        <br>Posted by
                <a href='http://limb-project.com/forum/profile.php?mode=viewprofile&amp;u=2470'>vasiatka</a>        (Replies: 2|Views: 47)
   ]]></content:encoded>
   <pubDate>
    Sun, 12 May 2008 23:28:58   </pubDate>
  </item>
    <item>
      <title>404 not_found</title>   <link>http://limb-project.com/forum/viewtopic.php?p=11839#11839</link>
   <description>
   404 not_found   </description>
   <content:encoded><![CDATA[
        [quote:dbba65a36d="conf"]
Можно было бы еще подискутировать на эту тему, но лучше не здесь, а в отдельном топике ;). Если желания обсуждать нет - ладно, замнем.[/quote:dbba65a36d]

Ну ты заведи отдельную тему с аргументами  :D        <br>Posted by
                <a href='http://limb-project.com/forum/profile.php?mode=viewprofile&amp;u=5'>pachanga</a>        (Replies: 13|Views: 177)
   ]]></content:encoded>
   <pubDate>
    Sun, 12 May 2008 13:31:43   </pubDate>
  </item>
  
</channel>
</rss>