incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: UI related iteractions from Scala Core
Date Mon, 27 Apr 2009 12:42:49 GMT
They've already been found.  Just have to create individual JIRA items.

D.


On Mon, Apr 27, 2009 at 1:21 PM, Darren Hague <dhague@fortybeans.com> wrote:

> Hi Dick,
>
> Feel free to raise these as JIRA tickets and assign them to me as you find
> them. I agree that moving HTML out of the Scala source is a Good Thing (TM).
>
> Cheers,
> Darren
>
> >I've been looking at the Scala code recently and have found a series of
> >classes that contain a large amount of HTML Code (for example,
> >snipper/UserSnip.scala<
> http://svn.apache.org/viewvc/incubator/esme/trunk/server
> >/src/main/scala/org/apache/esme/snippet/UserSnip.scala?view=markup>
> >which
> >contains code to display followers and followed amongst other
> >things) .  There are some classes - such as
> >ActionView.scala<
> http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/m
> >ain/scala/org/apache/esme/view/ActionView.scala?view=markup>
> >- where
>  >the hard-coded HTML is even more prevalent.
> >
> >This tight coupling of HTML and Scala/lift code may make it difficult for
> >those wishing to contribute/patch a specific UI element to know exactly
> >where/how to do so.
> >
> >What about another option where JSON streams are being produced by the
> Scala
> >code on the server and then the UI developer could decide what technology
> to
> >use to display the data. At the present time, use of cool UI technology
> >(such as JQuery) is difficult / impossible to use on many screens
> (Actions,
> >Tracks, etc.)
> >
> >D.
>
>
>
> --
> darren.hague@fortybeans.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message