My fault! I asked Villiam to do it.
Basically I started work on the account management pages, and Villiam needed something to
work on so I asked if he wanted to continue on it. What we saw was that since all
processing of forms are done by REST endpoints, JSF was really only used as a (very
complex) template engine.
The benefits of FreeMarker over JSF are:
* More lightweight - we don't even need to do a servlet forward as REST resources can
directly return the page themselves
* Templates are a lot friendlier to write - developers should be able to define their own
templates for login, registration, etc. and FreeMarker has a lot simpler syntax than JSF
(Facelets), especially for developers without previous JSF experience
* Same template syntax/engine can be used for emails
I agree this should have been raised on the ML first and I apologize for not having done
so.
----- Original Message -----
From: "Bill Burke" <bburke(a)redhat.com>
To: keycloak-dev(a)lists.jboss.org
Sent: Thursday, 19 September, 2013 1:45:05 PM
Subject: [keycloak-dev] Viliam Re: What is everybody working on?
Why would we benefit moving to FreeMarker? I support your decision,
just curious and want to know why. Also, what else could you work on?
BTW, making decisions like a JSF->FreeMarker switch needs to be done
together on this list. I (and others?) didn't even know you were doing
this. This is important to avoid things like messy merge conflicts.
On 9/19/2013 5:03 AM, Viliam Rockai wrote:
> I'm working on KEYCLOAK-60 Replace JSF in forms with a template engine.
> It's nearly done, I'm just working on some final refinements/testing. I
> have used FreeMarker as a templating engine:
>
http://en.wikipedia.org/wiki/FreeMarker
>
> I've done only the JSF -> FreeMarker transition in this step, next step
> would be to adapt some cool design from Gabriel.
>
> Viliam
>
> On 09/19/2013 03:29 AM, Bill Burke wrote:
>> This may change depending on what we decide for M1, but I'm working
>> right now on:
>>
>> * Getting Gabriel's new screens incorporated as best as possible into
>> existing admin UI
>> * I've designed on paper the core screens for admin UI. I'll be
>> implementing based on Gabriel's existing styles. I'll need to have a
>> feedback iteration loop with Gabrield to move forward. It has to be
>> give and take. Meaning, I need to be allowed to improve Gabriel's
>> screens and vice-versa. It's seemed more one-way so far...
>> * Reorganizing Javascript so we can work in parallel together
>>
>> I'll have something to show by next Tuesday. I'll be committing early
>> and often before then if you want to see what's going on.
>>
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev