Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 10BFA10869 for ; Tue, 20 Jan 2015 14:28:27 +0000 (UTC) Received: (qmail 3996 invoked by uid 500); 20 Jan 2015 14:28:26 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 3932 invoked by uid 500); 20 Jan 2015 14:28:26 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 3920 invoked by uid 99); 20 Jan 2015 14:28:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2015 14:28:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [109.205.75.167] (HELO ms2.gemsystem.cz) (109.205.75.167) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2015 14:27:57 +0000 Received: from localhost (unknown [127.0.0.1]) by ms2.gemsystem.cz (Postfix) with ESMTP id C59DD4CC69C for ; Tue, 20 Jan 2015 14:27:55 +0000 (UTC) Received: from ms2.gemsystem.cz ([127.0.0.1]) by localhost (ms2.gemsystem.cz [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Sxb9hLL5csNl for ; Tue, 20 Jan 2015 15:27:55 +0100 (CET) Received: from ideaKH (gate.gemsystem.cz [31.170.176.254]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ms2.gemsystem.cz (Postfix) with ESMTPSA id 76B484CC69B for ; Tue, 20 Jan 2015 15:27:55 +0100 (CET) Reply-To: From: =?iso-8859-2?Q?Karel_H=FCbl?= To: References: In-Reply-To: Subject: RE: Anyone using ...? Date: Tue, 20 Jan 2015 15:27:57 +0100 Organization: =?iso-8859-2?Q?Karel_H=FCbl?= Message-ID: <002c01d034bd$49e71a50$ddb54ef0$@gemsystem.cz> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002D_01D034C5.ABADA530" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQLD/luj9hOLFdq72q7x72/Q4gXMIprhcGAw Content-Language: cs X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. ------=_NextPart_000_002D_01D034C5.ABADA530 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Hi Roger, We plan to use Pivot with Groovy in our next project. Expected use cases: - Use closures instead of annonymous inner classes adapting common Pivot interfaces - typically component listeners, asynchronous actions - Use groovy beans for property bindable models. Now we use POJO's, so we need to implement model POJO, model property listener and property change notification in POJO. We expect, we could intercept property changes in Groovy using GroovyInterceptable.setProperty() and implement org.apache.pivot.collections.Map on groovy bean parent / trait. The goal is to be able to declare strictly properties on groovy model classes and do not implement (boilerplate) support for Pivot property change notifications. May be, the first use case could be somehow supported in future Pivot versions. I mean Pivot developers could have option to handle events of Pivot components by setting Lambda (Closure) handlers instead of implementing and registering custom listeners. Regards Karel From: Roger Whitcomb [mailto:Roger.Whitcomb@actian.com] Sent: Friday, January 16, 2015 12:21 AM To: Pivot Users; 'dev@pivot.apache.org' Subject: Anyone using ...? Hi, I'm curious about anyone using Pivot with either Java 8 Lambdas, or using Pivot with Scala or Groovy. If you are could you let us know with a few comments about your experiences (good or bad)? Basically thinking about changes / extensions to Pivot that we could work on for future versions to more easily / compactly support these newer languages. Thanks, ~Roger Whitcomb ------=_NextPart_000_002D_01D034C5.ABADA530 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable

Hi = Roger,

 

We plan to use Pivot = with Groovy in our next project. Expected use = cases:

-        = Use closures instead = of annonymous inner classes adapting common Pivot interfaces – = typically component listeners, asynchronous = actions

-        = Use groovy beans for = property bindable models. Now we use POJO’s, so we need to = implement model POJO, model property listener and property change = notification in POJO. We expect, we could intercept property changes in = Groovy using GroovyInterceptable.setProperty() and implement = org.apache.pivot.collections.Map on groovy bean parent / trait. The goal = is to be able to declare strictly properties on groovy model classes and = do not implement (boilerplate) support for Pivot property change = notifications.

 

May be, the first use = case could be somehow supported in future Pivot versions. I mean Pivot = developers could have option to handle events of Pivot components by = setting Lambda (Closure) handlers instead of implementing and = registering custom listeners.

 

Regards = Karel

From: Roger Whitcomb = [mailto:Roger.Whitcomb@actian.com]
Sent: Friday, January 16, = 2015 12:21 AM
To: Pivot Users; = 'dev@pivot.apache.org'
Subject: Anyone using = ...?

 

Hi,

          =       I’m curious about anyone using = Pivot with either Java 8 Lambdas, or using Pivot with Scala or = Groovy.  If you are could you let us know with a few comments about = your experiences (good or bad)?

          =       Basically thinking about changes / = extensions to Pivot that we could work on for future versions to more = easily / compactly support these newer = languages.

 

Thanks,

~Roger Whitcomb

 

------=_NextPart_000_002D_01D034C5.ABADA530--