Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1EE079AF7 for ; Thu, 9 Feb 2012 19:52:17 +0000 (UTC) Received: (qmail 45989 invoked by uid 500); 9 Feb 2012 19:52:17 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 45950 invoked by uid 500); 9 Feb 2012 19:52:16 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 45942 invoked by uid 99); 9 Feb 2012 19:52:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 19:52:15 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of brian.leroux@gmail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-tul01m020-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 19:52:09 +0000 Received: by obhx4 with SMTP id x4so2985378obh.6 for ; Thu, 09 Feb 2012 11:51:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=T5mATNmZXTVlmgeJfisdHf/PgY1DcL6joFTlbGY5e/I=; b=IzpHIIFqtzUkBaFJ+EGL+Wzt3P19COp/TUWUYSIDuu9ZLwac+0jD6MKq4KvJLMdXTX PRtG1oIR5n3VKr/3KpkiWgy3co+lK+G7Ws4x3FckgPQPbuHCoEs6JBVgROeUTd80YOBv xBU15WvaMBdCAGGhCUPDts+cQe0HieJqgLabM= MIME-Version: 1.0 Received: by 10.182.182.69 with SMTP id ec5mr3343466obc.48.1328817108155; Thu, 09 Feb 2012 11:51:48 -0800 (PST) Sender: brian.leroux@gmail.com Received: by 10.60.28.68 with HTTP; Thu, 9 Feb 2012 11:51:48 -0800 (PST) In-Reply-To: References: <843717901-1328813116-cardhu_decombobulator_blackberry.rim.net-264734803-@b1.c19.bise6.blackberry> Date: Thu, 9 Feb 2012 11:51:48 -0800 X-Google-Sender-Auth: VQPazNDNpLfFIX4_M0m8IvZ732U Message-ID: Subject: Re: Work Items for 1.5.0 - unified JS From: Brian LeRoux To: callback-dev@incubator.apache.org Cc: "gtanner@gmail.com" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org downloading windows 7 now... I haven't writ code for windows since 2000 was= new! *shudders* On Thu, Feb 9, 2012 at 11:42 AM, Filip Maj wrote: > I'll do the same and work on a patch. I'll post links to patch source so > we can collaborate on getting this done, Jesse/Gord. I'll aim for next > week, and Jesse we can sync up in person. > > On 12-02-09 7:45 PM, "gtanner@gmail.com" wrote: > >>I am setting up a windows dev environment. >> >>I was a c# dev in a past life so I can see if I can step up on wp7 too. >> >> >>Sent on the TELUS Mobility network with BlackBerry >> >>-----Original Message----- >>From: Jesse >>Date: Thu, 9 Feb 2012 10:35:15 >>To: >>Reply-To: callback-dev@incubator.apache.org >>Subject: Re: Work Items for 1.5.0 - unified JS >> >>Re: shipping date. >>I can say with almost absolute uncertainty that I alone will not get this >>into WP7 for 1.5 release at the end of the month. >> >>On Thu, Feb 9, 2012 at 9:48 AM, Patrick Mueller wrote= : >> >>> On Thu, Feb 9, 2012 at 12:07, Filip Maj wrote: >>> >>> > Three parts to this email. First: >>> > >>> > >[ Whole bunch of discussion] >>> > > >>> > >Perhaps it's time to define "AMD-lite" runtime somewhere? >>> > >>> > ^^ Pretty much. >>> > >>> > In my mind the simplest way to distill the discussion down is: do we >>>want >>> > to employ almond or some other AMD+CJS-compliant loaders, and make it >>> > obvious to users that this comes with cordova, or roll our amdlite or >>>smd >>> > or whatever you want to call it, a cut-down version tailored for our >>> > needs, and hide the fact we use it (closure that stuff up)? >>> > >>> >>> If we closure it up, we don't need to say anything about >>>AMD/AMD-lite/SMD. >>> =A0If we have a version that we don't closure up, we do neede to talk >>>about >>> the AMD-ish API. =A0Easiest path is to closure it up, I guess. =A0I mig= ht >>>press >>> for an option on the build script, which we wouldn't use for the >>>production >>> cordova.js, to allow for other options: >>> >>> - don't closure it up >>> - don't closure it up, and don't prepend our AMD-ish runtime, allowing >>> someone else to prepend theirs (eg, require.js, Dojo, etc) >>> >>> >>> > Second: >>> > >>> > One thing Mike and I chatted about today was the various platform >>> > definition files ... It used a >>> > JSON convention that currently is something like: >>> > >>> > [[icky crap elided]] >>> > >>> > ... One convention that could be employed is >>> > having a string value instead of an object if it's a module path alon= e >>> (no >>> > children). Mike took it a different route and was thinking of >>>something >>> > string-based like: >>> > >>> > { >>> > =A0"window.PhoneGap":"lib/phonegap", >>> > =A0"window.PhoneGap.exec":"lib/phonegap/exec" >>> > } >>> > >>> >>> This was the sort of thing I was thinking about. =A0Rather than object >>> structures, we can use strings with path structures ("." or "/" or >>>whatever >>> delimited). >>> >>> >>> > Third: >>> > >>> > I really want to ship cordova-js for 1.5. There is a lot that can be >>> > improved, but I'm hoping that improvements can be slowly introduced >>>over >>> > the next few releases. I am hoping that none of the issues that you >>> > brought up, Pat, are "show-stoppers". >>> > >>> >>> +1 on shipping a "built from modules" cordova.js for 1.5. =A0Anyway we >>>can do >>> that. =A0It's a step in the right direction. =A0Some implementation cho= ices >>> imply (in my mind) show-stoppers, like shipping almond 0.3 - so we don'= t >>> use those implementation choices. >>> >>> -- >>> Patrick Mueller >>> http://muellerware.org >>> >> >