<?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/"
    xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" >
<channel>
    
    <title>Bananas Development Blog - ZendFramework</title>
    <link>http://blog.bananas-playground.net/</link>
    <description>share your thoughts</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.6 - http://www.s9y.org/</generator>
    <pubDate>Thu, 04 Nov 2010 11:27:58 GMT</pubDate>

    <image>
        <url>http://blog.bananas-playground.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Bananas Development Blog - ZendFramework - share your thoughts</title>
        <link>http://blog.bananas-playground.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Twitter und Zend_Oauth</title>
    <link>http://blog.bananas-playground.net/archives/584-Twitter-und-Zend_Oauth.html</link>
            <category>ZendFramework</category>
    
    <comments>http://blog.bananas-playground.net/archives/584-Twitter-und-Zend_Oauth.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=584</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=584</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    Wer das schon immer mal probieren wollte oder machen muss, dem sei geholfen:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.joeyrivera.com/2010/twitter-api-oauth-authentication-and-zend_oauth-tutorial/&quot;&gt;Twitter API, OAuth Authentication, and Zend_Oauth Tutorial&lt;/a&gt;&lt;br /&gt;
&lt;blockquote&gt;I recently had to work on a project that required me to interact with the Twitter API. I had done this before so I wasn’t expecting anything different until I remembered that Twitter had changed their API to start using OAuth for authentication. If you are not familiar with OAuth, it’s a secure way of authenticating without requiring a user to submit their username and password to third-parties – you can read more about it at OAuth. There are lots of resources online that talk about this in detail but I wasn’t able to find one that explained the entire process in a way that made sense. Hopefully this post will give you everything you need to get started with the Twitter API. I’m going to go through the steps required to make this work without using the entire zend framework.&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Viel Spass dabei !&lt;br /&gt;
&lt;br /&gt;  
    </content:encoded>

    <pubDate>Thu, 04 Nov 2010 12:27:58 +0100</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/584-guid.html</guid>
    <category>framework</category>
<category>zend</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>ZendFramework, SQL und Segmentation Fault</title>
    <link>http://blog.bananas-playground.net/archives/583-ZendFramework,-SQL-und-Segmentation-Fault.html</link>
            <category>ZendFramework</category>
    
    <comments>http://blog.bananas-playground.net/archives/583-ZendFramework,-SQL-und-Segmentation-Fault.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=583</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=583</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    ZendFramework und lange DB Statements und das Problem mit dem preg_replace.&lt;br /&gt;
&lt;br /&gt;
Das Problem &lt;a href=&quot;http://blog.bananas-playground.net/archives/243-Segmentaion-fault-on-preg_replace-in-Zend_Db_Statement.html&quot;&gt;hatte ich ja schon mal&lt;/a&gt;. Leider ist das in der aktuellen (1.11.0) Version immer noch so. Betrifft alles was länger als ungefähr 3000 Zeichen ist.&lt;br /&gt;
Nun lässt sich das aber nicht so einfach wie damals beheben. &lt;br /&gt;
&lt;br /&gt;
Nach langem Suchen und Versuchen es zu fixen, kam ich zu dieser &lt;a href=&quot;http://framework.zend.com/issues/browse/ZF-8399?focusedCommentId=40593&amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40593&quot;&gt;vermeintlichen Lösung&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;$db-&gt;getConnection()-&gt;query($sql);&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Leider funktionierte das nicht.&lt;br /&gt;
&lt;br /&gt;
Nach ein wenig hin und her viel mir auf, dass dieses Problem nur auftritt wenn es sich im einen INSERT handelt. Nicht aber wenn es ein UPDATE Befehl ist.&lt;br /&gt;
&lt;br /&gt;
Da kam dann der aha Effekt. Ich baute meinen INSERT Befehl einfach um, in dem&lt;br /&gt;
ich nur einen INSERT machte damit ich eine neue ID bekam. Diese konnte ich dann verwenden um die restlichen Daten ab zu speichern.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;$db-&gt;query(INSERT);
$db-&gt;lastInsertId();
$db-&gt;getConnection()-&gt;query(UPDATE);&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Somit lies sich das &quot;Problem&quot; beheben...&lt;br /&gt;
&lt;br /&gt;
Die Bugs die das betrifft sind (unvollständig): &lt;br /&gt;
- &lt;a href=&quot;http://framework.zend.com/issues/browse/ZF-10209&quot;&gt;http://framework.zend.com/issues/browse/ZF-10209&lt;/a&gt;&lt;br /&gt;
- &lt;a href=&quot;http://framework.zend.com/issues/browse/ZF-10248&quot;&gt;http://framework.zend.com/issues/browse/ZF-10248&lt;/a&gt;&lt;br /&gt;
- &lt;a href=&quot;http://framework.zend.com/issues/browse/ZF-5063&quot;&gt;http://framework.zend.com/issues/browse/ZF-5063&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;  
    </content:encoded>

    <pubDate>Wed, 03 Nov 2010 07:17:17 +0100</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/583-guid.html</guid>
    <category>framework</category>
