Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 46898 invoked from network); 1 Aug 2008 14:33:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Aug 2008 14:33:24 -0000 Received: (qmail 87437 invoked by uid 500); 1 Aug 2008 14:33:22 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 87172 invoked by uid 500); 1 Aug 2008 14:33:22 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 87161 invoked by uid 99); 1 Aug 2008 14:33:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 07:33:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of brian@pontarelli.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 14:32:24 +0000 Received: by py-out-1112.google.com with SMTP id p76so551369pyb.10 for ; Fri, 01 Aug 2008 07:32:32 -0700 (PDT) Received: by 10.65.228.18 with SMTP id f18mr604729qbr.30.1217601151773; Fri, 01 Aug 2008 07:32:31 -0700 (PDT) Received: from ?192.168.1.3? ( [75.166.211.54]) by mx.google.com with ESMTPS id s35sm2409315qbs.13.2008.08.01.07.32.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 01 Aug 2008 07:32:31 -0700 (PDT) Message-Id: From: Brian Pontarelli To: "Struts Developers List" In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: If your evaluating new template engines, what about ZipScript Date: Fri, 1 Aug 2008 08:32:11 -0600 References: <48929F62.6020307@alsutton.com> <8b3ce3790808010320t3eca5912sf0044a644ff5a38@mail.gmail.com> X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org As I'm never a big fan of relying solely on the fact that technologies have been "used", I'd compare feature sets. Here's what I like from GXP: - Pre-compile for performance - Type safe - Injectable - White space reduction - l10n and i18n support (although difficult to determine exactly how they work) - Componentized - Auto-escaping Here's what I don't like - XML syntax yet again - Somewhat complex - Lacking sufficient documentation for all features I haven't yet, but I would be comparing feature sets rather than usage. At the same time though, they can both be used for results. I'd probably only want to use one of them for tag files to reduce complexity, but anyone interested in writing a pluggable tag system could easily support both for tag files as well. -bp On Aug 1, 2008, at 6:35 AM, Joe Hudson wrote: > Thank you for taking the time to evaluate zipscript. > > This is not currently being used in any real world apps because it is > new. That is certainly a valid concern. It is kind of a catch 22 > because how can you ever be used in a real world app if people only > want an engine that is being used in a real world app? > > Anyway, I'd like to address my assumption of your main concerns > regarding real world app usage: > > 1) Is it reliable? > All of the functionality is unit tested before a release is performed > and there are many unit tests which can be seen here: > - Unit Tests: http://code.google.com/p/zipscript/source/browse/#svn/ > trunk/core/src/main/test/test/hudson/zipscript > - Referenced Templates and Results: > http://code.google.com/p/zipscript/source/browse/#svn/trunk/core/src/ > main/test/templates > > 2) How does it perform? > There is a unit test that merges a template consisting of multiple > macro references (called PerformanceTest) > http://code.google.com/p/zipscript/source/browse/trunk/core/src/main/test/test/hudson/zipscript/PerformanceTestCase.java > This test, when performed on my laptop, can perform 1000 merges in > about 1 second. > > > As to the other issues of porting to other languages. That isn't > currently in the plan now but certainly would be something on the > plate if this language got a foothold. > > Joe > > > On Fri, Aug 1, 2008 at 6:20 AM, Ted Husted wrote: >> For me, it's the "real world apps", *plus* the interest in porting >> GXP >> to other platforms, like C++, and Ruby. Personally, I'd like to add >> C# >> to that list. ASPX, like JSF, has its charms, but many .NET >> developers >> (including me) would like alternatives. >> >> I do find the zipscript YUI examples interesting, since we are also >> looking for an alternative approach to supporting Ajax with the >> Struts >> tags. >> >> -Ted. >> >> On Fri, Aug 1, 2008 at 1:30 AM, Al Sutton >> wrote: >>> Joe, >>> >>> My main reason for backing GXP is that it's been used in high >>> volume "real >>> world" apps by Google and so has been proven to scale. >>> >>> Does ZipScript have the same real world testing, and if so where >>> is it used? >>> >>> Al. >>> >>> >>> Joe Hudson wrote: >>>> >>>> Hello, >>>> >>>> With all the talk about GXP, I wanted to let you know about another >>>> template engine called ZipScript (zipscript.org). >>>> >>>> Ok, you're probably saying... another one??? but this has some >>>> distinct advantages and I would love for you to give it a try - I >>>> really think you'll be happy you did. >>>> >>>> 1) it can be used to create complex UI components >>>> 2) it has a powerful non XML-based syntax (which is helpful since >>>> the >>>> most common output is XML) >>>> 3) it can also be used to get more than just text from expressions >>>> (like booleans or objects) - great for having smarter config >>>> properties >>>> >>>> >>>> Here are some quick links: >>>> - homepage: >>>> http://zipscript.googlecode.com >>>> - Yahoo! UI macro examples: >>>> http://code.google.com/p/zipscript/wiki/YUIMacros >>>> - Language Syntax Examples >>>> http://code.google.com/p/zipscript/wiki/SyntaxExamples >>>> >>>> Thanks >>>> >>>> Joe Hudson >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org >> For additional commands, e-mail: dev-help@struts.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org > For additional commands, e-mail: dev-help@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org