<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8121401238690801933</id><updated>2011-12-21T13:23:55.320+01:00</updated><category term='yui'/><category term='5.3'/><category term='symfony'/><category term='javascript'/><category term='plugins'/><category term='php'/><category term='Datastructures'/><category term='tutorial'/><title type='text'>Cologne Web Working</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://colognewebworking.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8121401238690801933/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://colognewebworking.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>denderello</name><uri>http://www.blogger.com/profile/01565554669945153691</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_8-5pTLOi9WM/SV0AKbQRgKI/AAAAAAAAAAM/LE8fRq3S8YI/S220/SD532337.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8121401238690801933.post-5213573073415386424</id><published>2009-01-01T22:47:00.003+01:00</published><updated>2009-01-01T23:23:01.310+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='symfony'/><category scheme='http://www.blogger.com/atom/ns#' term='Datastructures'/><category scheme='http://www.blogger.com/atom/ns#' term='5.3'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>PHP 5.3 Data Structures - A chance for web frameworks</title><content type='html'>A few days ago Johannes Schlüter did a &lt;a href="http://schlueters.de/blog/archives/90-Data-structures-in-PHP-5.3.html"&gt;blogpost&lt;/a&gt; about &lt;a href="http://www.php.net/manual/en/spl.datastructures.php"&gt;Datastructures&lt;/a&gt; which will be introduced in PHP5.3 via the SPL extension. He also talks about the new type &lt;span style="font-style: italic;"&gt;SplFixedArray&lt;/span&gt; which only uses numeric indexes. Web Frameworks like symfony can benefit from Datastructures because in many places of the code arrays are used to organize information. These informations (like routing tables, class path tables, etc.) can be stored in types that fit to the needs of the information structure which gives a wanted limitation in my opinion. But more important is the boost in performance because these types are developed in C and not in userland code. Also these new types only have to care about what they are intended to do. As an example &lt;span style="font-style: italic;"&gt;SplFixedArray&lt;/span&gt; can work much faster because it only has to care about indexes as numerics. Maybe the core team will use these new types and we'll see them in one of the coming versions of symfony or another Web Framework.&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8121401238690801933-5213573073415386424?l=colognewebworking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://colognewebworking.blogspot.com/feeds/5213573073415386424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://colognewebworking.blogspot.com/2009/01/php-53-data-structures-chance-for-web.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8121401238690801933/posts/default/5213573073415386424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8121401238690801933/posts/default/5213573073415386424'/><link rel='alternate' type='text/html' href='http://colognewebworking.blogspot.com/2009/01/php-53-data-structures-chance-for-web.html' title='PHP 5.3 Data Structures - A chance for web frameworks'/><author><name>denderello</name><uri>http://www.blogger.com/profile/01565554669945153691</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_8-5pTLOi9WM/SV0AKbQRgKI/AAAAAAAAAAM/LE8fRq3S8YI/S220/SD532337.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8121401238690801933.post-6174845906714650727</id><published>2009-01-01T17:12:00.003+01:00</published><updated>2009-01-01T18:22:25.238+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='symfony'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='yui'/><category scheme='http://www.blogger.com/atom/ns#' term='plugins'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Using YUI with symfony 1.2 - Part 1</title><content type='html'>In this series of tutorials i will describe the features of the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;ysfYUIPlugin&lt;/span&gt; which adds &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;YUI&lt;/span&gt; support to your &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;symfony&lt;/span&gt; applications. Today i will just install the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;plugin&lt;/span&gt; and give you the chance to play around with the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;plugin&lt;/span&gt; after that. In the following tutorials i will show you the features of the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;plugin&lt;/span&gt; and how you can speed up your javascript development using it.  &lt;br /&gt;&lt;br /&gt;If you are using &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;symfony&lt;/span&gt; and want to add &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;js&lt;/span&gt; functionality to your website you have the choice of a large number of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;js&lt;/span&gt; frameworks. My framework of choice is nearly always the &lt;a href="http://developer.yahoo.com/yui/"&gt;Yahoo! User Interface Library&lt;/a&gt; which is - thanks to &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;Dustin&lt;/span&gt; Whittle - available as a &lt;a href="http://www.symfony-project.org/plugins/ysfYUIPlugin"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;plugin&lt;/span&gt;&lt;/a&gt; in &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;symfony&lt;/span&gt; 1.1 and 1.2. Using this &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;plugin&lt;/span&gt; you can easily use the complete library of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;YUI&lt;/span&gt; plus some cool &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;symfony&lt;/span&gt; helpers to speed up your development.&lt;br /&gt;&lt;br /&gt;To install the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;plugin&lt;/span&gt; you can check out a copy from &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;symfonys&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;plugin&lt;/span&gt; repository or include it to your &lt;span style="font-style: italic;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;svn&lt;/span&gt;:externals&lt;/span&gt; to the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;plugins&lt;/span&gt; directory&lt;br /&gt;&lt;blockquote&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;svn&lt;/span&gt; co http://svn.symfony-project.com/plugins/ysfYUIPlugin/branches/1.2 /path/to/project/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;plugins&lt;/span&gt;/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;ysfYUIPlugin&lt;/span&gt;&lt;/blockquote&gt;After you checked out the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;plugin&lt;/span&gt; create a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;symlink&lt;/span&gt; at &lt;span style="font-style: italic;"&gt;web/static/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;ysf&lt;/span&gt;&lt;/span&gt; that points to &lt;span style="font-style: italic;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;plugins&lt;/span&gt;/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;ysfYUIPlugin&lt;/span&gt;/web/static&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Next add the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_28"&gt;YUI&lt;/span&gt; helper to you &lt;span style="font-style: italic;"&gt;settings.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;yml&lt;/span&gt;&lt;/span&gt;:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;span style="font-family: trebuchet ms;"&gt;    all:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        # Helpers included in all templates by default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;        standard_helpers:       [Partial, Cache, I18N, Form, &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_30"&gt;YUI&lt;/span&gt;]&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;Now you're ready to use the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_31"&gt;plugin&lt;/span&gt; and you can play around with it until the next tutorial will be published. In the next tutorial i will cover the use of the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_32"&gt;ysfYUIPlugin&lt;/span&gt; Web Debug Toolbar.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8121401238690801933-6174845906714650727?l=colognewebworking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://colognewebworking.blogspot.com/feeds/6174845906714650727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://colognewebworking.blogspot.com/2009/01/using-yui-with-symfony-12-part-1.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8121401238690801933/posts/default/6174845906714650727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8121401238690801933/posts/default/6174845906714650727'/><link rel='alternate' type='text/html' href='http://colognewebworking.blogspot.com/2009/01/using-yui-with-symfony-12-part-1.html' title='Using YUI with symfony 1.2 - Part 1'/><author><name>denderello</name><uri>http://www.blogger.com/profile/01565554669945153691</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_8-5pTLOi9WM/SV0AKbQRgKI/AAAAAAAAAAM/LE8fRq3S8YI/S220/SD532337.JPG'/></author><thr:total>1</thr:total></entry></feed>
