Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9948A1005D for ; Mon, 12 Aug 2013 14:35:35 +0000 (UTC) Received: (qmail 51891 invoked by uid 500); 12 Aug 2013 14:35:35 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 51868 invoked by uid 500); 12 Aug 2013 14:35:35 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 51859 invoked by uid 99); 12 Aug 2013 14:35:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Aug 2013 14:35:34 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of agrieve@google.com designates 209.85.220.50 as permitted sender) Received: from [209.85.220.50] (HELO mail-pa0-f50.google.com) (209.85.220.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Aug 2013 14:35:29 +0000 Received: by mail-pa0-f50.google.com with SMTP id fb10so7637870pad.9 for ; Mon, 12 Aug 2013 07:35:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=ZPuYpFMsTa4Y0Irb13WuZOgB/7ywfguIg9IxgfH6GyM=; b=Ltr9BOJsok945pmnwl4aanr22hVXNDrUTqiwPrkZhabwXdM3G+s0PMI1gl6gV35CCv H++yWEzY6DlDvRBVDVlkLws90ouKazNukjCWSUpCQLXXF9+3weyXbNFjTtAQ9hMzbQfI H0r8jUf6ta48cQ1XQ6onmwNUMAkA0kw+wL0VyJjU4g9dvmtJU9D8phPcIaXxDX1RZ/Tp v63hKEGa1m5vNd8O+2VjqxLHN+ZKILQbbkGbLTFX66PN8wzsjdYDm/3qgyCOcZqs2w/V p0b7oo6ZnzdaMPUTPJ8MqA+utJMNTnoVoKiBf+9pYWpMaWPDgScL4Ug1Q32TyjsDVSwu zyhg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=ZPuYpFMsTa4Y0Irb13WuZOgB/7ywfguIg9IxgfH6GyM=; b=iIeu8X+GoSZ9sAHW7My3ToTyh10U17uogDqkfQDlFGon52waLQyXM3VY8eG5Z/+D3o +gML36RFkNwJjWRDbFR3YXFSGbFXfUDHJQvBqDXpSsj/kOJm4YbkTLrNpuFRFLBQgTCa nc/Xh+1Klr8uDp7fNM9jmPvsh3GVrzSPCAbOo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=ZPuYpFMsTa4Y0Irb13WuZOgB/7ywfguIg9IxgfH6GyM=; b=BlPpts2CenBtWCjdoUVg3xa4MQ8QeKMwBTVNoHpGg4PjnF/8WPPUovhZ5Hg8hoCORn AlTnniL03i8smHr7bPCinnKoG3nKumw9c2P7M2aHl2s6vXMPL+20xDK3eStd5W1N4cwF ABIWWJ368WX27qRl23k/OnogG2/3PrKoDm2uIJbudGS4Cjz9TFRFYrTPUv7k59aKWRuQ +uY5UxaY2GSFHWZsoPr+9Lz1Fr0gRGzprQtJQIvu1tV6xv+Rank8S5jiEuvBOhC0Di8Z KLnBZqwLL7RQIKUnLRySXCUWWktu8D9UTpsbHwp3gQurKePs6bzOiUD0oTw1m4+qboUf pJPQ== X-Gm-Message-State: ALoCoQkw5CgK2yddnDv+xl/GB76wqfGTRPdE5NprP7d4rIfBGoRXguOn0syzdbwrqbk/5lOnWkBrjjWqQkkbXC06X5s/zwfqgwTAr8Vb4gSHHWdEa03VJqxUmSHzUPY1sZc0jW5wvM230h+BZgV77UHsEHglL2J9xSLwaJigAXm+lrCS4iR28+EBEvxHS6Ir3SFP8iL+KZyIM5gxkz4GotmGgYLiL2jcpg== X-Received: by 10.66.122.99 with SMTP id lr3mr24837708pab.187.1376318107776; Mon, 12 Aug 2013 07:35:07 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.68.28.33 with HTTP; Mon, 12 Aug 2013 07:34:47 -0700 (PDT) In-Reply-To: References: From: Andrew Grieve Date: Mon, 12 Aug 2013 10:34:47 -0400 X-Google-Sender-Auth: JVXR2C7ro53hy26ambcw_G_phAw Message-ID: Subject: Re: Cordova-js in a 3.0 world To: Andrew Grieve Cc: dev Content-Type: multipart/alternative; boundary=047d7b2e0e8fe99a9104e3c1075c X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2e0e8fe99a9104e3c1075c Content-Type: text/plain; charset=ISO-8859-1 So - I'll create JIRA issues for putting cordova-plugin-argscheck and cordova-plugin-urlutil in cordova-labs. We should probably wait until plugman-registry is ready before executing on this though, since that makes listing plugin dependencies much easier (plus, I don't think we can really push updates to plugins at all until the registry comes to be) On Mon, Aug 12, 2013 at 10:30 AM, Andrew Grieve wrote: > > > > On Fri, Aug 9, 2013 at 6:30 PM, Brian LeRoux wrote: > >> I'm very interested in the idea of getting as much of our architecture >> broken into discreetly reusable bits. >> >> Feels like those might be just best as vanilla node modules. >> >> On Fri, Aug 9, 2013 at 3:13 PM, Filip Maj wrote: >> > Ideas are neat, sure :) what I want to know is what caused the ideas to >> > come up in the first place? What scenarios exist that these cases would >> be >> > beneficial? I am simply searching for grounding, not shooting them down. >> > >> > On 8/9/13 2:18 PM, "Michal Mocny" wrote: >> > >> >>Andrew originally wrote: "Of these, the only one I think is actually a >> >>good >> >>idea is #1, but thought it might be neat to talk about the others." >> >> >> >> >> >>On Fri, Aug 9, 2013 at 3:04 PM, Filip Maj wrote: >> >> >> >>> >> >>> >Idea #1: Separate plugin helper APIs into distinct plugins >> >>> >> >>> Makes perfect sense to me. >> >>> >> >>> >Idea #2: Separate exec bridge into a plugin >> >>> >> >>> What's the rationale behind this? >> >>> >> >>> >Idea #3: Put the pluginloader with plugman so that it can load the >> exec >> >>> >bridge plugins >> >>> >> >>> I think the concept of loading plugins belongs in the JS, so it should >> >>> remain in cordova-js. >> >>> >> >>> >Idea #4: Put start-up logic in a plugin >> >>> >> >>> It sounds like ideas 2-4 are all related. What is your vision here, >> >>>Andrew? >> >>> >> >>> >> > >> > > I was trying to see how much of cordova-js could be split out. > > e.g. Maybe we could even get to the point where we don't have a cordova-js > so that platform JS is closer to the native platform code. > e.g. Maybe we wouldn't have to copy in cordova.js for each platform > release, and instead just have a platform depend on a plugin > "cordova-plugin-corejs". We could then have JS patch release updates happen > independently from the native code. Right now plugins are easier to update > than platforms. > > > > --047d7b2e0e8fe99a9104e3c1075c--