summaryrefslogtreecommitdiff
path: root/_posts/2009-04-05-the-intentioncloud-strike-back.textile
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2013-11-26 10:36:10 -0800
committerFranck Cuny <franck.cuny@gmail.com>2013-11-26 10:36:10 -0800
commit8ddf2e94df70707b458528a437759b96046d3e01 (patch)
treed442818d92d3c9c6f7fcdc92857a1228963849a1 /_posts/2009-04-05-the-intentioncloud-strike-back.textile
parentDon't need to use the IP in the makefile. (diff)
downloadlumberjaph-8ddf2e94df70707b458528a437759b96046d3e01.tar.gz
Huge update.
Moved all posts from textile to markdown. Updated all the CSS and styles. Added a new page for the resume.
Diffstat (limited to '_posts/2009-04-05-the-intentioncloud-strike-back.textile')
-rw-r--r--_posts/2009-04-05-the-intentioncloud-strike-back.textile41
1 files changed, 0 insertions, 41 deletions
diff --git a/_posts/2009-04-05-the-intentioncloud-strike-back.textile b/_posts/2009-04-05-the-intentioncloud-strike-back.textile
deleted file mode 100644
index 83a114e..0000000
--- a/_posts/2009-04-05-the-intentioncloud-strike-back.textile
+++ /dev/null
@@ -1,41 +0,0 @@
----
-layout: post
-title: the intentioncloud strike back
-category: perl
----
-
-I've decided to rewrite the intention cloud. Still with "Catalyst":http://dev.catalystframework.org/wiki/, but I've replaced prototype with "jquery":http://jquery.com this time. I've end up with less code than the previous version. For the moment, only google is available, but I will add overture, and may be more engines.
-
-There is still some bug to fix, some tests to add, and I will be able to restore the "intentioncloud.net":http://intentioncloud.net domain.
-
-It's really easy to plug a database to a catalyst application using "Catalyst::Model::DBIC::Schema":http://p3rl.org/Catalyst::Model::DBIC::Schema. Via the helper, you can tell the model to use "DBIx::Class::Schema::Loader":http://p3rl.org/DBIx:/Class::Schema::Loader, so the table informations will be loaded from the database at runtime. You end up with a code that looks like
-
-{% highlight perl %}
-package intentioncloud::Model::DB;
-use strict;
-use base 'Catalyst::Model::DBIC::Schema';
-__PACKAGE__->config(schema_class => 'intentioncloud::Schema',);
-1;
-{% endhighlight %}
-
-and the schema:
-
-{% highlight perl %}
-package intentioncloud::Schema;
-use strict;
-use base qw/DBIx::Class::Schema::Loader/;
-__PACKAGE__->loader_options(relationships => 1);
-1;
-{% endhighlight %}
-
-Now, to do a query:
-
-{% highlight perl %}
-my $rs = $c->model('DB::TableName')->find(1);
-{% endhighlight %}
-
-and your done !
-
-The code for the intentioncloud is avaible on "github":http://github.com/franckcuny/intentioncloud/tree/master.
-
-