<category>php</category>
<category>zend</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Dependency Tracking (Was braucht meine Software eigentlich ?)</title>
    <link>http://blog.bananas-playground.net/archives/260-Dependency-Tracking-Was-braucht-meine-Software-eigentlich.html</link>
            <category>ZendFramework</category>
    
    <comments>http://blog.bananas-playground.net/archives/260-Dependency-Tracking-Was-braucht-meine-Software-eigentlich.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=260</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=260</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    Man entwickelt software und programmiert so fröhlich vor sich hin, aber an alle Anforderungen denkt man nicht immer.&lt;br /&gt;
&lt;br /&gt;
Nun gibt es was dolles für das &lt;a href=&quot;http://framework.zend.com&quot;&gt;Zend Framework&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://phpimpact.wordpress.com/2009/02/01/zend-framework-automatic-dependency-tracking/&quot;&gt;Zend Framework Automatic Dependency Tracking&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;When you develop or deploy an application, dependency tracking is one of the problems you must solve. Keeping track of dependencies for every application you develop is not an easy task. To solve this problem I’ve created Zend_Debug_Include, a Zend Framework component that supports automatic dependency tracking.&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Kurz zusammengefasst macht die Erweiterung eine Auflistung was alles von ZendFramework benötigt wird.&lt;br /&gt;
&lt;br /&gt;
Banana&lt;br /&gt;
out.  
    </content:encoded>

    <pubDate>Thu, 05 Feb 2009 21:46:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/260-guid.html</guid>
    <category>php</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Zend Framework Architecture</title>
    <link>http://blog.bananas-playground.net/archives/248-Zend-Framework-Architecture.html</link>
            <category>ZendFramework</category>
    
    <comments>http://blog.bananas-playground.net/archives/248-Zend-Framework-Architecture.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=248</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=248</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    Wie sieht den das ZendFramework eigentlich so &quot;innen&quot; den so aus ?&lt;br /&gt;
Wie ist es aufgebaut ?&lt;br /&gt;
&lt;br /&gt;
Dieser Artikel gibt da ein wenig Aufschluss darüber.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Before we begin our exploration of the architecture of the Zend Framework (ZF), it is important to discuss how a typical MVC application is built. Examining and understanding the architecture of an MVC Web application allows you to make more contextually sound choices when building your application.&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://phpimpact.wordpress.com/2008/07/28/zend-framework-architecture/&quot;&gt;Zend Framework Architecture ( PHP::Impact ( [str Blog] ) )&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Banana&lt;br /&gt;
out.  
    </content:encoded>

    <pubDate>Thu, 22 Jan 2009 10:52:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/248-guid.html</guid>
    <category>php</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Segmentaion fault on preg_replace in Zend_Db_Statement</title>
    <link>http://blog.bananas-playground.net/archives/243-Segmentaion-fault-on-preg_replace-in-Zend_Db_Statement.html</link>
            <category>ZendFramework</category>
    
    <comments>http://blog.bananas-playground.net/archives/243-Segmentaion-fault-on-preg_replace-in-Zend_Db_Statement.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=243</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=243</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    So ich mag das ZF da es ja so viele fertige Möglichkeiten bietet.&lt;br /&gt;
