Return-Path: Delivered-To: apmail-click-dev-archive@www.apache.org Received: (qmail 62647 invoked from network); 3 Jul 2010 04:45:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jul 2010 04:45:18 -0000 Received: (qmail 10712 invoked by uid 500); 3 Jul 2010 04:45:18 -0000 Delivered-To: apmail-click-dev-archive@click.apache.org Received: (qmail 10657 invoked by uid 500); 3 Jul 2010 04:45:16 -0000 Mailing-List: contact dev-help@click.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@click.apache.org Delivered-To: mailing list dev@click.apache.org Received: (qmail 10644 invoked by uid 99); 3 Jul 2010 04:45:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jul 2010 04:45:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jul 2010 04:45:12 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o634ioVc017109 for ; Sat, 3 Jul 2010 04:44:50 GMT Message-ID: <28032827.187481278132290270.JavaMail.jira@thor> Date: Sat, 3 Jul 2010 00:44:50 -0400 (EDT) From: "Bob Schellink (JIRA)" To: dev@click.apache.org Subject: [jira] Issue Comment Edited: (CLK-347) Module support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CLK-347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884894#action_12884894 ] Bob Schellink edited comment on CLK-347 at 7/3/10 12:44 AM: ------------------------------------------------------------ > 1) Click should have modularity support. Where developers can write their own click modules and use the same module on different applications. Are you saying you want to build a full blown stand-alone application which can then be dropped into another Click application? There are many question that pop into my head at this stage: - How do you expect the module to become aware of the main application BorderPage? - How will the module plug into the main application menu system? - How will the module third-party jar dependencies and configurations be handled? - What about the module's DataSource? - What about the entities of the module and how will the main application ORM filter influence the module ORM settings? By this I mean the Open Session In View Filter which is the most common for web apps. I also think we need to differentiate between modules and the way to manage a big project. One can certainly break a big app into smaller modules (Eclipse subprojects), but they are still part of the same application and are tested as a whole. However creating stand-alone application modules which are dropped into a main application is not a simple task. was (Author: sabob): > 1) Click should have modularity support. Where developers can write their own click modules and use the same module on different applications. Are you saying you want to build a full blown stand-alone application which can then be dropped into another Click application? There are many question that pop into my head at this stage: - How do you expect the module to become aware of the main application BorderPage? - How will the module plug into the main application menu system? - How will the module third-party jar dependencies and configurations be handled? - What about the module's DataSource? - How will the module fit into the main app menus? - What about the entities of the module and how will the main application ORM filter influence the module ORM settings? I also think we need to differentiate between modules and the way to manage a big project. One can certainly break a big app into smaller modules (Eclipse subprojects), but they are still part of the same application and are tested as a whole. However creating stand-alone application modules which are dropped into a main application is not a simple task. > Module support > -------------- > > Key: CLK-347 > URL: https://issues.apache.org/jira/browse/CLK-347 > Project: Click > Issue Type: Improvement > Components: core > Reporter: Bob Schellink > > Add module support to Click core. Some code has been committed here: > http://click.svn.sourceforge.net/viewvc/click/trunk/sandbox/sabob/plugin/ > Note that with the recent work done on CLK-343 the module code wont compile anymore. > A related issue is: CLK-328 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.