Few questions

18 views
Skip to first unread message

Nicolas Pinault

unread,
Jan 13, 2012, 2:49:04 PM1/13/12
to Nagare users
Bonsoir Alain,

Here are few questions :
- What will be new in Nagare 0.4 ?
- Can I use Pyjamas widgets with Nagare ?
- Are there complete examples available ? You often give example of
components. But how do you build a complete page with head, body,
components... ? Can you share an example of an application like a simple
blog ?

Cordialement,
Nicolas

apoirier

unread,
Jan 16, 2012, 1:07:14 PM1/16/12
to Nagare users
On 13 jan, 20:49, Nicolas Pinault <nico...@famillepinault.fr> wrote:
> Bonsoir Alain,

Bonsoir Nicolas,

> Here are few questions :
> - What will be new in Nagare 0.4 ?

The 0.4 changelog is just committed (http://www.nagare.org/trac/wiki/
NagareChangelog)

> - Can I use Pyjamas widgets with Nagare ?

I don't know. Nagare embeds the Pyjamas Python to Javascript
translator but I've never tested the Pyjamas widgets. On our projects,
we use the YUI widgets (a full version of YUI 2 is installed with
Nagare).

> - Are there complete examples available ? You often give example of
> components.

Because with Nagare, an application is no more than a component too;
in general a composite component: a component made of other
components ;)

> But how do you build a complete page with head, body, components... ?

If a component's view has no <html>, <head> or <body>, Nagare will add
them.

Each components can insert tags into the <head> of the page with the
``h.head`` renderer: http://www.nagare.org/trac/wiki/RendererObjects#head-renderer

> Can you share an example of an application like a simple
> blog ?

Not a blog but the Wiki tutorial explains step-by-step how to build a
Wiki application (http://www.nagare.org/wiki). Then, as a component,
this Wiki application is embedded into the demonstrations Portal
(http://www.nagare.org/trac/browser/examples/nagare/examples/portal/
portal.py#L101), without any code modification.

> Cordialement,
> Nicolas

Amicalement,
Alain

Nicolas Pinault

unread,
Jan 16, 2012, 3:24:46 PM1/16/12
to nagare...@googlegroups.com
Le 16/01/2012 19:07, apoirier a �crit :

> On 13 jan, 20:49, Nicolas Pinault<nico...@famillepinault.fr> wrote:
>> Bonsoir Alain,
> Bonsoir Nicolas,
>
>> Here are few questions :
>> - What will be new in Nagare 0.4 ?
> The 0.4 changelog is just committed (http://www.nagare.org/trac/wiki/
> NagareChangelog)
Great.

>
>> - Can I use Pyjamas widgets with Nagare ?
> I don't know. Nagare embeds the Pyjamas Python to Javascript
> translator but I've never tested the Pyjamas widgets. On our projects,
> we use the YUI widgets (a full version of YUI 2 is installed with
> Nagare).
I have no knowledge of javascript. The beauty of Pyjamas widgets is that
I don't have to learn javascript (in theory).

>> - Are there complete examples available ? You often give example of
>> components.
> Because with Nagare, an application is no more than a component too;
> in general a composite component: a component made of other
> components ;)
Ok

>
>> But how do you build a complete page with head, body, components... ?
> If a component's view has no<html>,<head> or<body>, Nagare will add
> them.
Cool :)

>
> Each components can insert tags into the<head> of the page with the
> ``h.head`` renderer: http://www.nagare.org/trac/wiki/RendererObjects#head-renderer
>
>> Can you share an example of an application like a simple
>> blog ?
> Not a blog but the Wiki tutorial explains step-by-step how to build a
> Wiki application (http://www.nagare.org/wiki). Then, as a component,
> this Wiki application is embedded into the demonstrations Portal
> (http://www.nagare.org/trac/browser/examples/nagare/examples/portal/
> portal.py#L101), without any code modification.
Ok. I'll look at it.
> > Cordialement,
>> Nicolas
> Amicalement,
> Alain
>

Cordialement,
Nicolas

Reply all
Reply to author
Forward
0 new messages