&lt;br /&gt;
Aber manchmal habe ich das gefühl das es einfach ein wenig übertreibt.&lt;br /&gt;
&lt;br /&gt;
Bin gerade auf folgenden Bug gestoßen:&lt;br /&gt;
&lt;a href=&quot;http://framework.zend.com/issues/browse/ZF-5063&quot;&gt;Segmentaion fault on preg_replace in Zend_Db_Statement&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Da muss man erster mal darauf kommen. Erster dachte ich es seien irgendwelche Zeichen in der SQL oder so, aber nein es fing ab einer bestimmten SQL länge an.&lt;br /&gt;
Mit Hilfe von ZendStudio und der Debug funktion konnte ich dann das Problem bestimmen.&lt;br /&gt;
&lt;br /&gt;
Es ist die Zeile 187 in der Zend/Db/Statement.php Datei (ZF version 1.7.1).&lt;br /&gt;
Dieser preg_replace fällt da auf die Nase und in der erro log des apache steht nur &quot;[notice] child pid 7426 exit signal Segmentation fault (11)&quot;&lt;br /&gt;
&lt;br /&gt;
Nun ja da es ja schon dieses Bug gibt und bisher keine Lösung musste ich mir selber helfen.&lt;br /&gt;
&lt;br /&gt;
Also habe ich einfach die Zeile 108 in der Zend/Db/Statement.php auskommentiert. Dies ist die Zeile in der das SQL mit der funktioner _parseParameters aufbereitet wird (oder was auch immer.....).&lt;br /&gt;
Bisher ging dann alles gut und auch das SQL machte dann keine Probleme mehr.&lt;br /&gt;
&lt;br /&gt;
So nun geht es weiter.&lt;br /&gt;
&lt;br /&gt;
Banana&lt;br /&gt;
out.  
    </content:encoded>

    <pubDate>Tue, 23 Dec 2008 20:15:28 +0100</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/243-guid.html</guid>
    <category>php</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Zend Framework, Zend_DB und ? in dem SQL</title>
    <link>http://blog.bananas-playground.net/archives/242-Zend-Framework,-Zend_DB-und-in-dem-SQL.html</link>
            <category>ZendFramework</category>
    
    <comments>http://blog.bananas-playground.net/archives/242-Zend-Framework,-Zend_DB-und-in-dem-SQL.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=242</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=242</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    Sollte irgend jemand schon mal den Fehler bekommen haben:&lt;br /&gt;
&lt;pre&gt;Invalid parameter number: no parameters were bound&quot; when using &#039; and ? in where clause&lt;/pre&gt;&lt;br /&gt;
dem kann geholfen werden.&lt;br /&gt;
&lt;br /&gt;
Dazu ist aber folgendes nötig. Man braucht mindestens MySQL 4.1.3 sowie die &lt;a href=&quot;http://de.php.net/manual/en/mysqli.overview.php&quot;&gt;mysqli extension von PHP.&lt;/a&gt; Denn damit sollte der Fehler nicht mehr kommen.&lt;br /&gt;
&lt;br /&gt;
Hat mich schon ne weile genervt, da ich einfach nicht dahinter gekommen bin warum.&lt;br /&gt;
&lt;br /&gt;
Hier ist sogar ein Bug dazu:&lt;br /&gt;
&lt;a href=&quot;http://http://framework.zend.com/issues/browse/ZF-1343&quot;&gt;Invalid parameter number: no parameters were bound&quot; when using &#039; and ? in where clause&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Dazu sollte man beachten, dass die mysqli Extension die bessere Wahl ist, wenn man aktuellere MySQL Datenbanken verwendet.&lt;br /&gt;
&lt;br /&gt;
banana&lt;br /&gt;
out.  
    </content:encoded>

    <pubDate>Tue, 23 Dec 2008 09:57:30 +0100</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/242-guid.html</guid>
    <category>php</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>ZendFramework Laden</title>
    <link>http://blog.bananas-playground.net/archives/66-ZendFramework-Laden.html</link>
            <category>ZendFramework</category>
    
    <comments>http://blog.bananas-playground.net/archives/66-ZendFramework-Laden.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=66</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=66</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    Die &lt;a href=&quot;http://framework.zend.com/manual/en/introduction.installation.html&quot;  title=&quot;Anleitung&quot;&gt;Anleitung&lt;/a&gt; beschreibt zwar die Möglichkeiten wie aber gibt kein eindeutiges Beispiel.&lt;br /&gt;
