<?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>В гостях у Феникса - Комментарии</title>
    <link>http://www.fiery-fenix.kiev.ua/</link>
    <description>В гостях у Феникса - Мой персональный кусок интернета ;)</description>
    <dc:language>ru</dc:language>
    <generator>Serendipity 1.7-alpha1 - http://www.s9y.org/</generator>
    <pubDate>Thu, 01 Jan 1970 00:00:00 GMT</pubDate>

    <image>
        <url>http://www.fiery-fenix.kiev.ua/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: В гостях у Феникса - Комментарии - В гостях у Феникса - Мой персональный кусок интернета ;)</title>
        <link>http://www.fiery-fenix.kiev.ua/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Oleg: Обновление FreeBSD с 6.2 до 7.0 RELEASE</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/26-Obnovlenie_FreeBSD_s_6.2_do_7.0_RELEASE.html#c130</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/26-Obnovlenie_FreeBSD_s_6.2_do_7.0_RELEASE.html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=26</wfw:comment>

    

    <author>nospam@example.com (Oleg)</author>
    <content:encoded>
    Везде пишут обновляться через cvsup, а как через cvsup если система голая, csup реально выручает! 
    </content:encoded>

    <pubDate>Wed, 29 Jun 2011 19:27:26 +0300</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/26-guid.html#c130</guid>
    
</item>
<item>
    <title>Луня: Совы, жаворонки, голуби и прочие пернатые и не очень</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/20-Sovy,_Zhavoronki,_golubi_i_prochie_pernatye_i_ne_ochen.html#c129</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/20-Sovy,_Zhavoronki,_golubi_i_prochie_pernatye_i_ne_ochen.html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=20</wfw:comment>

    

    <author>nospam@example.com (Луня)</author>
    <content:encoded>
    Я- сова, живу в семье жаворонков: муж, его родители. Они недоумевают, как можно так  долго спать? Когда я встаю, они демонстративно смотрят на часы, заставляют меня завтракать сразу- а я не хочу, отказываюсь. Они опять в шоке, еще подкалывают - думают я обижусь! А мне смешно, а они ведь не могут себе позволить лечь в 2.30 ночи, и проснуться в 13.00. А мои жаворонки прямо меня бесят(кроме мужа) им в диковинку такая сноха, еще и шумят специально когда я сплю! Задевает их мой здоровый сон! Совы, спите на здоровье, и не равняйтесь на жаворонков! 
    </content:encoded>

    <pubDate>Tue, 14 Jun 2011 23:40:41 +0300</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/20-guid.html#c129</guid>
    
</item>
<item>
    <title>Fenix: Паттерны проектирования в PHP5. Часть 1. Синглтон.</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#c128</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=14</wfw:comment>

    

    <author>nospam@example.com (Fenix)</author>
    <content:encoded>
    Спасибо за ссылку, отличная реализация синглтона, финт ушами через Reflection понравился &lt;img src=&quot;http://www.fiery-fenix.kiev.ua/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Thu, 02 Jun 2011 10:45:37 +0300</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/14-guid.html#c128</guid>
    
</item>
<item>
    <title>Николай: Паттерны проектирования в PHP5. Часть 1. Синглтон.</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#c127</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=14</wfw:comment>

    

    <author>nospam@example.com (Николай)</author>
    <content:encoded>
    http://alexeevdv.ru/php-shablon-proektirovaniya-singletone/ вот тут хорошо описан шаблон singletone. К тому же в этой реализации его можно наследовать и расширять 
    </content:encoded>

    <pubDate>Thu, 02 Jun 2011 04:57:39 +0300</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/14-guid.html#c127</guid>
    
</item>
<item>
    <title>Олег: Паттерны проектирования в PHP5. Часть 1. Синглтон.</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#c126</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=14</wfw:comment>

    

    <author>nospam@example.com (Олег)</author>
    <content:encoded>
    А как же закрыть мето __clone()? 
    </content:encoded>

    <pubDate>Tue, 24 May 2011 03:00:39 +0300</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/14-guid.html#c126</guid>
    
</item>
<item>
    <title>аноним: Не понимаю</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/42-Ne_ponimaju.html#c125</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/42-Ne_ponimaju.html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=42</wfw:comment>

    

    <author>nospam@example.com (аноним)</author>
    <content:encoded>
    Да мужикам по барабану на все эти платья и застолья, да и как клоун ряженый изображать вроде как на своей свадьбе притворное веселье никто не хочет, но попробуй это объяснить второй половинке - женщины друг перед дружкой выпендриваются и тут уже начинается что без платья на заказ за 60к ни как, хотя в другом магазине есть такое же с виду за 20к одинаковая тюль собрана в юбку, но нет чем дороже тем больше пыли пустить. И все попытки вразумить и оперирование логикой и любовью до них не доходят. Главное это удивить подружек. 
    </content:encoded>

    <pubDate>Tue, 03 May 2011 09:26:12 +0300</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/42-guid.html#c125</guid>
    
</item>
<item>
    <title>Fenix: Паттерны проектирования в PHP5. Часть 1. Синглтон.</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#c124</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=14</wfw:comment>

    

    <author>nospam@example.com (Fenix)</author>
    <content:encoded>
    Ну для начала не __clon(), а __clone(), и не protected, а public &lt;img src=&quot;http://www.fiery-fenix.kiev.ua/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;
