Hi Caleb,

On Sat, Jan 23, 2010 at 4:08 AM, Caleb James DeLisle <
[email protected]> wrote:

> I would like to make the new registration page an application because it
> will
> make it much easier for the wiki administrator to add fields because the
> code
> has to have the right to save information which is passed to it.
>
> It is also very big, about 300 lines of code and 300 lines of configuration
> and
> comments. Something this size doesn't seem suited for the templates
> directory.
>
> Finally it is highly extendable. It contains a large configuration which
> defines
> all of it's fields because it is meant to be edited and have more fields
> added.
> I think placing it in the templates section would put it where wiki
> administrators
> would not have such easy access to it.
>
> Available here are the current velocity template and the (slightly older)
> syntax2.0
> code snippet http://jira.xwiki.org/jira/browse/XWIKI-4778
>

By the way, a quick thought: I think the current validation code doesn't
check whether the username entered by the user exists already before trying
to register. It would be nice to check for that too.

Guillaume


> Caleb
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to