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 5350110FE9 for ; Mon, 12 Aug 2013 14:31:47 +0000 (UTC) Received: (qmail 37648 invoked by uid 500); 12 Aug 2013 14:31:46 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 37103 invoked by uid 500); 12 Aug 2013 14:31:30 -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 37075 invoked by uid 99); 12 Aug 2013 14:31:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Aug 2013 14:31:27 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of agrieve@google.com designates 209.85.192.181 as permitted sender) Received: from [209.85.192.181] (HELO mail-pd0-f181.google.com) (209.85.192.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Aug 2013 14:31:23 +0000 Received: by mail-pd0-f181.google.com with SMTP id g10so3459462pdj.40 for ; Mon, 12 Aug 2013 07:31:02 -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:content-type; bh=NDtebugSPfmtDX/h8ZyuUVUuQntL/K+PDUOwdBLDVYA=; b=m4DwwOMDtN081LRUUzyv6X/BfBs694LeTW/0pcs1QD10ZWIggYIIPE7ilLYwx3TDqX u109O0F2JjgBksuY9XcwzKEGjfLne+bZhDCMC/WQIZHqulZtq0MBi60YD7KSrJCgHQRa 714XDKPvzEgU+KatNBuNBv+44/L8Sa8SAFYtfg5ejwckupdvx+YZsxIdN87DLTzCVs4p E+LisypRmcFa5wZdFPaxxokMr2KUeKlTxma31sI9BWbdMxpxzzR+bFaPRChczmZGnmRq 8NGsp5WKh7iq4Oxv829g5uak9P18t2+fnYYQALI0TMVXWRh8vV2DDmMuFDsLWChgRk2W hD9Q== 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:content-type; bh=NDtebugSPfmtDX/h8ZyuUVUuQntL/K+PDUOwdBLDVYA=; b=iJPapwZKbpOM2vRnXUq5X1eEVU+pTyIeYfeo+RaiZrQwPea8ZAn2F7pm9iTZIm3SsB zz3TXAWMseVdl6z6v9B/Um8qsAiudTKPMtraFC/prPF7kjrhG9LMySgkUnJLN20tVV2p NdAi0AT3NIQdgUt41wMAWbtBFdtTqGOoT+JGs= 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:content-type; bh=NDtebugSPfmtDX/h8ZyuUVUuQntL/K+PDUOwdBLDVYA=; b=XVwhlWRfu2irnjGfKhhaCQDDB1mlIRARjNbcJvd7LK/mBNocCDJlSVxHbEWjMxK1VA +l77c7D/l12lo4C5cBPH6p/XSjQtvqwKxOz8jaMFX36YsU6fzc7+qG1ySPlazp2/bbWt kl0y5lrib1oT9Zv288ZOEUeoxDjmfxzvkir12/M8eGIJ0lfG5d0ayYsWO82drrezx1gK R8s8Skz0vRZypLWjWOfQJiVNeiQTnzEo3pWnqA6w1B6lVxn1xMx3XHm7NiOFxrdS0EIf 5oYXnRONLVOiWcUc7rlSKW7A0ibk9mt7dfrwLbkFZOel2NsO+x5qyjakqlrG/xSQJomf LvTQ== X-Gm-Message-State: ALoCoQnsDY9D0cjFqko/OjtSGqvtm8roXh1WIWPXdeyPGL7/WAQuVCYyDgdsnXEcWM53q4PFDUf2etwJeudHv3KgGuxh94mXurcvjE3HsV3Ebp1PlguHmI1b3Uy1M9885CNO5q2VzWnbn96cRa5cHdNk9rATywE/iIA9rPz8dBC85brZluVEmLi7FfKrbJE4Qha5rmeWXlgBMIS24J4F7dJFgGqakSrUTQ== X-Received: by 10.68.171.165 with SMTP id av5mr16247923pbc.18.1376317862380; Mon, 12 Aug 2013 07:31:02 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.68.28.33 with HTTP; Mon, 12 Aug 2013 07:30:42 -0700 (PDT) In-Reply-To: References: From: Andrew Grieve Date: Mon, 12 Aug 2013 10:30:42 -0400 X-Google-Sender-Auth: d_JvnDB-D-nywuMsEP72OblddLw Message-ID: Subject: Re: Cordova-js in a 3.0 world To: dev Content-Type: multipart/alternative; boundary=047d7b86f77e49228704e3c0f9a0 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b86f77e49228704e3c0f9a0 Content-Type: text/plain; charset=ISO-8859-1 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. --047d7b86f77e49228704e3c0f9a0--