<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">


        <channel>
	    <title>Lexx.gr</title>
		
		<link>http://lexx.gr/</link>
		<description>Lexx's space</description>
		<lastBuildDate>Fri, 24 Feb 2012 01:33:55 +0200</lastBuildDate>

		<language>en</language>
		<sy:updatePeriod>daily</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
		<generator>http://www.codeigniter.com/</generator>



		

		    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/lexxen" /><feedburner:info uri="lexxen" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
			<link>http://feedproxy.google.com/~r/lexxen/~3/1CIifE99YvA/1325</link>
		        <guid isPermaLink="false">http://lexx.gr/post/1325</guid>
		        <title>Why fuelphp rocks?</title>
		        <description>&lt;p&gt;&lt;img src="http://lexx.gr/files/2011/12/1325/Selection_049.png" alt="fuel logo" /&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://fuelphp.com/"&gt;Fuelphp&lt;/a&gt; is a relatively new framework that claims to be based on the best ideas of other frameworks with a fresh start. I decided to rewrite &lt;a href="http://webz.gr/"&gt;my blog&lt;/a&gt; from scratch with fuelphp (it was on drupal). Why did I choose Fuelphp?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;First of all the philosophy. &lt;strong&gt;Configuration over convention&lt;/strong&gt; means easier learing curve and more flexibility. Its what made me love Codeigniter.&lt;/li&gt;
&lt;li&gt;Its &lt;strong&gt;lightweight&lt;/strong&gt;! I hate heavy stuff that I feel I have no control of. Fuel has a minimalistic and clear architecture based on php 5.3 (namespaces FTW).&lt;/li&gt;
&lt;li&gt;The documentation is awesome. Not that rich yet but I love the structure. Makes my life so easy. It's really very important when learning a new framework to easily navigate through the documentation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src="http://lexx.gr/files/2011/12/1325/Selection_050.png" alt="fuel documentation" /&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://fuelphp.com/about"&gt;The people behind the framework&lt;/a&gt; are very experienced and I already like their past work. It feels like they have combined their experience until now to make the best framework for them and at the same time have a goal to make fuel a community driven framework. Community is currently small but I think that it is a matter of time to grow up. &lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;(H)MVC pattern&lt;/strong&gt; is great for large application and makes DRY easier. &lt;/li&gt;
&lt;li&gt;You do everything with classes and again the are no conventions, just a proposed way of organizing code. You don't have for example to have models in the models' folder. You just do what you like. &lt;/li&gt;
&lt;li&gt;There are no application specific Classes. That's great because no time is wasted on non essential stuff. &lt;/li&gt;
&lt;li&gt;Other things I really like are the ORM &lt;s&gt;(ported from Kohana)&lt;/s&gt;  and OIL, a command line utility.  There are a lot more in this young framework and I'm looking forward to dive even more into it. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For those who have experience working with Codeigniter or Kohana, they will find many similarities and a lot of stuff will look familiar. Though, after working for a week with Fuel, Codeigniter feels so old :(&lt;/p&gt;

&lt;p&gt;There are some stuff that I'd want to be different, like the way Asset class is working. But not anything serious.&lt;/p&gt;

&lt;p&gt;Make sure you ll check out Fuel, it really rocks.&lt;/p&gt;

&lt;p&gt;Update: The query builder is ported from Kohana, not the ORM &lt;a href="https://twitter.com/#!/fuelphp/status/150286996609318912"&gt;tweet&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/lexxen/~4/1CIifE99YvA" height="1" width="1"/&gt;</description>
				<pubDate>Fri, 23 Dec 2011 00:00:00 +0200</pubDate>
		    <feedburner:origLink>http://lexx.gr/post/1325</feedburner:origLink></item>

		

		    <item>
			<link>http://feedproxy.google.com/~r/lexxen/~3/nWRH4eW7His/1321</link>
		        <guid isPermaLink="false">http://lexx.gr/post/1321</guid>
		        <title>Codeigniter 2.0.3 and elFinder 2.0 beta</title>
		        <description>&lt;p&gt;Using elfinder 2 with Codeigniter shouldn’t be a problem. I wouldn’t recommend elFinder 2 beta for production sites yet. But this small guide I think will apply for future 2.X versions too.&lt;/p&gt;

&lt;h2&gt;Steps&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Download elFinder 2.X from &lt;a href="http://elfinder.org/"&gt;elfinder.org&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Place the css and js files according to the installation instructions of the &lt;a href="https://github.com/Studio-42/elFinder/wiki/Install"&gt;official documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Copy the &lt;strong&gt;php&lt;/strong&gt; directory from the archive you downloaded in step 1, to your application’s &lt;strong&gt;libraries&lt;/strong&gt; directory. &lt;/li&gt;
&lt;li&gt;Rename this folder from &lt;strong&gt;php&lt;/strong&gt; to &lt;strong&gt;elfinder.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Create a new file in the &lt;strong&gt;libraries&lt;/strong&gt; directory with the name &lt;strong&gt;Elfinder_lib.php&lt;/strong&gt;. I added &lt;em&gt;_lib&lt;/em&gt; in order to avoid conflict with elfinder’s classes. &lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Treat &lt;strong&gt;Elfinder_lib.php &lt;/strong&gt;as an ordinary CI library and add the following code inside:&lt;/p&gt;
&lt;pre&gt;&amp;lt;?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elfinder/elFinderConnector.class.php';
include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elfinder/elFinder.class.php';
include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elfinder/elFinderVolumeDriver.class.php';
include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elfinder/elFinderVolumeLocalFileSystem.class.php';

