Yep, we fixed the weather demo: https://github.com/driftyco/ionic-weather
For the cli tool, I definitely agree it's not optimal. The reason we went with it is we are going to have backend services and tools that require authentication (similar to PhoneGap Build I believe), so I wasn't sure how to get that custom behavior without building a wrapper tool. Things like "ionic build" which farms out a build for iOS and Android on our build server instead of needing to have a Mac, for example. In terms of the cordova cli changes, I think --from-git would be very helpful. What would the expected form of the repo be? Just the www assets, or a whole project shell? The former I think is easier to deal with when it comes to different Cordova versions. I definitely think a yeoman generator would be helpful and it's something we've been looking into recently, but I'm not knowledgable enough in it yet to know how we are going to use it, but my dream is to have the ability to quickly add new "pages" to a project, or some UI specific scaffold. Max On Thu, Apr 10, 2014 at 10:34 AM, Michal Mocny <[email protected]> wrote: > Hello Max! Glad to see you drop in. > > I've tried out your stuff a bit, and have been showing off your demos (Is > the Weather demo fixed yet?!). I'm even tinkering with wrapping our > cordova test suite in ionic (but am concerned about platform support, > investigating graceful fallback options -- any suggestions there?). > > My biggest concern with ionic has been with its use of its own CLI. We > already have cordova-cli, and there other downstream distributions > (phonegap, cca), etc. While you aren't exactly setting new precedent here, > I think ionic framework, unlike the others, would be super valuable to > embed within these other projects instead of being standalone. I know you > have cordova seed projects on github, but they aren't really in the right > form, I think. > > So: Is it possible to, moving forward, make it easier to consume ionic > boilerplate & plugins butt without using your CLI? We would be happy to > change cordova-cli to fit the needs. > > Some ideas: > - We already support `cordova create --link-to=` / `cordova create > --copy-from=` to import a boilerplate app, and we have as a task to add > support for `--from-git=`, which could be used to import an > ionic-boilerplate app. > - Just recently Gorkem Ercan started work on support for platform & plugin > dependencies for boilerplate applications. (Thread: "engines and plugins on > config.xml"). Basically this means the `cordova create` could > automatically install the plugins needed to run the boilerplate app. > - We should leverage yeoman generators, or custom manifests with CLI hooks, > instead of forking the CLI for a lot of things. > > Basically, what are ionic's real requirements, and how can we help remove > your need for a CLI so that I can use ionic in my existing > cordova/phonegap/cca applications? > > Thanks! > > -Michal > > On Thu, Apr 10, 2014 at 10:54 AM, Sebastien Blanc <[email protected] > >wrote: > > > Hey ! > > Just to say that I really love Ionic, this is really impressive stuff !! > > Can we have so tips on the plugins you are going to release ? > > Seb > > > > > > > > On Thu, Apr 10, 2014 at 4:51 PM, Max Lynch <[email protected]> wrote: > > > > > Hey Cordova Devs, > > > > > > I'm one of the creators of the Ionic Framework ( > > http://ionicframework.com/ > > > ) > > > which is an OSS mobile dev framework running on Cordova and using > > > AngularJS. > > > > > > We are starting to get more active in building open source Cordova > > plugins, > > > and I'm excited to be more a part of the Cordova community going > forward. > > > We've got a few plugins in the works we plan on releasing over the > coming > > > weeks/months. > > > > > > That's all I have, just wanted to introduce myself and hopefully > connect > > > with a few of you as we start to get deeper into Cordova development. > > > > > > -- > > > Max Lynch > > > CTO of Drifty > > > 414-530-9687 > > > http://drifty.com/ > > > > > > -- Max Lynch Co-founder of Drifty 414-530-9687 http://drifty.com/
