You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Reuven Levitt <re...@levitt.net> on 2005/07/05 11:33:51 UTC

Questions, and answers...

Great job on getting roller 1.2 done.

Templates:
If you want to see a good example of how templates are
implemented in another app, I would take a look at
Gallery 2 (http://gallery.menalto.com).  

Although this app is written in Php, they have done a
great job, and the extensibility (modules) and admin
portions of this app are great, and the templates
(that are not editable by the user, but are
selectable, are well done).

Another note/Question:
There was talk a while back of passing the principal
(the logged in user) into the manager calls.  Has this
or will this be implemented?

Thanks,
Reuven.


Re: Questions, and answers...

Posted by Dave Johnson <da...@rollerweblogger.org>.
On Jul 5, 2005, at 5:33 AM, Reuven Levitt wrote:

> Great job on getting roller 1.2 done.
>
> Templates:
> If you want to see a good example of how templates are
> implemented in another app, I would take a look at
> Gallery 2 (http://gallery.menalto.com).
>
> Although this app is written in Php, they have done a
> great job, and the extensibility (modules) and admin
> portions of this app are great, and the templates
> (that are not editable by the user, but are
> selectable, are well done).

We'll have to take a look at that.

>
> Another note/Question:
> There was talk a while back of passing the principal
> (the logged in user) into the manager calls.  Has this
> or will this be implemented?

No, we took another approach. In the outer most filter, we set the 
"current user" of the persistence session. I believe you can get this  
via roller.getUser(). If there is no logged in user then you'll get 
UserData.ANONYMOUS_USER. For system operations, there is also a 
UserData.SYSTEM_USER.

- Dave




>
> Thanks,
> Reuven.