class Elfinder_lib 
{
 public function __construct($opts) 
 {
  $connector = new elFinderConnector(new elFinder($opts));
  $connector-&amp;gt;run();
 }
}
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Now you need to create a controller method in order to call it from your javascript. This will be a method of your choice. I will name the controller &lt;strong&gt;ex_cont &lt;/strong&gt;and the method &lt;strong&gt;elfinder_init() &lt;/strong&gt;for this example. &lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Inside this method you will add part of the connectors code, and it will look like this:&lt;/p&gt;
&lt;pre&gt;function elfinder_init()
{
 $this-&amp;gt;load-&amp;gt;helper('path');
 $opts = array(
  // 'debug' =&amp;gt; true, 
  'roots' =&amp;gt; array(
   array( 
    'driver' =&amp;gt; 'LocalFileSystem', 
    'path' =&amp;gt; set_realpath('yourfilespath'), 
    'URL' =&amp;gt; site_url('yourfilespath').'/', 
    'accessControl' =&amp;gt; 'access',
   ) 
  ));
  $this-&amp;gt;load-&amp;gt;library('elfinder_lib', $opts);
 }

&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Replace “yourfilespath” with the name of your files folder.&lt;/li&gt;
&lt;li&gt;The last step is to initialize the elFinder through javascript and add the html element. Follow the &lt;a href="https://github.com/Studio-42/elFinder/wiki/Install"&gt;original documentation&lt;/a&gt; again under the &lt;strong&gt;Initialize file manager&lt;/strong&gt; section. The only thing you should notice is the url option which should be something like &lt;a href="http://yoursite/"&gt;http://yoursite/&lt;/a&gt;&lt;strong&gt;ex_cont/&lt;strong&gt;elfinder_init&lt;/strong&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That was it. Nothing crazy. &lt;/p&gt;

&lt;p&gt;elFinder is an amazing browser. I am sure the the stable version will rock. By passing variables to you &lt;strong&gt;&lt;strong&gt;elfinder_init &lt;/strong&gt;&lt;/strong&gt;method you can achieve some great stuff like open the browser to a post’s folder or to a user’s place. Or adding multiple roots dynamically etc. &lt;/p&gt;

&lt;p&gt;If I missed anything just post it below.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/lexxen/~4/nWRH4eW7His" height="1" width="1"/&gt;</description>
				<pubDate>Fri, 11 Nov 2011 00:00:00 +0200</pubDate>
		    <feedburner:origLink>http://lexx.gr/post/1321</feedburner:origLink></item>

		

		    <item>
			<link>http://feedproxy.google.com/~r/lexxen/~3/gFJJ6hvH2Yo/1320</link>
		        <guid isPermaLink="false">http://lexx.gr/post/1320</guid>
		        <title>Linkinstart experiment</title>
		        <description>&lt;p&gt;&lt;a href="http://linkinstart.com/"&gt;&lt;img src="http://lexx.gr/files/logos/banner_small.jpg" alt="" width="440" height="280" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I couldn’t find a decent start page for my browser. I certainly never liked Google or netvibes. They have tons of widgets and capabilities but I end up having a cluttered interface and the job is not done.&lt;/p&gt;

&lt;p&gt;I searched a lot. I found some apps that were decent or even inspired me, like &lt;a href="http://start.io/"&gt;start.io&lt;/a&gt;. In fact I used startio for quite a while. It had a great feel. But I needed something different. &lt;/p&gt;

&lt;p&gt;So, past summer I started building what I believe is &lt;a href="http://linkinstart.com/"&gt;the best startpage application in the universe&lt;/a&gt;. I know that it is not the best in the universe. It’s far from that. Maybe the best on this earth, or maybe not even that. But it has a philosophy, some fans and a huge list of future features!&lt;/p&gt;

&lt;p&gt;When I began, I thought that this would be a trivial side_project… Well, let me laugh at my arrogance. As always, problems from nowhere were sucking me in during the weekends. Anyway, &lt;a href="http://linkinstart.com/"&gt;linkinstart.com&lt;/a&gt; is minimalistic, in early stage and I would recommend you to use it in one year from now. Why? Because I don’t want you to register, get disappointed and never come back.&lt;/p&gt;

&lt;p&gt;Last week I learned about the &lt;a href="http://unhosted.org/"&gt;unhosted&lt;/a&gt; movement. It’s a simple but brilliant idea. I am considering making linkinstart unhosted in the future.&lt;/p&gt;

&lt;p&gt;Check out unhosted, you need it ;)&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/lexxen/~4/gFJJ6hvH2Yo" height="1" width="1"/&gt;</description>
				<pubDate>Wed, 09 Nov 2011 00:00:00 +0200</pubDate>
		    <feedburner:origLink>http://lexx.gr/post/1320</feedburner:origLink></item>

		
        </channel>
    </rss>