В книжке &quot;банды четырех&quot; изначально не было реализации копирования объекта синглтона, но идея интересная. Хотя я пока не могу придумать как это использовать. 
    </content:encoded>

    <pubDate>Thu, 17 Mar 2011 16:30:47 +0200</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/14-guid.html#c124</guid>
    
</item>
<item>
    <title>Alexander Shushunov: Паттерны проектирования в PHP5. Часть 1. Синглтон.</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#c123</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=14</wfw:comment>

    

    <author>nospam@example.com (Alexander Shushunov)</author>
    <content:encoded>
    Здесь не хватает protected function __clon() {} 
    </content:encoded>

    <pubDate>Thu, 17 Mar 2011 12:22:54 +0200</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/14-guid.html#c123</guid>
    
</item>
<item>
    <title>Fenix: Заметки по поводу оптимизации скриптов на PHP</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/12-Zametki_po_povodu_optimizacii_skriptov_na_PHP.html#c110</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/12-Zametki_po_povodu_optimizacii_skriptov_na_PHP.html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=12</wfw:comment>

    

    <author>nospam@example.com (Fenix)</author>
    <content:encoded>
    Упс, опечаточка вышла. Естественно имелась ввиду функция array_key_exists. Исправил, спасибо. 
    </content:encoded>

    <pubDate>Fri, 17 Dec 2010 12:47:32 +0200</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/12-guid.html#c110</guid>
    
</item>
<item>
    <title>Дмитрий: Заметки по поводу оптимизации скриптов на PHP</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/12-Zametki_po_povodu_optimizacii_skriptov_na_PHP.html#c109</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/12-Zametki_po_povodu_optimizacii_skriptov_na_PHP.html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=12</wfw:comment>

    

    <author>nospam@example.com (Дмитрий)</author>
    <content:encoded>
    Что-то я по поводу in_array() не понял.
При помощи этой ф-ции мы проверяем наличие значения в массиве, но ни как не ключ. 
    </content:encoded>

    <pubDate>Fri, 17 Dec 2010 11:53:01 +0200</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/12-guid.html#c109</guid>
    
</item>
<item>
    <title>Fenix: Паттерны проектирования в PHP5. Часть 1. Синглтон.</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#c105</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=14</wfw:comment>

    

    <author>nospam@example.com (Fenix)</author>
    <content:encoded>
    Примеры &quot;более практичных вариантов&quot; в студию &lt;img src=&quot;http://www.fiery-fenix.kiev.ua/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; Только с одним условием - паттерн синглтон должен остаться паттерном синглтон. 
PS Про паттерны вида Registry, IoC и т.д., которые могут заменить синглтон, я в курсе &lt;img src=&quot;http://www.fiery-fenix.kiev.ua/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Thu, 14 Oct 2010 17:44:57 +0300</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/14-guid.html#c105</guid>
    
</item>
<item>
    <title>11: Паттерны проектирования в PHP5. Часть 1. Синглтон.</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#c104</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=14</wfw:comment>

    

    <author>nospam@example.com (11)</author>
    <content:encoded>
    Есть более практичные варианты создания патерна синглтон. Мне кажется что автор просто не понял сути патерна. 
    </content:encoded>

    <pubDate>Thu, 14 Oct 2010 13:06:07 +0300</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/14-guid.html#c104</guid>
    
</item>
<item>
    <title>Fenix: Не понимаю</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/42-Ne_ponimaju.html#c103</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/42-Ne_ponimaju.html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=42</wfw:comment>

    

    <author>nospam@example.com (Fenix)</author>
    <content:encoded>
    Почти попали &lt;img src=&quot;http://www.fiery-fenix.kiev.ua/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; Помимо гика еще и жесткий логик, без логической последовательности и вылетают вот такие непонятки &lt;img src=&quot;http://www.fiery-fenix.kiev.ua/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Wed, 06 Oct 2010 17:06:19 +0300</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/42-guid.html#c103</guid>
    
</item>
<item>
    <title>Fenix: Паттерны проектирования в PHP5. Часть 1. Синглтон.</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#c102</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=14</wfw:comment>

    

    <author>nospam@example.com (Fenix)</author>
    <content:encoded>
    Вы не поняли суть недостатка. 
В unit-тестировании необходимо заменять некоторые классы их mock-прототипами для изолированного тестирования определенного функционала.
В случае синглтона, его вызов жестко прописан в коде других классов/файлов, в результате его подмена несколько затруднительна и требует определенных плясок с бубном. И область видимости метода тут абсолютно не при чем. 
    </content:encoded>

    <pubDate>Wed, 06 Oct 2010 17:03:56 +0300</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/14-guid.html#c102</guid>
    
</item>
<item>
    <title>Santhony: Паттерны проектирования в PHP5. Часть 1. Синглтон.</title>
    <link>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#c101</link>
            <category></category>
    
    <comments>http://www.fiery-fenix.kiev.ua/archives/14-Patterny_proektirovaniJa_v_PHP5._Chast_1._Singlton..html#comments</comments>
    <wfw:comment>http://www.fiery-fenix.kiev.ua/wfwcomment.php?cid=14</wfw:comment>

    

    <author>nospam@example.com (Santhony)</author>
    <content:encoded>
    Про недостатки вы не правы. Если объявить метод как static private то он будет вызываться замечательно только внутри класса 
    </content:encoded>

    <pubDate>Wed, 06 Oct 2010 14:41:42 +0300</pubDate>
    <guid isPermaLink="false">http://www.fiery-fenix.kiev.ua/archives/14-guid.html#c101</guid>
    
</item>

</channel>
</rss>
