cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Mocny <mmo...@chromium.org>
Subject Re: Wondering what folks think about the default project
Date Thu, 11 Jul 2013 19:09:32 GMT
But outside of CLI you are the one who sets up your app, right?

This has specifically to do with the "cordova create" step starting with a
copy of helloworld which is not empty.  I think.

-Michal


On Thu, Jul 11, 2013 at 2:46 PM, Jesse MacFadyen <purplecabbage@gmail.com>wrote:

> +1 to going back to an empty page that simply includes cordova.js
> This applies to more than just CLI btw, so I don't think using a flag
> is the way.
>
>
> Cheers,
>   Jesse
>
> Sent from my iPhone5
>
> On Jul 11, 2013, at 11:40 AM, Shazron <shazron@gmail.com> 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 <mmocny@chromium.org>
> 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 <raycamde@adobe.com> 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:
> >> <!DOCTYPE html>
> >> <html>
> >> <head>
> >> <script src="cordova.js"></script>
> >> </head>
> >>
> >> <body>
> >> </body>
> >> </html>
> >>
> >>
> >> 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" <anis.kadri@gmail.com> 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 <raycamde@adobe.com>
> > 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?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message