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 DF67010B63 for ; Thu, 11 Jul 2013 18:45:43 +0000 (UTC) Received: (qmail 24239 invoked by uid 500); 11 Jul 2013 18:45:42 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 24217 invoked by uid 500); 11 Jul 2013 18:45:42 -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 24169 invoked by uid 99); 11 Jul 2013 18:45:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 18:45:41 +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 mmocny@google.com designates 209.85.215.177 as permitted sender) Received: from [209.85.215.177] (HELO mail-ea0-f177.google.com) (209.85.215.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 18:45:15 +0000 Received: by mail-ea0-f177.google.com with SMTP id j14so5818788eak.36 for ; Thu, 11 Jul 2013 11:44:54 -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 :x-google-sender-auth:message-id:subject:to:content-type; bh=xbu1ypIzmBbWAAq0LWlGNrshdTrGEiTBvCxs2ojChtQ=; b=SiCwQLc97eKeeXXZ4fhHtU7Q3s6axMfIiSlPE1YDPmiLg6+hYp5v3QtnYWWFx7Hdzd qcfg+1lgh0mlXwy8Uk67d480uFXFBuxyTv7qAc4w7QPNC9tlSl0SeOF5S3ReOmSeD+aP XucUfwKY+SB4MCnPNogBo69gCKDAyTVsdM/0Z2+qt5VvGPWg8mqXpTGFGO+57LYYvQyc F+ne80Ver1kCOtkmTFqPh2CGmMECtQN/utu0HOtNYPCunTFmSOG/KyLYs9HGt4SrrSte r+HnTvOm06wOH2wVJ1YW25pH1/pPo9Xrw0xI9olKyJHB3FzOyC2SIgGrR1VJrimLgG00 9SxA== 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 :x-google-sender-auth:message-id:subject:to:content-type; bh=xbu1ypIzmBbWAAq0LWlGNrshdTrGEiTBvCxs2ojChtQ=; b=BwIcvqE1nkc9Z1eHvyb0DLf/qqAsixKtDUsdHl0HkOShLXJsr4Xz1CsoPlbaZBdcwS /9fboJxCWDER70hG7VEG2r3loxyMoRaXKYc1+87mmWre6r/tnei4sLwpAN/eezCjdKt+ kJxPnII57ZwGYRbnfqsw+KeAnakmDMsUysH28= X-Google-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 :x-google-sender-auth:message-id:subject:to:content-type :x-gm-message-state; bh=xbu1ypIzmBbWAAq0LWlGNrshdTrGEiTBvCxs2ojChtQ=; b=bBZxCYpMRhSLBjmJ15cAcZqdwL/dqdEPDJXOvhN6V134qcFuMK4b+q2sisPvY6Xf0e 8o9OptVsP9mErYZeHQvoDIphZyymXQ5m6Q9391OB5rn91DQaPVpR3EVakBEDgQK/tRlu qPcgleCkTcZiepmpEJ7EvaVbtsUtfARrAzXZjvhbYOcUmXlvQVrKGfxrzAtfJ5TqkB3J JAQa9ElF/EoOJ1+iHYB8n6Mg+PXrGqG98CrRka8/RGjSsegFTtiBz0WKEUY6hPKGPh/D bdueNfLvZpgw7VsKftUSQ7TafwPyUDMuj4c2TfazgLd1kAVWLfc/lkRYtaVbE/iNeGGu EVOQ== X-Received: by 10.15.24.129 with SMTP id j1mr43527289eeu.17.1373568294763; Thu, 11 Jul 2013 11:44:54 -0700 (PDT) MIME-Version: 1.0 Sender: mmocny@google.com Received: by 10.223.87.194 with HTTP; Thu, 11 Jul 2013 11:44:34 -0700 (PDT) In-Reply-To: References: From: Michal Mocny Date: Thu, 11 Jul 2013 14:44:34 -0400 X-Google-Sender-Auth: 0G3td7AstZLqS4V_tKMeKyE9opY Message-ID: Subject: Re: Wondering what folks think about the default project To: dev Content-Type: multipart/alternative; boundary=089e0160c02848fa7104e140ca48 X-Gm-Message-State: ALoCoQnEe/lZFsS6ng3baS0AZaSjN76jWEz7pkgcGS1qCt8jzHYfPASKT1+hr+SSpsZ3uHWPMcnSGO01gRbjr8FzQdU5rCIidlkSTW9eUhT6hHLxwtlN6JN48OygmZFGObjmWU6NLLqZRJ6BEII3o70vCj2WZgnNXVv+IsmzJSZrMVNvqP8I+wAz4g4pO46EI7CRpTK48VTO X-Virus-Checked: Checked by ClamAV on apache.org --089e0160c02848fa7104e140ca48 Content-Type: text/plain; charset=ISO-8859-1 Couldn't find an open issue, created CB-4153 and assigned to Fil for now. -Michal On Thu, Jul 11, 2013 at 2:39 PM, Shazron wrote: > +1 for a flag for specifying the template. > Adding this for iOS is easy in the create script (just parameterize the > template folder location) > > > On Thu, Jul 11, 2013 at 11:31 AM, Michal Mocny > wrote: > > > Fil has mentioned that we will eventually add a way to specify the > starting > > app template (ie, the "hello world" app) at cordova create time. > > > > In mobile-chrome-apps land we do this via an optional --source=... flag, > > and it accepts a few "magic" values such as --source=spec to > automatically > > create a spec test app. Perhaps whatever upstream solution we have for > > this could also include special values such as --source=blank. > > > > -Michal > > > > > > On Thu, Jul 11, 2013 at 1:50 PM, Ray Camden wrote: > > > > > To be clear, I want it to be nothing! > > > > > > Once I know how to use PG, how does this sample app help me? It > doesn't. > > I > > > have to remove the JS, remove the CSS, remove the HTML. > > > > > > This is my ideal: > > > > > > One HTML file containing: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > That's it. Let me decide what JS file to add, what CSS file to add, > etc. > > > > > > On 7/11/13 12:37 PM, "Anis KADRI" wrote: > > > > > > >What would be something better for developers ? Do you mean a better > > > >boilerplate app ? It used to be a sample app that uses all the APIs > but > > > >people thought that was too complicated and didn't look good. Most of > > the > > > >time it was broken too because it didn't get updated with newer > > releases. > > > > > > > > > > > >On Thu, Jul 11, 2013 at 10:28 AM, Ray Camden > > wrote: > > > > > > > >> I can add this as a Jira item if it makes sense, but, what do folks > > > >>think > > > >> about the following: > > > >> > > > >> I'd like to propose that the 'default' PG app created by the CLI be > > > >> changed. Right now it is cool. Looks neat. But is completely > > unnecessary > > > >> after you've after learned how to use PG. It's a great example for > > folks > > > >> learning PG, but for those of us who know and just want to get > started > > > >> quickly, it actually takes me more time to *remove* the HTML, CSS, > and > > > >>JS > > > >> used in the default then it does to create a new project. Not to be > > over > > > >> dramatic, but it really is the worst part of the process for me. > Then > > > >> again, I tend to make quite a few POCs with the CLI so this issue > hits > > > >>me > > > >> more often than normal probably. > > > >> > > > >> I know the CLI is just copying a template (I've blogged on this > > before), > > > >> but shouldn't the default be something better for developers? > > > >> > > > >> > > > > > > > > > --089e0160c02848fa7104e140ca48--