<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5.2" -->
<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>Alexander Blanc on social software, PHP, some Ruby, MMS, online-communities and more</title>
	<link>http://www.allrollover.co.uk/alexander</link>
	<description>Social software, Development, PHP, Rants and Raves. You get the idea...</description>
	<pubDate>Fri, 30 Jun 2006 22:05:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.2</generator>
	<language>en</language>

		<item>
		<title>PHP code to split a string into a list of tags</title>
		<link>http://www.allrollover.co.uk/alexander/2006/02/13/php-code-to-split-a-string-into-a-list-of-tags/</link>
		<comments>http://www.allrollover.co.uk/alexander/2006/02/13/php-code-to-split-a-string-into-a-list-of-tags/#comments</comments>
		<pubDate>Mon, 13 Feb 2006 01:19:40 +0000</pubDate>
		<dc:creator>Alexander</dc:creator>
		
	<category>PHP</category>
		<guid>http://www.allrollover.co.uk/alexander/2006/02/13/php-code-to-split-a-string-into-a-list-of-tags/</guid>
		<description><![CDATA[	I wrote this code for a project I have been working on and figured it might be useful for others. The function splits a string into tags (i.e. the sort that can be attached to blog posts or social bookmarks etc.)
	Tags are written as a comma seperated list, can have multiple words and contain commas [...]]]></description>
			<content:encoded><![CDATA[	<p>I wrote this code for a project I have been working on and figured it might be useful for others. The function splits a string into tags (i.e. the sort that can be attached to blog posts or social bookmarks etc.)</p>
	<p>Tags are written as a comma seperated list, can have multiple words and contain commas if encapsulated by double quotes. Hope someone finds it useful!</p>
	<pre>< ?php
    function explodeTagString ($subject)
    {
        // split the string, populates the $tags array
        preg_match_all('/[^,]*\".*\"|[^,]\s*[^,]+\s*[^,]/',
            $subject, $tags);
	
        // loop through $tags and trims spaces and double
        // quote (\") chars this is a bit of a hack (I am
        // sure it could be built into the regex above).
        foreach ($tags[0] as $k=>$t) {
            $tags[$k] = trim($t, &#8216;&#8221; &#8216;);
        }
	
        return $tags;
    }
	
    // A little test case
    $test_tag_string = &#8216;test tag, &#8220;x, y and z&#8221;, foo, bar&#8217;;
    $tags = explodeTagString($test_tag_string);
    print_r($tags);
    /*
        Should output:
        Array
        (
            [0] => test tag
            [1] => x, y and z
            [2] => foo
            [3] => bar
        )
    /*
?></pre>
]]></content:encoded>
			<wfw:commentRSS>http://www.allrollover.co.uk/alexander/2006/02/13/php-code-to-split-a-string-into-a-list-of-tags/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Blog comments</title>
		<link>http://www.allrollover.co.uk/alexander/2006/02/12/blog-comments/</link>
		<comments>http://www.allrollover.co.uk/alexander/2006/02/12/blog-comments/#comments</comments>
		<pubDate>Sun, 12 Feb 2006 01:14:45 +0000</pubDate>
		<dc:creator>Alexander</dc:creator>
		
	<category>General</category>
		<guid>http://www.allrollover.co.uk/alexander/2006/02/12/blog-comments/</guid>
		<description><![CDATA[	I will be sorting out the &#8216;post a comment&#8217; function very soon (basically when I get around to downloading and installing something to deal with spam.) Please bear with me!

]]></description>
			<content:encoded><![CDATA[	<p>I will be sorting out the &#8216;post a comment&#8217; function very soon (basically when I get around to downloading and installing something to deal with spam.) Please bear with me!
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.allrollover.co.uk/alexander/2006/02/12/blog-comments/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>MVC model (and ORM) frameworks in PHP</title>
		<link>http://www.allrollover.co.uk/alexander/2006/02/09/mvc-model-and-orm-frameworks-in-php/</link>
		<comments>http://www.allrollover.co.uk/alexander/2006/02/09/mvc-model-and-orm-frameworks-in-php/#comments</comments>
		<pubDate>Wed, 08 Feb 2006 23:00:33 +0000</pubDate>
		<dc:creator>Alexander</dc:creator>
		
	<category>General</category>
	<category>Software development</category>
	<category>PHP</category>
		<guid>http://www.allrollover.co.uk/alexander/2006/02/09/mvc-model-and-orm-frameworks-in-php/</guid>
		<description><![CDATA[	I have been researching several MVC frameworks (in particular the Model components of these packages) as well as some separate ORM libraries for PHP. I have been getting more and more into Ruby on Rails ActiveRecord use, and have been interested to see how PHP libraries compare.
	So far I have looked at Propel, Biscuit, TaniPHP, [...]]]></description>
			<content:encoded><![CDATA[	<p>I have been researching several <a href="http://www.phpwact.org/php/mvc_frameworks">MVC frameworks</a> (in particular the Model components of these packages) as well as some separate ORM libraries for <a href="http://www.php.net">PHP</a>. I have been getting more and more into <a href="www.rubyonrails.org/">Ruby on Rails</a> ActiveRecord use, and have been interested to see how PHP libraries compare.</p>
	<p>So far I have looked at <a href="http://propel.phpdb.org/trac/">Propel</a>, <a href="http://bennolan.com/biscuit/">Biscuit</a>, <a href="http://taniphp.dumitrup.com/">TaniPHP</a>, <a href="http://wasp.sourceforge.net/content/">WASP</a>, <a href="http://www.symfony-project.com/">Symphony</a>, <a href="http://www.cakephp.org/">Cake</a>, <a href="http://www.solarphp.com/home/">Solar</a>, <a href="http://phpontrax.com/">PHP on Trax</a>, <a href="http://www.xisc.com/">Prado</a> and a few more to boot. The truth is, I just cannot find one that ticks all of the boxes for me.</p>
	<p>Many suffer from too little documentation, several seem to be too complicated for their own good, and to be blunt there are just too many separate products trying to be the same thing. Of them all, Biscuit caught my eye but I cannot remember why &#8230; perhaps because I like the name and I wanted a cup of tea by that point.</p>
	<p>I think the problem for me is that most of the frameworks try to follow Rails too closely, and end up suffering as a result. Now - I may well eat those words after some more research - so don’t blow any fuses yet. I will keep the feedback coming as I find out more over the next couple of weeks.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.allrollover.co.uk/alexander/2006/02/09/mvc-model-and-orm-frameworks-in-php/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Web2.0 &#8230; its about money search.</title>
		<link>http://www.allrollover.co.uk/alexander/2006/02/06/web20-its-about-money/</link>
		<comments>http://www.allrollover.co.uk/alexander/2006/02/06/web20-its-about-money/#comments</comments>
		<pubDate>Mon, 06 Feb 2006 15:12:18 +0000</pubDate>
		<dc:creator>Alexander</dc:creator>
		
	<category>General</category>
		<guid>http://www.allrollover.co.uk/alexander/2006/02/06/web20-its-about-money/</guid>
		<description><![CDATA[	Web2.0. I hate the label, but its here to stay (at least for the short term).  What is it all about you ask? Well I guess that depends on who you talk to.
	I would like to think its about accessibility and useful, easy to use standards-based web applications. But I fear its not about [...]]]></description>
			<content:encoded><![CDATA[	<p>Web2.0. I hate the label, but its here to stay (at least for the short term).  What is it all about you ask? Well I guess that depends on who you talk to.</p>
	<p>I would like to think its about accessibility and useful, easy to use standards-based web applications. But I fear its not about that at all. Its actually about search. More specifically its about developers building services with the sole aim of getting bought by <a href="http://www.google.com">Google</a>. Or <a href="http://www.yahoo.com">Yahoo</a>.</p>
	<p>Nifty search and sort algorithms can only do so much, but people can do an awful lot more. People are the sorting algorithms of the future, making meaningful associations between online content. Thats why we are seeing a lot of things like <a href="http://www.squidoo.com">Squidoo</a>, <a href="http://www.rollyo.com">Rollyo</a>, <a href="http://ma.gnolia.com/">ma.gnolia.com</a> and <a href="http://del.icio.us/">del.icio.us</a>: they all ask *you* to layer over and draw themes across otherwise hard to link web content. Enough people put the same content under the same tag, and a pattern emerges. A pattern that the aforementioned search-engine lot will be very keen to get their grubby little mitts on.</p>
	<p>Now, I am not necessarily against this. As long as the applications offer utility and are easy to use then I am all in favor. But what happens when every developer vies for the same space &#8230; not all will survive. Now thats my worry. Whats going to happen when services dissapear (read &#8216;cash runs out&#8217;)? What will happen to my stuff that was in it? Will it be lost? Time will tell.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.allrollover.co.uk/alexander/2006/02/06/web20-its-about-money/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>New projects</title>
		<link>http://www.allrollover.co.uk/alexander/2006/01/26/new-projects/</link>
		<comments>http://www.allrollover.co.uk/alexander/2006/01/26/new-projects/#comments</comments>
		<pubDate>Thu, 26 Jan 2006 19:02:44 +0000</pubDate>
		<dc:creator>Alexander</dc:creator>
		
	<category>General</category>
		<guid>http://www.allrollover.co.uk/alexander/2006/01/26/new-projects/</guid>
		<description><![CDATA[	I have a couple of projects underway at the moment and will be announcing them via the AllRollOver main page very soon.

]]></description>
			<content:encoded><![CDATA[	<p>I have a couple of projects underway at the moment and will be announcing them via the AllRollOver main page very soon.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.allrollover.co.uk/alexander/2006/01/26/new-projects/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Flash: cross domain security breech?</title>
		<link>http://www.allrollover.co.uk/alexander/2006/01/26/flash-cross-domain-security-breech/</link>
		<comments>http://www.allrollover.co.uk/alexander/2006/01/26/flash-cross-domain-security-breech/#comments</comments>
		<pubDate>Thu, 26 Jan 2006 18:52:28 +0000</pubDate>
		<dc:creator>Alexander</dc:creator>
		
	<category>General</category>
		<guid>http://www.allrollover.co.uk/alexander/2006/01/26/flash-cross-domain-security-breech/</guid>
		<description><![CDATA[	I have been looking into cross-site identity - being able to move from one domain to the next yet being recognised at each without having to sign in. This kind of thing is pretty much impossible to do via your typical web-browser due to the domain-security model that has now been pretty-much universally implemented. In [...]]]></description>
			<content:encoded><![CDATA[	<p>I have been looking into cross-site identity - being able to move from one domain to the next yet being recognised at each without having to sign in. This kind of thing is pretty much impossible to do via your typical web-browser due to the domain-security model that has now been pretty-much universally implemented. In particular this model stops cookies from being shared across domains, as well as stopping any tom-foolery with javascript and cross-(i)frame scripting (for example having a frameset open with two web documents from different domains exchanging data).</p>
	<p>While thinking about it I had a brain-wave. I can think of a way of doing it. But I dont know if I should be able to do it. What I mean is, I could well be exploiting an oversight hitherto undetected by browser developers. Or maybe its not their bug. Maybe its Macromedia&#8217;s. The solution relies on Flash.</p>
	<p>You see, as of version 6, it has been possible to persistently store data locally on the client machine via Flash ActionScript. That data is linked to the domain of the movie: only other movies&#8217; from that domain can re-access it. So it is kind of sand-boxed.</p>
	<p>But, I wondered, what if a Flash movie from example1.com was embedded in web pages at example2.com and example3.com (just like a lot of those Flash adverts you see). As expected the movie from example1.com still has access to data from that domain. Now, realise that Flash movies can be accessed via Javascript. It would be possible to have a callable &#8216;getData&#8217; and &#8217;setData&#8217; function. Kind of like a &#8217;stealth Flash cookie&#8217;.</p>
	<p>Now, this only works if both sites embed the Flash file served from the same location. But its still kind of scary. Many many people (I dont have the figures) have Flash 6+ installed. Many will have Javascript enabled. As far as I can see, there is no indication to the User that local storage of variables is occurring. Who knows if this is happening already&#8230;
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.allrollover.co.uk/alexander/2006/01/26/flash-cross-domain-security-breech/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Blog tools</title>
		<link>http://www.allrollover.co.uk/alexander/2005/11/12/blog-tools/</link>
		<comments>http://www.allrollover.co.uk/alexander/2005/11/12/blog-tools/#comments</comments>
		<pubDate>Fri, 11 Nov 2005 23:29:29 +0000</pubDate>
		<dc:creator>Alexander</dc:creator>
		
	<category>General</category>
		<guid>http://www.allrollover.co.uk/alexander/2005/11/12/blog-tools/</guid>
		<description><![CDATA[	For quite some time now (for several years in fact) I have been building online-community software. Recently however I have felt the need to stop and step back from it all and look afresh at what has been built and what is being requested. I wonder if I have been traveling in the wrong direction&#8230;
	It [...]]]></description>
			<content:encoded><![CDATA[	<p>For quite some time now (for several years in fact) I have been building online-community software. Recently however I have felt the need to stop and step back from it all and look afresh at what has been built and what is being requested. I wonder if I have been traveling in the wrong direction&#8230;</p>
	<p>It strikes me that users are forever asked to come to our community-spaces, to learn how to use yet another set of tools and rules. But why? Look at the take up of blog software. Why are we not building tools to integrate into these environments, these places where people already feel safe, feel in control and are more likely to invest time in? Why generate yet another online identity for someone who is already investing a lot of time in an existing online persona?</p>
	<p>I guess where I am heading is to suggest that those tools that I would have built into the next online community platform should instead be developed as plug-ins to blog software instead. Perhaps the place to start with this will be to define an underlying API on which such tools can rely.</p>
	<p>More on this to come&#8230;
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.allrollover.co.uk/alexander/2005/11/12/blog-tools/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>iWebr 2.0 beta?</title>
		<link>http://www.allrollover.co.uk/alexander/2005/10/28/iwebr-20-beta/</link>
		<comments>http://www.allrollover.co.uk/alexander/2005/10/28/iwebr-20-beta/#comments</comments>
		<pubDate>Fri, 28 Oct 2005 15:55:09 +0000</pubDate>
		<dc:creator>Alexander</dc:creator>
		
	<category>General</category>
		<guid>http://www.allrollover.co.uk/alexander/2005/10/28/iwebr-20-beta/</guid>
		<description><![CDATA[	Why are there so many beta web-apps out there? Does nobody finish their software these days? Or is it an excuse if everything goes wrong? It bugs me almost as much as &#8216;web 2.0&#8242;, and things prefixed with &#8216;i&#8217; or suffixed with &#8216;r&#8217; for no good reason.

]]></description>
			<content:encoded><![CDATA[	<p>Why are there so many beta web-apps out there? Does nobody finish their software these days? Or is it an excuse if everything goes wrong? It bugs me almost as much as &#8216;web 2.0&#8242;, and things prefixed with &#8216;i&#8217; or suffixed with &#8216;r&#8217; for no good reason.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.allrollover.co.uk/alexander/2005/10/28/iwebr-20-beta/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Tool of choice</title>
		<link>http://www.allrollover.co.uk/alexander/2005/10/28/tool-of-choice/</link>
		<comments>http://www.allrollover.co.uk/alexander/2005/10/28/tool-of-choice/#comments</comments>
		<pubDate>Fri, 28 Oct 2005 13:32:40 +0000</pubDate>
		<dc:creator>Alexander</dc:creator>
		
	<category>General</category>
		<guid>http://www.allrollover.co.uk/alexander/2005/10/28/tool-of-choice/</guid>
		<description><![CDATA[	Everybody has to start somewhere, and I guess for me its this place. I have chosen to go with the WordPress blog software for the moment in very much in a suck-it-and-see kind of way. I have gotta say, I am impressed with it so far. But then, I have not really traveled very far [...]]]></description>
			<content:encoded><![CDATA[	<p>Everybody has to start somewhere, and I guess for me its this place. I have chosen to go with the WordPress blog software for the moment in very much in a suck-it-and-see kind of way. I have gotta say, I am impressed with it so far. But then, I have not really traveled very far in it yet have I.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.allrollover.co.uk/alexander/2005/10/28/tool-of-choice/feed/</wfw:commentRSS>
	</item>
	</channel>
</rss>
