[Baypiggies] [CubicWeb 3.0.0 release] - Python Semantic Web Application Framework

Bjorn Tipling bjorn at ambientchill.com
Wed Jan 7 04:32:56 CET 2009


Well on the surface that sounds pretty awesome, because I like Mako
and not much else when it comes to template engines. However a close
read of the 'view customization' section of the quick overview seems
like cubicweb is not amenable to use by other templating engines. At
least not easily. Maybe an example use of a templating language,
instead of what is there now, would not scare developers off. Just to
witness markup written inside string literals as arguments to function
calls is enough to frighten the daylights out of me. It is difficult
to implement, troubleshoot, maintain, and alter design when it's mixed
up in the programming language, and violates MVC principles many hold
dear.

On Tue, Jan 6, 2009 at 11:23 AM, Sandrine Ribeau
<sandrine.ribeau at gmail.com> wrote:
> Bjorn,
>
> On Mon, Jan 5, 2009 at 10:19 PM, Bjorn Tipling <bjorn at ambientchill.com>
> wrote:
>>
>> Looks like you guys put a lot of work into it, and I don't want to
>> knock it but I can't say I'm excited about a templating system that
>> looks like this:
>
> The point is that there is no templating language defined within Cubicweb.
> Python is the templating language.
> We made the decision to leave the templating to developers which implies
> Python as the answer. Our goal was not to re-design a new template language
> but leave to the developer the choice to use the template language he would
> prefer.
> Based on our experience, we gained in efficiency by leaving the developpers
> with Python and the designers with design tools and avoid template as the
> intermediary step that can not be efficient for both of them at the same
> time.
>
> This is a good debate though.
>
> Sandrine.
>
>
>>
>>  self.w(u'<table id="header"><tr>\n')
>>        self.w(u'<td id="firstcolumn">')
>>        self.vreg.select_component('logo', self.req,
>> self.rset).dispatch(w=self.w)
>>        self.w(u'</td>\n')
>>
>> or
>>
>>  self.w(u'<h1>%s</h1>' % entity.title)
>>      self.w(u'<p>published on %s</p>' %
>> entity.publish_date.strftime('%Y-%m-%d'))
>>      self.w(u'<p>%s</p>' % entity.content)
>>
>> On Mon, Jan 5, 2009 at 9:36 PM, Sandrine Ribeau
>> <sandrine.ribeau at gmail.com> wrote:
>> > Dear Baypiggies,
>> >
>> > I am pleased to announce the release of one project I have been working
>> > with
>> > recently and will be working with in the future.
>> > I would be pleased to answer any questions and/or guide you through your
>> > experiments with CubicWeb.
>> > I will also be happy to present it during one of the baypiggies meeting.
>> >
>> > Enjoy!
>> > Sandrine.
>> >
>> >
>> >
>> > What is CubicWeb?
>> > -----------------
>> >
>> > With CubicWeb, the Semantic Web is a construction game!
>> >
>> > CubicWeb_ is a semantic web application framework, licensed under the
>> > LGPL,
>> > that
>> > empowers developers to efficiently build web applications by reusing
>> > components
>> > (called cubes) and following the well known object-oriented design
>> > principles.
>> >
>> > Its main features are:
>> >
>> >     * an engine driven by the explicit data model of the application,
>> >     * a query language named RQL similar to W3C's SPARQL,
>> >     * a selection+view mechanism for semi-automatic XHTML/XML/JSON/text
>> > generation,
>> >     * a library of reusable components (data model and views) that
>> > fulfill
>> > common needs,
>> >     * the power and flexibility of the Python programming language,
>> >     * the reliability of SQL databases, LDAP directories, Subversion and
>> > Mercurial for storage backends.
>> >
>> > Being built since 2000 by an R&D project still going on today,
>> > supporting
>> > 100,000s of daily visits at some production sites, CubicWeb is a proven
>> > end
>> > to
>> > end solution for semantic web application development that promotes
>> > quality,
>> > reusability and efficiency.
>> >
>> > The unbeliever will read the quick overview_ of CubicWeb.
>> >
>> > The hacker will join development at the forge_.
>> >
>> > The impatient will move right away to installation_ and set-up of a
>> > CubicWeb
>> > environment.
>> >
>> > .. _cubicweb: http://www.cubicweb.org/
>> > .. _overview:
>> > http://www.cubicweb.org/doc/en/A020-tutorial.en.html#overview
>> > .. _forge:
>> > http://www.cubicweb.org/project?vtitle=All%20cubicweb%20projects
>> > .. _installation:
>> > http://www.cubicweb.org/doc/en/C010-setup.en.html#miseenplaceenv
>> >
>> > Home page
>> > ---------
>> >
>> > http://www.cubicweb.org/
>> >
>> > Download
>> > --------
>> >
>> > http://ftp.logilab.org/pub/cubicweb/
>> >
>> > Mailing list
>> > ------------
>> >
>> > http://lists.cubicweb.org/mailman/listinfo/cubicweb
>> >
>> >
>> > --
>> > Sandrine Ribeau
>> >
>> > logilab.fr  - logilab.org
>> > ______________________________
>> > _________________
>> > Cubicweb mailing list
>> > Cubicweb at lists.cubicweb.org
>> > http://lists.cubicweb.org/mailman/listinfo/cubicweb
>> >
>> >
>> > _______________________________________________
>> > Baypiggies mailing list
>> > Baypiggies at python.org
>> > To change your subscription options or unsubscribe:
>> > http://mail.python.org/mailman/listinfo/baypiggies
>> >
>> _______________________________________________
>> Baypiggies mailing list
>> Baypiggies at python.org
>> To change your subscription options or unsubscribe:
>> http://mail.python.org/mailman/listinfo/baypiggies
>
>


More information about the Baypiggies mailing list