Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 58331 invoked from network); 10 Sep 2007 13:56:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2007 13:56:04 -0000 Received: (qmail 13098 invoked by uid 500); 10 Sep 2007 13:55:56 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 13081 invoked by uid 500); 10 Sep 2007 13:55:56 -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 13070 invoked by uid 99); 10 Sep 2007 13:55:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 06:55:56 -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 ted.husted@gmail.com designates 209.85.198.189 as permitted sender) Received: from [209.85.198.189] (HELO rv-out-0910.google.com) (209.85.198.189) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 13:55:54 +0000 Received: by rv-out-0910.google.com with SMTP id c24so928586rvf for ; Mon, 10 Sep 2007 06:55:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=7bqkLx41WXzZddrTSWhUaXYRy1aQ3foxDXCVfZPsqgk=; b=SQZ6/OfUO39OP9FfhFmrE5pgCIL8S/4nSa3ge74J+ywnOyJ9nR1JmbEwkUWV9/UpQ4E/Ge8cKQVCQpTxIhx+OYU7yhkDQx9Q4EZcirBkD6yEhmEj8nWIWvVPzhnbiBg1jVc0TZqlf2OuRmId91JLHSBy5lmfHZqjdRWqwLQB5ng= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=rdB9e/TywqKpDPDTWeIoAc5UErIz/IUEF+/JxdsS6EZCbkKPFMQ+4jiMQkQXFPu9KgYvBIsgo/WB2oYS7ketS9WOBIFEQiLQ/neBRLds1u2SJpJYmrOnRX5S1FukguX/WvO/V6lx++YlKXSaTCENiiFLhMNvZk4xWEHQiganK5o= Received: by 10.141.203.12 with SMTP id f12mr1835557rvq.1189432534434; Mon, 10 Sep 2007 06:55:34 -0700 (PDT) Received: by 10.141.201.12 with HTTP; Mon, 10 Sep 2007 06:55:34 -0700 (PDT) Message-ID: <8b3ce3790709100655w58138977v33a5a6ab3b97b53@mail.gmail.com> Date: Mon, 10 Sep 2007 09:55:34 -0400 From: "Ted Husted" Sender: ted.husted@gmail.com To: "Struts Developers List" Subject: Re: [s2] The death of the .action extension In-Reply-To: <436d9a250709081858i6d4b56b1heb7e55030890b2a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <436d9a250709080032v4bd74f61vb4eb18c9b0231530@mail.gmail.com> <46E2A7C2.90703@gmail.com> <436d9a250709080737n278923d3u43c73e2071d6f591@mail.gmail.com> <46E2C592.1090107@gmail.com> <436d9a250709081858i6d4b56b1heb7e55030890b2a@mail.gmail.com> X-Google-Sender-Auth: 65f33241d0342ae5 X-Virus-Checked: Checked by ClamAV on apache.org I'm on board with Don's direction, and I'd like to try doing a ReSTful, Zero-Configuration, Code Behind MailReader this week, based on Brian's SmartURLs plugin, which is putting it all together in a single package. I believe the key point is that we have to develop architectures and coding paradigms that let us "say it once". A very good way to say it once is to say it with naming conventions, and to say it the URI. (And when that doesn't work, annotations!) Many of us are already use conventions and packed URIs, we just haven't been telling the *framework* enough about our conventions so that it could follow along on its own. Personally, I don't see this as a move away from the WebWork or Struts coding styles, but a natural progression. (Code-behind is wildcards without the wildcards.) We've been trying to write applications this way all along. We just couldn't see the architectural forest through the XML-strewn trees. :) -Ted. On 9/8/07, Don Brown wrote: > Personally, I think we have a lot to learn from rails as they play > very well off the strengths of the action-based Model2 architecture. > Action-based frameworks strengths: > * Simple workflow as in URL -> Action -> View > * Intuitive (using conventions) URL -> Action mappings > * RESTful by being close the the HTTP protocol > * Scalable by not storing view state on the server > * Lightweight in terms of code size and concepts needed to master > > As our goal is to make developing scalable applications easier and > quicker, I think we have a lot to learn from rails. I hope to spend > some time beefing up the RESTful aspects of Struts 2 both for web > services and for regular HTML-based applications. You are right in > that there are a lot of options in Struts 2, and we need to do a > better job of providing a simple front to Struts 2 that doesn't > bombard you with all its options and features. > > As the web moves to embrace more and more Ajax and web service > functionality, I think Struts 2 and its action-based architecture will > be well-suited to meet those needs. If you want to drop components on > a page, obviously Struts 2 isn't for you, but if you want a framework > on which to build a scalable, public-facing web application supporting > mobile, web service, and Ajax clients, I hope Struts 2 will be the > logical choise. > > Don > > > > On 9/9/07, Tom Schneider wrote: > > Don Brown wrote: > > > Right, and that's why I didn't move to kill it off for 2.1. Give it > > > some time, let the feature get some exercise, then if all agree, we > > > could change the default later. As with any new feature, I'd put it > > > in a sort of experimental category for at least one major release. > > > > > So, do you have a final goal in mind for this or are you just working to > > open up options? I'd be very interested in hearing of the any options > > we have. Are we moving more towards Rails, or are there other better > > alternatives? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org