&lt;br /&gt;
Hier ist wie man das Zend Framwork einbindet.&lt;br /&gt;
&lt;pre&gt;// load the zend Framework
define(&quot;LIB_DIR&quot;,&quot;lib&quot;);
$include_path = get_include_path();
if(!ini_set(&#039;include_path&#039;,$include_path.PATH_SEPARATOR.ABSOLUTE_PATH.LIB_DIR)) {
	die(&#039;Failed to set the include path. Check you php configuration.&#039;);
}&lt;/pre&gt;&lt;br /&gt;
In dem Verzeichnis &quot;lib&quot; liegen bei mir alle bibilotheken die ich so brauche.&lt;br /&gt;
Dabei ist zu beachten, dass das Zend Framework in das &lt;strong&gt;Zend&lt;/strong&gt; Verzeichnis reinkopiert werden muss, da es intern auch diesen Namen verwendet um Dateien einzubinden.&lt;br /&gt;
&lt;br /&gt;
Hier mal die Verzeichnisstrucktur:&lt;br /&gt;
&lt;pre&gt;lib/
lib/Zend
lib/Zend/Acl
lib/Zend/....&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Also muss der include Path um das Verzeichnis &lt;strong&gt;lib&lt;/strong&gt; erweitert werden.&lt;br /&gt;
Die Klassen des Zend Frameworks werden dann mit &lt;br /&gt;
&lt;pre&gt;require_once &#039;Zend/Mail.php&#039;;&lt;/pre&gt;&lt;br /&gt;
geladen.  
    </content:encoded>

    <pubDate>Mon, 29 Oct 2007 10:24:47 +0100</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/66-guid.html</guid>
    <category>framework</category>
<category>php</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Zend Framework Tutorial</title>
    <link>http://blog.bananas-playground.net/archives/61-Zend-Framework-Tutorial.html</link>
            <category>ZendFramework</category>
    
    <comments>http://blog.bananas-playground.net/archives/61-Zend-Framework-Tutorial.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=61</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=61</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    Hier mal ein deutsches Tutorial zu Zend Framework:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.ralfeggert.de/zend-framework-tutorial/&quot;  title=&quot;Zend Framework Tutorial&quot;&gt;Zend Framework Tutorial&lt;/a&gt;  
    </content:encoded>

    <pubDate>Mon, 22 Oct 2007 14:57:09 +0200</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/61-guid.html</guid>
    <category>framework</category>
<category>php</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Zend Framework</title>
    <link>http://blog.bananas-playground.net/archives/60-Zend-Framework.html</link>
            <category>ZendFramework</category>
    
    <comments>http://blog.bananas-playground.net/archives/60-Zend-Framework.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=60</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=60</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    Nun nach dem ich lange mit dem XP-Framework rum gemacht habe und nicht sehr zufrieden bin damit, werde ich mich mal in das &lt;a href=&quot;http://framework.zend.com/&quot;  title=&quot;Zend Framework&quot;&gt;Zend Framework&lt;/a&gt; einarbeiten.&lt;br /&gt;
&lt;br /&gt;
Bisher finde ich das alles ganz gut und es ist auch gut dokumentiert.&lt;br /&gt;
&lt;br /&gt;
Download und Dokumentation:&lt;br /&gt;
&lt;a href=&quot;http://framework.zend.com/&quot;  title=&quot;Zend Framework&quot;&gt;Zend Framework&lt;/a&gt;  
    </content:encoded>

    <pubDate>Fri, 12 Oct 2007 09:15:53 +0200</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/60-guid.html</guid>
    <category>framework</category>
<category>php</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>

</channel>
</rss>