Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 25692 invoked from network); 10 Aug 2007 14:54:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Aug 2007 14:54:38 -0000 Received: (qmail 86973 invoked by uid 500); 10 Aug 2007 14:54:26 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 86938 invoked by uid 500); 10 Aug 2007 14:54:26 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 86927 invoked by uid 99); 10 Aug 2007 14:54:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2007 07:54:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [199.198.220.58] (HELO cibc.ca) (199.198.220.58) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2007 14:54:22 +0000 Received: from ([159.231.7.20]) by cbmcc-si-im2.cibc.ca with ESMTP id 5502699.17444612; Fri, 10 Aug 2007 10:53:36 -0400 Received: from CBSCC-X3-MBVS01.ad.cibc.com ([159.231.1.11]) by cbmcc-x3-smtp01.ad.cibc.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 10 Aug 2007 10:53:36 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: struts1 or struts 2? Date: Fri, 10 Aug 2007 10:53:35 -0400 Message-ID: In-Reply-To: <1420.170.201.180.136.1186669471.squirrel@webmail.chiron.lunarpages.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: struts1 or struts 2? thread-index: AcfakS4R7a+esFctTtSIYSvc2oeCNwAu5IhA From: "Asthana, Rahul" To: "Struts Users Mailing List" X-OriginalArrivalTime: 10 Aug 2007 14:53:36.0193 (UTC) FILETIME=[3AB88B10:01C7DB5E] X-Virus-Checked: Checked by ClamAV on apache.org Hi Ted/Frank, Well, The first project I did in the industry,(I was a trainee then) in = 2000 was a full scale ajax(of course,we called it something else) = project. Ajax was used out of compulsion.We had a gigantic user entry = form with around 100 controls;which was divided into 5 tabs, which were = actually layers/divs. It could not be one single page\form due to = constraints of user experience; and it could not be five different jsps = because the tabs had inter-related field validation rules. We used ajax for populating dependendent combo boxes and showing error = messages based on server side validations.It did not make sense to post = the whole gigantic form for showing an error message.I still dont see = how we could have done that without ajax.The challenges were kind of = similar to DOJO users of today.Large javascript files made the pages = heavier to load. Otherwise, it worked out quite well. By the way, have any of you done any performance metrics on an ajax = based implementation vs a non ajax based one? rgds Rahul -----Original Message----- From: Frank W. Zammetti [mailto:fzlists@omnytex.com] Sent: Thursday, August 09, 2007 10:25 AM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: Re: struts1 or struts 2? On Thu, August 9, 2007 8:24 am, Ted Husted wrote: > IMHO, if we had today's JavaScript/CSS/HTML environment available to > us in 1998, then JSP, ASP, JSF, PHP, and all the rest of it, would not > exist. We did all these things to make up for the shortcomings of the > client-side environment, and, since then, the key shortcomings have > been addressed. Great observation IMO, and it couldn't be more true. I always like to tell the story of a Java users group I was at maybe two years ago now... the speaker was talking about AJAX and he said that the people who know what AJAX is at that point are the same people who are pissed about it because frankly it hasn't been anything new for them for some time! I have one app that was put in production in 1998 ironically, the year = you picked here Ted, that you'd look at today and say it was AJAX, an RIA, = but it didn't use what we'd call AJAX now (hidden iFrame that got Javascript back which executed upon return and automatically updated and hide and showed a variety of DIVs on the page... in fact, this is the extreme = case because absolutely every view the user can ever see in the app is loaded up front and never generated server-side, it's only data being plugged into fields after startup). If I'd have thought for one second that = what I was doing was any big deal, unusual in some way, it could have been my name going down in history as having invented AJAX instead of Jesse = James Garrett! And the worse part is I know I'm not the only one that can say that! LOL I've had the interesting experience of witnessing an evolution here at work... in 1998, I was the only one building apps in that fashion at = this company, everyone else was very much at the other extreme, the whole = "let the server do everything" approach as you described, thin pages, etc.=20 Everyone thought I was nuts (I only got away with it because my projects are always successful, something not everyone here can claim), I got = into some really heated dehates with folks over the years about it too. Now, things are very much swinging the other way... apps are being built now = in much more RIA ways, it's much more mainstream thinking. I think that evolution is playing itself out across many organizations now, and that's my point: there's a critical mass now, and the mindset = is starting to change, and Ted's right, many of the technologies we're saddled with today would never have needed inventing if everyone had listened to me (or the others that were doing what I did in various orgamizations) back in 1998! LOL > -Ted. Frank --=20 Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: fzammetti@hotmail.com Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and "JavaScript, DOM Scripting and Ajax Projects" (2007, Apress, ISBN 1-59059-816-4) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org