<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>La Distribution Blog</title>
	<atom:link href="http://ladistribution.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://ladistribution.net/blog</link>
	<description>Infrequent news about La Distribution.</description>
	<lastBuildDate>Tue, 26 Jan 2010 11:20:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A new year, a new release</title>
		<link>http://ladistribution.net/blog/2010/01/a-new-year-a-new-release/</link>
		<comments>http://ladistribution.net/blog/2010/01/a-new-year-a-new-release/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 11:10:21 +0000</pubDate>
		<dc:creator>François Hodierne</dc:creator>
				<category><![CDATA[Release]]></category>

		<guid isPermaLink="false">http://ladistribution.net/blog/?p=285</guid>
		<description><![CDATA[Few news from the La Distribution front since our last release, 3 months ago. To be frank, things were a little bit slow lastly!
 In October/November, i was very occupied relocating from Paris to Berlin, and December was all about family and friends. In January, back on track, i didn&#8217;t work on a new major [...]]]></description>
			<content:encoded><![CDATA[<p>Few news from the La Distribution front since <a href="http://ladistribution.net/blog/2009/10/concorde-just-landed/">our last release</a>, 3 months ago. To be frank, things were a little bit slow lastly!</p>
<p><img class="alignright size-medium wp-image-286" title="2148804698_bb67b1928c" src="http://ladistribution.net/blog/wp-content/uploads/2010/01/2148804698_bb67b1928c-250x167.jpg" alt="" width="250" height="167" style="margin-left: 20px; margin-bottom: 25px;" /> In October/November, i was very occupied relocating from Paris to Berlin, and December was all about family and friends. In January, back on track, i didn&#8217;t work on a new major release but small updates on top of <a href="http://ladistribution.net/blog/2009/10/concorde-just-landed/">Concorde</a>: package updates, security, performances, stability.</p>
<p>The name for this release is <a href="http://ladistribution.net/blog/releases/concorde2/">Concorde 2</a> and you&#8217;ll find <a href="http://ladistribution.net/blog/releases/concorde2/">a detailed changelog on an external page</a>.</p>
<p>La Distribution is currently used in production on a few websites, and I&#8217;m learning a lot from this experience. Near all latest improvements come from real world usage and that&#8217;s a terrific thing.</p>
<p>For the future, Concorde will continue to be maintained, and if needed we&#8217;ll release a third version. Also, as soon as possible, we&#8217;ll start working on the next major release.</p>
<p>The focus of this next release is to code what we need to deploy our <a href="http://appslots.com/">appslots.com</a> service, which represents what we think a mainstream hosting provider should be in 2010. To achieve this goal, the main features will be &#8216;multi domains&#8217; support and hackability (through plugins, hooks, filters, &#8230;). Cool uh?</p>
<p>La Distribution is an open project, so feel free to join the fun :-)</p>
<p>Happy New Year !</p>
]]></content:encoded>
			<wfw:commentRss>http://ladistribution.net/blog/2010/01/a-new-year-a-new-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Concorde just landed</title>
		<link>http://ladistribution.net/blog/2009/10/concorde-just-landed/</link>
		<comments>http://ladistribution.net/blog/2009/10/concorde-just-landed/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 12:00:23 +0000</pubDate>
		<dc:creator>François Hodierne</dc:creator>
				<category><![CDATA[Release]]></category>

		<guid isPermaLink="false">http://ladistribution.net/blog/?p=262</guid>
		<description><![CDATA[
Last night, our last release Concorde (aka 0.3-42-3) was pushed to the stable repositories. It&#8217;s now officially available for everyone !
The new features were covered in an earlier blog post, but for the end user, quickly, the 3 most interesting improvements are: Localization (french now available), OpenID (consumer and provider) and UI enhancements.

Upgrade
July release, &#8220;Barbès&#8221;, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-265" style="margin-left:20px;margin-bottom:25px" title="3310143544_779c1d6da5" src="http://ladistribution.net/blog/wp-content/uploads/2009/10/3310143544_779c1d6da5-250x174.jpg" alt="3310143544_779c1d6da5" width="250" height="174" /></p>
<p>Last night, our last release Concorde (aka 0.3-42-3) was pushed to the stable repositories. It&#8217;s now officially available for everyone !</p>
<p>The new features were covered in <a href="http://ladistribution.net/blog/2009/09/upcoming-release-concorde/">an earlier blog post</a>, but for the end user, quickly, the 3 most interesting improvements are: Localization (french now available), OpenID (consumer and provider) and UI enhancements.</p>
<p><span id="more-262"></span></p>
<h3>Upgrade</h3>
<p>July release, &#8220;Barbès&#8221;, is now discontinued and you are encouraged to upgrade as soon as possible.</p>
<p>To upgrade, retrieve the updated <a href="http://ladistribution.net/installer/installer.txt?rev=342" target="_blank">web installer</a>, upload it on your server as installer.php (replace the earlier one if you haven&#8217;t erased it before), then execute it through your web browser. It&#8217;s just that simple!</p>
<h3>Fresh install</h3>
<p>To do a fresh install, retrieve the updated <a href="http://ladistribution.net/installer/installer.txt?rev=342" target="_blank">web installer</a>, upload it on your server as installer.php, then execute it through your web browser. You can find more <a href="http://ladistribution.net/en/wiki/install">detailed instructions</a> on our wiki.</p>
<h3>Sandbox</h3>
<p>Finally, for the lazy guys (yes, you), we just made available a sandbox to quickly test La Distribution.</p>
<p>It&#8217;s available over this URL <a href="http://sandbox.appslots.com/">http://sandbox.appslots.com/</a> with sandbox/sandbox or demo/demo as login/password. Warning, having multiple users playing with it at the same time can result in strange things, and we&#8217;ll reset everything on this install as necessary.</p>
<h3>Thanks!</h3>
<p>Thank specially to this people for their support: <a href="http://twitter.com/juliekitty">julie</a>, <a href="http://twitter.com/srcmax">srcmax</a>, <a href="http://twitter.com/krome">krome</a>, <a href="http://twitter.com/benfle">benfle</a>, <a href="http://twitter.com/abrachet">abrachet</a>, <a href="http://twitter.com/CharlesNepote">CharlesNepote</a>, <a href="http://twitter.com/bblfish">bblfish</a>, <a href="http://twitter.com/karlpro">karlpro</a>, <a href="http://twitter.com/davidbgk">davidbgk</a>, <a href="http://twitter.com/rgaidot">rgaidot</a>, <a href="http://twitter.com/xibe">xibe</a>, <a href="http://twitter.com/greut">greut</a>, <a href="http://twitter.com/sunfox">sunfox</a>. Be sure your feedback is always appreciated!</p>
<p><small><em>Photo: <a href="http://creativecommons.org/licenses/by-nc-nd/2.0/">CC BY-NC-ND</a> DarkB4Dawn <a href="http://www.flickr.com/photos/darkb4dawn/3310143544/">Concorde, Paris</a></em></small></p>
]]></content:encoded>
			<wfw:commentRss>http://ladistribution.net/blog/2009/10/concorde-just-landed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upcoming release: Concorde</title>
		<link>http://ladistribution.net/blog/2009/09/upcoming-release-concorde/</link>
		<comments>http://ladistribution.net/blog/2009/09/upcoming-release-concorde/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 08:02:16 +0000</pubDate>
		<dc:creator>François Hodierne</dc:creator>
				<category><![CDATA[Release]]></category>

		<guid isPermaLink="false">http://ladistribution.net/blog/?p=181</guid>
		<description><![CDATA[
La Distribution current policy is to release a new version every three months. This allow us to regularly showcase our progress, giving opportunity to testers and enthusiasts to submit their feedback and influence the roadmap.
The end of September approaching, it means a new release is coming its way. It will be named Concorde, after the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-232" style="margin:0 0 1em 1.5em" src="http://ladistribution.net/blog/wp-content/uploads/2009/09/concorde_metro_2.jpg" alt="Photography of the Concorde Metro Station" width="225" height="169" /></p>
<p>La Distribution current policy is to release a new version every three months. This allow us to regularly showcase our progress, giving opportunity to testers and enthusiasts to submit their feedback and influence the roadmap.</p>
<p>The end of September approaching, it means a new release is coming its way. It will be named Concorde, after the <a title="Concorde Parisian Metro Station on Wikipedia" href="http://en.wikipedia.org/wiki/Concorde_%28Paris_M%C3%A9tro%29">Parisian Metro Station</a>, no link with a <a title="Concorde Aircraft on Wikipedia" href="http://en.wikipedia.org/wiki/Concorde">defunct aircraft</a> ;-)</p>
<h3>So, what&#8217;s new?</h3>
<p><span id="more-181"></span></p>
<p><strong>Localisation</strong></p>
<p>The localisation strategy is now in place. The first language officially supported is French and everything should be correctly translated <em lang="fr">en français</em>. If not, <a title="Add a bug ticket in La Distribution Trac" href="http://ladistribution.net/trac/newticket">it&#8217;s a bug</a>!</p>
<p>You just have to add the French repository to your Repositories:</p>
<p><img class="border aligncenter size-full wp-image-197" src="http://ladistribution.net/blog/wp-content/uploads/2009/09/Capture-d’écran-2009-09-28-à-18.55.32.png" alt="La Distribution Repositories Screenshot with the new french repository" width="491" height="203" /></p>
<p>Then enable the locale in the Locales panel:</p>
<p><img class="border aligncenter size-full wp-image-202" src="http://ladistribution.net/blog/wp-content/uploads/2009/09/Capture-d’écran-2009-09-28-à-19.00.14.png" alt="La Distribution locales panel with the new choice of french language" width="378" height="75" /></p>
<p><strong>CLI</strong></p>
<p>A good one for advanced users or system administrators, you can now control your La Distribution install from the command line. <a title="La Distribution Command line documentation " href="http://ladistribution.net/trac/wiki/Cli">A detailed documentation</a> is available on Trac.</p>
<p>Here is an example of how to install the command line with SVN:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># Get the LD sources from SVN</span><br />
<span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> http:<span style="color: #000000; font-weight: bold;">//</span>ladistribution.net<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span> ~<span style="color: #000000; font-weight: bold;">/</span>ld<span style="color: #000000; font-weight: bold;">/</span><br />
<br />
<span style="color: #666666; font-style: italic;"># Add temporary the LD bin folder to your path</span><br />
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #007800;">$PATH</span>:~<span style="color: #000000; font-weight: bold;">/</span>ld<span style="color: #000000; font-weight: bold;">/</span>bin</div></div>
<p>And then, we use the new command line to init La Distribution in a new folder and install Wordpress as our first application:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># Create a new folder where you want to install La Distribution</span><br />
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>my-site<span style="color: #000000; font-weight: bold;">/</span><br />
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>my-site<span style="color: #000000; font-weight: bold;">/</span><br />
<br />
<span style="color: #666666; font-style: italic;"># Init La Distribution</span><br />
ladis init<br />
<br />
<span style="color: #666666; font-style: italic;"># Additional setup</span><br />
ladis add-user<br />
ladis add-database<br />
<br />
<span style="color: #666666; font-style: italic;"># Install an application</span><br />
ladis <span style="color: #c20cb9; font-weight: bold;">install</span> wordpress</div></div>
<p><strong>OpenID</strong></p>
<p>The OpenID strategy has slighty changed. Now, applications are encouraged to share the same login interface in which users are being able to login using their standard credentials (login and password) or their OpenID.</p>
<p><img class="aligncenter size-full wp-image-183" src="http://ladistribution.net/blog/wp-content/uploads/2009/09/Capture-d’écran-2009-09-28-à-18.33.38.png" alt="Login form : giving the choice between login and OpenId authentication" width="313" height="211" /></p>
<p>There is also an OpenID provider included by default into La Distribution, you can now log in everywhere with your LD account. How cool is that?</p>
<p><img class="border aligncenter size-full wp-image-208" src="http://ladistribution.net/blog/wp-content/uploads/2009/09/Capture-d’écran-2009-09-28-à-19.05.49.png" alt="OpenId authentication screenshot" width="410" height="185" /></p>
<p><strong>Default application</strong></p>
<p>Now, you can define a default application that will be used as the homepage of your website. A dokuwiki, a wordpress, the administration panel, you choose!</p>
<p><strong>UI Refresh</strong></p>
<p>Covered in <a title="Summer UI Refresh" href="http://ladistribution.net/blog/2009/08/summer-ui-refresh/">a blog post a few weeks ago</a>, the UI had been refreshed to look more polished and professional. Of course, it can still be improved in many aspects, but it&#8217;s an interesting step forward.</p>
<h3>How to install it ?</h3>
<p>The Concorde beta version is currently available through the Edge repositories.</p>
<p>So, to update from Barbès (release from July), you have to change the repositories to:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">http://ladistribution.net/repositories/edge/main/<br />
http://ladistribution.net/repositories/edge/contrib/ (optional, unstable packages)<br />
http://ladistribution.net/repositories/edge/fr (optional, french locales)</div></div>
<p>Another option is to test a fresh install using the <a title="La Distribution web installer" href="http://ladistribution.net/svn/trunk/installer.php">web installer</a>: drop it in a folder, fix permissions and launch the script in your web browser.</p>
<p>Finally, for advanced users, you can try the subversion install covered in an <a title="The 3 flavors of La Distribution" href="http://ladistribution.net/blog/2009/07/the-3-flavors-of-la-distribution/">earlier blog post</a> or on <a title="La distribution development wiki" href="http://ladistribution.net/trac/wiki">the development wiki</a>.</p>
<h3>Please!</h3>
<p>If you find the time, please test the new features, send your feedback, and help us make Concorde a better release. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://ladistribution.net/blog/2009/09/upcoming-release-concorde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gallery available one click from you</title>
		<link>http://ladistribution.net/blog/2009/08/gallery-available-one-click-from-you/</link>
		<comments>http://ladistribution.net/blog/2009/08/gallery-available-one-click-from-you/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 15:30:53 +0000</pubDate>
		<dc:creator>François Hodierne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ladistribution.net/blog/?p=153</guid>
		<description><![CDATA[ A decent photo album application is definitely a must have for La Distribution. It&#8217;s a top feature, needed by near every user. Who doesn&#8217;t have at least one photo camera, and a bunch of photos to upload these days? 
When i reviewed the available PHP powered solutions, it seemed that Gallery2 was the most [...]]]></description>
			<content:encoded><![CDATA[<p> A decent photo album application is definitely a must have for <a href="http://ladistribution.net/">La Distribution</a>. It&#8217;s a top feature, needed by near every user. Who doesn&#8217;t have at least one photo camera, and a bunch of photos to upload these days? </p>
<p>When i reviewed the available PHP powered solutions, it seemed that Gallery2 was the most serious solution: pretty well commented code, solid installer, good community. Other evaluated packages were Zen Photo and Coppermine Gallery, but as a developer &#038; maintainer, i decided to focus on one.</p>
<p><img src="http://ladistribution.net/blog/wp-content/uploads/2009/08/logo.png" alt="logo" title="logo" width="107" height="48" style="padding: 0 20px 5px 20px; float: left;"/> And actually, Gallery2 was not the final choice &#8230; Few months ago, the team behind this application decided to rewrite everything from scratch aiming to build a better, simpler and more modular app. While I&#8217;m always suspicious about people that believe they need to restart their project from zero, it seems in this case it was not a bad idea. As of today, development had been relatively quick and the current beta is really promising.</p>
<p>What do i like about Gallery3?</p>
<p><img src="http://ladistribution.net/blog/wp-content/uploads/2009/08/gallery2-350.png" alt="gallery2-350" title="gallery2-350" width="350" height="230" class="aligncenter size-full wp-image-172" style="border:1px solid #999" /></p>
<ul>
<li>simple MVC code (powered by the <a href="http://www.kohanaphp.com/">Kohana</a> framework)</li>
<li>mass uploader (in flash)</li>
<li>efficient organizer</li>
<li>support for GD <strong>or</strong> Image Magick (with appropriate detection)</li>
<li>out of the box Cool Iris support</li>
<li>installer available as a PHP class</li>
<li>modular</li>
<li>it works</li>
</ul>
<p>You can test it from the &#8220;edge contrib&#8221; repository. The package is already pretty good, it supports Single Sign On and UI integration, but it&#8217;s still in development, our quality guidelines being pretty rude.</p>
<p>I believe we should be able to have something excellent for (or during) the next major release. Exciting, go <a href="http://gallery.menalto.com/">Gallery</a> team!</p>
]]></content:encoded>
			<wfw:commentRss>http://ladistribution.net/blog/2009/08/gallery-available-one-click-from-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Summer UI Refresh</title>
		<link>http://ladistribution.net/blog/2009/08/summer-ui-refresh/</link>
		<comments>http://ladistribution.net/blog/2009/08/summer-ui-refresh/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 08:00:00 +0000</pubDate>
		<dc:creator>François Hodierne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ladistribution.net/blog/?p=138</guid>
		<description><![CDATA[I commited last week an interesting design update for La Distribution.
While, it was not on the roadmap for the next version, it&#8217;s part of a background effort, aiming to always have a simpler, easier &#038; nicer user interface.
So, how does-it looks? (On the left, earlier version, on right, updated).

Hmm, what changed? Well:

The Super Bar (on [...]]]></description>
			<content:encoded><![CDATA[<p>I commited last week an interesting design update for La Distribution.</p>
<p>While, it was not on the roadmap for the next version, it&#8217;s part of a background effort, aiming to always have a simpler, easier &#038; nicer user interface.</p>
<p>So, how does-it looks? (On the left, earlier version, on right, updated).</p>
<p><a target="_blank" href="http://ladistribution.net/blog/wp-content/uploads/2009/08/full.png"><img src="http://ladistribution.net/blog/wp-content/uploads/2009/08/mini.png" alt="mini" title="mini" width="400" height="421" class="aligncenter size-full wp-image-139" /></a></p>
<p>Hmm, what changed? Well:</p>
<ul>
<li>The Super Bar (on the bottom) start to looks a little bit like a dock, far better.</li>
<li>The Top Bar is much simpler, with a small logo on the left, and user/session informations on the right.</li>
<li>In the admin application, bread crumbs are now in an expected place, just bellow the Top Bar.</li>
<li>The application list is completely refreshed, more colorful, looks fresher.
<li>The application settings panels now feature tabs to navigate between different sections</li>
<li>Generally, the default width is now simply 1000px instead of the old weird value calculated in ems.</li>
</ul>
<p>It&#8217;s of course not a final version. For example, we&#8217;ll likely add a bit of color before next release. Also, maybe we&#8217;ll rely more on ajax/javascript to offer a more responsive feeling, and accelerate some user scenarios.</p>
<p>You can already test the updated version, you just have to use <a href="http://ladistribution.net/blog/2009/07/the-3-flavors-of-la-distribution/">the SVN or Edge flavor</a>. As always, we&#8217;re waiting for you feedback!</p>
]]></content:encoded>
			<wfw:commentRss>http://ladistribution.net/blog/2009/08/summer-ui-refresh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update to Barbès released</title>
		<link>http://ladistribution.net/blog/2009/07/update-to-barbes-released/</link>
		<comments>http://ladistribution.net/blog/2009/07/update-to-barbes-released/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 11:19:10 +0000</pubDate>
		<dc:creator>François Hodierne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ladistribution.net/blog/?p=105</guid>
		<description><![CDATA[ Last night, three weeks after La Distribution first release (codename Barbès), an update was pushed to the stable repositories.
Except the clone feature, this is mostly a bug fix release, so there is nothing huge to expect, only stability improvements and little UI touches to the admin.
On the package side, bbPress is promoted to the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://ladistribution.net/blog/wp-content/uploads/2009/07/1262417734_d103dead4a-250x187.jpg" alt="1262417734_d103dead4a" title="1262417734_d103dead4a" width="250" height="187" class="alignright size-medium wp-image-121" style="float:right;margin-left:25px;margin-bottom:10px" /> Last night, three weeks after La Distribution first release (codename Barbès), an update was pushed to the stable repositories.</p>
<p>Except the clone feature, this is mostly a bug fix release, so there is nothing huge to expect, only stability improvements and little UI touches to the admin.</p>
<p>On the package side, bbPress is promoted to the main repository, this mean it&#8217;s now sufficiently stable, fully featured and supported. Two new packages make their apparitions in the contrib repository: <a href="http://moonmoon.org/">moonmoon</a> (a feed blender application) and <a href="http://gallery.menalto.com/">gallery3</a> (the new version of the popular photo gallery application).</p>
<p>To get this new release, just update your current install, or if you don&#8217;t have one yet, maybe it&#8217;s time <a href="http://ladistribution.net/en/wiki/install">to install one with the web installer</a> in a few seconds.</p>
<p>On the development side, <a href="http://ladistribution.net/trac/browser/branches/0.2">a branch</a> was created to help maintain this version while we&#8217;ll be moving fast forward on <a href="http://ladistribution.net/trac/browser/trunk">trunk</a> with the development of the <a href="http://ladistribution.net/trac/query?status=new&#038;status=assigned&#038;status=reopened&#038;milestone=0.3">new major version</a>. An interesting point is that the now famous <a href="http://ladistribution.net/blog/2009/07/the-3-flavors-of-la-distribution/">3 flavors of La Distribution</a> are at the time of writing exactly identical. This will not last long!</p>
<p>Bellow you&#8217;ll find a more detailed changelog for this release:</p>
<p><span id="more-105"></span></p>
<p><strong>Install</strong></p>
<ul>
<li>more solid web installer</li>
<li>SVN restructured to allow easy install for developers</li>
<li>support for environments without mod_rewrite</li>
</ul>
<p><strong>Admin</strong></p>
<ul>
<li>repositories are now sortables (useful because the firsts have the priority over the later)</li>
<li>nicer HTML tables</li>
<li>file older than 12 hours are purged from tmp repository</li>
<li>ability to clone an application from a backup (beta)</li>
</ul>
<p><strong>Packages</strong></p>
<ul>
<li>
<p>enforce new feature/quality guidelines for all &#8216;main&#8217; applications</p>
<ul>
<li>custom css (ability to add some custom css rules somehow)</li>
<li>registration (ability to register from the application)</li>
<li>topbar/superbar (ability to disable bars)</li>
</ul>
</li>
<li>
<p>packages upgrades</p>
<ul>
<li>bbpress 1.0-2 (and now in main repository)</li>
<li>wordpress 2.8-2</li>
<li>habari: support for configuration and backup/restore</li>
</ul>
</li>
<li>
<p>new packages</p>
<ul>
<li>moonmoon (feed blender) in contrib repository</li>
<li>gallery3 (photo gallery) in contrib repository</li>
<li>geshi based code colorer plugin for wordpress (in contrib repository)</li>
<li>jQuery table drag&#8217;n'drop plugin (in main repository)</li>
</ul>
</li>
</ul>
<p><strong>Libraries</strong></p>
<ul>
<li>major refactoring pass, cleaner interactions between classes. <a href="http://ladistribution.net/trac/changeset/179">[179]</a></li>
<li>SQL backup now handled by default. <a href="http://ladistribution.net/trac/changeset/185">[185]</a></li>
</ul>
<p><small><em>Photo: <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC BY-SA</a> Gilles Klein <a href="http://www.flickr.com/photos/gilles_itzkovitchklein/1262417734/in/photostream/">Barbes, les gens sont noirs les murs en couleurs</a></em></small></p>
]]></content:encoded>
			<wfw:commentRss>http://ladistribution.net/blog/2009/07/update-to-barbes-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The 3 flavors of La Distribution</title>
		<link>http://ladistribution.net/blog/2009/07/the-3-flavors-of-la-distribution/</link>
		<comments>http://ladistribution.net/blog/2009/07/the-3-flavors-of-la-distribution/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 07:43:45 +0000</pubDate>
		<dc:creator>François Hodierne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ladistribution.net/blog/?p=77</guid>
		<description><![CDATA[
Depending on your profile and your needs, you might be interested in different flavors of La Distribution. The purpose of this article is to clarify the differences between these flavors to help you choose the one that best suits your needs.
Current Stable Release: Barbès
The stable release is the one you get when you&#8217;re installing La [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://ladistribution.net/blog/wp-content/uploads/2009/07/493134821_574da5a94c-150x150.jpg" alt="493134821_574da5a94c" title="493134821_574da5a94c" width="150" height="150" style="float:right;padding:20px 0 10px 20px" /><br />
Depending on your profile and your needs, you might be interested in different flavors of La Distribution. The purpose of this article is to clarify the differences between these flavors to help you choose the one that best suits your needs.</p>
<p><strong>Current Stable Release: Barbès</strong></p>
<p>The stable release is the one you get when you&#8217;re installing La Distribution with the default Web Installer. In this flavor, La Distribution is updated time to time (like your OS) and you should enjoy the most stable experience. When updates are available, you&#8217;re notified in the dashboard and encouraged to upgrade.</p>
<p>To install this flavor, just grab the <a href="http://ladistribution.net/installer/installer.txt?rev=163">web installer script</a>, upload it as installer.php where you want to perform the installation, adjust directory permissions and run it through your web browser. That&#8217;s all.</p>
<p>This release is made of two package repositories: &#8216;main&#8217; &amp; &#8216;contrib&#8217;. The first contains the core application and packages that pass our quality requirements. The second is optional and contains more but less advanced packages.</p>
<p>The two URIs for the Barbès release repositories are:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">http://ladistribution.net/repositories/barbes/main/<br />
http://ladistribution.net/repositories/barbes/contrib/ (optional)</div></div>
<p><span id="more-77"></span></p>
<p><strong>Edge Rolling Release</strong></p>
<p>With the edge version, La Distribution is updated almost daily and you will always have fresh packages. You may encounter issues, but this is why this flavor is made for: <strong>find bugs</strong>.</p>
<p>To get this flavor, you should do the regular install and replace the default repository URIs by these ones.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">http://ladistribution.net/repositories/edge/main/<br />
http://ladistribution.net/repositories/edge/contrib/ (optional)</div></div>
<p>We encourage every enthusiasts to use this version, and report bugs as they occur.</p>
<p><strong>SVN trunk</strong></p>
<p>Finally, for developers or advanced users, if you want to synchronize directly with the development, you can now use subversion.</p>
<p>Just checkout the <a href="http://ladistribution.net/svn/trunk/">trunk</a>, make some directories writable by your web server and execute installer.php through your web browser.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> http:<span style="color: #000000; font-weight: bold;">//</span>ladistribution.net<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #c20cb9; font-weight: bold;">ld</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> 777 <span style="color: #c20cb9; font-weight: bold;">ld</span> ld<span style="color: #000000; font-weight: bold;">/</span>admin ld<span style="color: #000000; font-weight: bold;">/</span>lib ld<span style="color: #000000; font-weight: bold;">/</span>css ld<span style="color: #000000; font-weight: bold;">/</span>js ld<span style="color: #000000; font-weight: bold;">/</span>shared</div></div>
<p>Once done, to follow La Distribution&#8217;s development, remember to svn update your copy time to time.</p>
<p>Note that this only concerns La Distribution&#8217;s core packages (admin, libraries,&nbsp;&#8230;), application packages (wordpress, dokuwiki,&nbsp;&#8230;) will come from the repositories defined in your configuration. Building applications packages from SVN is of course possible but will be covered in a future blog post!</p>
<p>So, now that you chose your flavor, maybe it&#8217;s time to test La Distribution?</p>
]]></content:encoded>
			<wfw:commentRss>http://ladistribution.net/blog/2009/07/the-3-flavors-of-la-distribution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create packages? A tutorial with Moonmoon.</title>
		<link>http://ladistribution.net/blog/2009/07/how-to-create-a-package-tutorial-with-moonmoon/</link>
		<comments>http://ladistribution.net/blog/2009/07/how-to-create-a-package-tutorial-with-moonmoon/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 08:30:35 +0000</pubDate>
		<dc:creator>François Hodierne</dc:creator>
				<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://ladistribution.net/blog/?p=19</guid>
		<description><![CDATA[Distributing a new or existing web application on La Distribution is really easy. All we have to do is to embed the application in what we call a package. As of today, La Distribution can theoretically support all PHP web applications, this mean there is tons of potential applications to package.
In this tutorial we&#8217;re going [...]]]></description>
			<content:encoded><![CDATA[<p>Distributing a new or existing web application on La Distribution is really easy. All we have to do is to embed the application in what we call a package. As of today, La Distribution can theoretically support all PHP web applications, this mean there is tons of potential applications to package.</p>
<p><img src="http://ladistribution.net/blog/wp-content/uploads/2009/07/Image-23.png" alt="Moonmoon logo" width="241" height="59" style="float:right;padding:0 0 10px 20px" />In this tutorial we&#8217;re going to package <a href="http://moonmoon.org/">Moonmoon</a> a PHP based <a href="http://www.planetplanet.org/">PlanetPlanet</a> clone. It&#8217;s relatively simple, it&#8217;s representative of a typical web application, and better, it&#8217;s from my friend <a href="http://www.svay.com/">Maurice</a>! Frankly, I had no clue if the packaging was possible before starting writing this tutorial, so let’s cross our fingers.</p>
<p><span id="more-19"></span></p>
<p><strong>Create the simplest package.</strong></p>
<p>For the first step, we’ll focus on the basics: the deployment procedure. We’ll let the user finishes the installation through the Moonmoon install form.</p>
<p>Let’s start.</p>
<ol>
<li>
<p>Create an empty folder named &#8216;package&#8217; containing 2 sub-folders: &#8216;application&#8217; and &#8216;dist&#8217;.</p>
</li>
<li>
<p>In the dist folder, create a &#8216;manifest.xml&#8217; file with the following content.</p>
<div class="codecolorer-container xml default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;package<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>moonmoon<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Moonmoon<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>8.12-1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;type<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>application<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/type<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/package<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
</li>
<li>
<p>In the &#8216;application&#8217; folder, copy all the files of the application you want to package. You can <a href="http://moonmoon.org/download-latest.php">download Moonmoon here</a>.</p>
<p>You should now have the following structure:</p>
<p><img class="alignnone size-full wp-image-22" src="http://ladistribution.net/blog/wp-content/uploads/2009/07/Image-15.png" alt="package arborescence" width="219" height="252" /></p>
</li>
<li>
<p>Now, zip everything in the &#8216;package&#8217; directory (but not the &#8216;package&#8217; directory itself). The &#8216;application&#8217; and &#8216;dist&#8217; directories must be at the root of the zip archive.</p>
</li>
</ol>
<p><strong>Test the package</strong></p>
<ol start="5">
<li>
<p>Log in your La Distribution install, go in the Repositories panel and create a local repository if you don&#8217;t have already one.</p>
</li>
<li>
<p>Upload the zip archive you just created.</p>
</li>
<p><img class="alignnone size-full wp-image-29" style="border: 1px solid #666;" src="http://ladistribution.net/blog/wp-content/uploads/2009/07/repo.png" alt="screenshot of the repository panel" width="300" height="344" /></p>
</li>
<li>
<p>You should now be able to install a new instance of Moonmoon in the Applications panel.</p>
</li>
</ol>
<p><strong>Doh!</strong></p>
<p>The cache directory was not created! I could have fixed that in the tutorial before but I chose to keep it real. It&#8217;s a common issue when trying to copy empty directories. One way to fix it is to create a dummy non empty file in the empty directories.</p>
<p><img class="alignnone size-full wp-image-27" src="http://ladistribution.net/blog/wp-content/uploads/2009/07/Image-17.png" alt="package arborescence with dummy file added" width="228" height="270" /></p>
<ol start="8">
<li>
<p>Now update your package version in the &#8216;manifest.xml&#8217; file.</p>
<div class="codecolorer-container xml default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;package<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>moonmoon<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Moonmoon<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>8.12-2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;type<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>application<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/type<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/package<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
</li>
<li>
<p>Go on your Repository panel, upload the new version.</p>
</li>
<li>
<p>Go on the Application panel, update the application, it should works now!</p>
</li>
</ol>
<p><strong>Handling advanced installation</strong></p>
<p>Because we want La Distribution to provide the same experience for all applications, we now have to skip Moonmoon install form.</p>
<p>There are generally three approaches to integrate an installation process with La Distribution:</p>
<ol>
<li> Use the web installer provided by the application, and interact with it with PHP through HTTP. Isn&#8217;t that quirky ? Yes it is, but we don&#8217;t have often the choice, and well, you just have to say yourself it&#8217;s like using a REST API&nbsp;;-)</li>
<li>Use the application libraries to perform the install. It&#8217;s currently rare but it&#8217;s the best approach, the La Distribution Wordpress package has been developed this way for example.</li>
<li>Code directly in the package the installation procedure, by handling the necessary steps.</li>
</ol>
<p>For Moonmoon, the install procedure is so simple that we&#8217;ll go with the third solution. Generally, it&#8217;s always easier to do the first, while the second is the one we have to promote, particularly for complex installs.</p>
<p><strong>Introducing the installer</strong></p>
<p>Basically, an installer is a PHP class that must be added in the &#8216;dist&#8217; directory, named installer.php and extends the Ld_Installer class provided by La Distribution.</p>
<p>Now, let’s have a quick look at Moonmoon&#8217;s <a href="http://svn.sharesource.org/svn/moonmoon/trunk/install.php">install.php</a> file, line 9 to 25. It seems like we’ll just have to create two files. Let&#8217;s code that!</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:300px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<br />
<span style="color: #000000; font-weight: bold;">class</span> Ld_Installer_Moonmoon <span style="color: #000000; font-weight: bold;">extends</span> Ld_Installer<br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> install<span style="color: #009900;">&#40;</span><span style="color: #000088;">$preferences</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; parent<span style="color: #339933;">::</span><span style="color: #004000;">install</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$preferences</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">absolutePath</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/app/classes/Planet.class.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000088;">$config</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'url'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'readonly'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'name'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$preferences</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'title'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'items'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'shuffle'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'refresh'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">240</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'cache'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'nohtml'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'postmaxlength'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'cachedir'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'./cache'</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000088;">$planet_config</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> PlanetConfig<span style="color: #009900;">&#40;</span><span style="color: #000088;">$config</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; Ld_Files<span style="color: #339933;">::</span><span style="color: #004000;">put</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">absolutePath</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/custom/config.yml'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$planet_config</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">toYaml</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; Ld_Files<span style="color: #339933;">::</span><span style="color: #004000;">put</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">absolutePath</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/admin/inc/pwd.inc.php'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'&lt;?php $login=&quot;admin&quot;; $password=&quot;'</span> <span style="color: #339933;">.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/md5"><span style="color: #990000;">md5</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$preferences</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'admin_password'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'&quot;; ?&gt;'</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></div>
<p>The install method will be automatically called when the user will create a new instance of the application with the La Distributions user interface.</p>
<p>Where does the preferences parameter come from?</p>
<p>The preferences come from the information entered by the user in La Distribution’s install form. By default, only the &#8216;title&#8217; and &#8216;path&#8217; preferences are present in this install form but you can add other preferences in the manifest file.</p>
<p>The &#8216;admin_password&#8217; preference does not exist yet. So we&#8217;ll have to declare it in the manifest.</P></p>
<div class="codecolorer-container xml default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;package<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>moonmoon<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Moonmoon<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>8.12-3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;type<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>application<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/type<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;install<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;preference</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;password&quot;</span> <span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;Admin Password&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;admin_password&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/install<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/package<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
<p>Don’t forget to increment the version number of the package. Packages are cached and you may become mad if you don&#8217;t do it!</p>
<p>Also, you can now delete the install.php file of the Moonmoon application as it is now useless.</p>
<p><img src="http://ladistribution.net/blog/wp-content/uploads/2009/07/Image-26.png" alt="Final package arborescence" width="238" height="254" class="alignnone size-full wp-image-66" /></p>
<p>Now, create the zip, upload it, test a new installation. Everything perfect!</p>
<p><img src="http://ladistribution.net/blog/wp-content/uploads/2009/07/moon.png" alt="Moonmoon admin interface" width="450" height="246" class="alignnone size-full wp-image-53" /></p>
<p><strong>Next?</strong></p>
<p>In a next tutorial, we&#8217;ll see how to handle advanced users integration (SSO and Roles) and UI integration (integrating the permanent bottom bar).</p>
<p>As you can see, with a minimal technical background, creating La Distribution packages is fairly easy, now what are you waiting for to create your owns?</p>
<p><em>Thanks Benoît for reviewing this tutorial!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://ladistribution.net/blog/2009/07/how-to-create-a-package-tutorial-with-moonmoon/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>La Distribution release</title>
		<link>http://ladistribution.net/blog/2009/07/la-distribution-release/</link>
		<comments>http://ladistribution.net/blog/2009/07/la-distribution-release/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 13:18:28 +0000</pubDate>
		<dc:creator>François Hodierne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ladistribution.net/blog/?p=3</guid>
		<description><![CDATA[On thursday, I organized an apéritif to celebrate h6e.net new identity and to launch the first public release of La Distribution. Friends gathered around drinks and this was a very cool summer evening. Thanks all for coming!

The presentation (in french) about La Distribution went well and was very nicely received, generating lot of questions from [...]]]></description>
			<content:encoded><![CDATA[<p>On thursday, I organized an apéritif to celebrate <a href="http://h6e.net/">h6e.net</a> new identity and to launch the first public release of <a href="http://ladistribution.net/">La Distribution</a>. Friends gathered around drinks and this was a very cool summer evening. <strong>Thanks all for coming!</strong></p>
<p style="text-align: left;"><img class="size-full wp-image-4 aligncenter" title="Apéro h6e" src="http://ladistribution.net/blog/wp-content/uploads/2009/07/apero.jpg" alt="apero" width="400" height="266" /></p>
<p style="text-align: left;"><a href="http://www.slideshare.net/znarfor/la-distribution">The presentation</a> (in french) about La Distribution went well and was very nicely received, generating lot of questions from the audience. As I remember:</p>
<p><strong>What kind of applications are you thinking/dreaming about?</strong></p>
<p>Coming from <a href="http://www.netvibes.com/">Netvibes</a>, i can already answer that a widget dashboard application would be a great addition :-)</p>
<p>Also, for me, a killer application would be a personal/social mp3 jukebox where you can put all your music and exchange with your friends. This doesn&#8217;t seems very legal at first, but this is a great example of the kind of things you can do when you are 100% in control :-)</p>
<p><strong>What about La Distribution in the enterprise ?</strong></p>
<p>It depends the current needs of the company. For internal communication, blogging and wikis are already great, and generally we&#8217;ll do our best to add productivity applications in the catalog. But as of today, if you think about word processor or spreadsheets, i don&#8217;t know yet a decent alternative to Google or Zoho.</p>
<p><strong>What do you think of Opera Unite ?</strong></p>
<p><a href="http://unite.opera.com/">Opera Unite</a> is very interesting, especially their proxy feature. But imho, it would have been better with a traditional server side programming/hosting environment, say PHP. Also, what happen when the laptop running Opera unite is off power or off the network?</p>
<p><strong>Is it possible to apply a theme on all applications?</strong></p>
<p>Not yet, but the ongoing <a href="http://h6e.net/minimal">Minimal Themes series</a> is a step in this direction.</p>
<p><strong>How to build a package? Is it difficult?</strong></p>
<p>Building a package is fairly easy, but building a great package is more difficult. Detailed instructions are coming but if you&#8217;re a hacker, you can already have a look at <a href="http://ladistribution.net/trac/browser/trunk/packages">the existing ones</a>.</p>
<p>That&#8217;s all for the questions I remember. But you, dear reader, maybe do you have other questions about La Distribution?</p>
<p>This is the first post on this blog, hello!</p>
]]></content:encoded>
			<wfw:commentRss>http://ladistribution.net/blog/2009/07/la-distribution-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
