[ https://issues.apache.org/jira/browse/CB-5122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819099#comment-13819099 ]
Mike Billau commented on CB-5122: --------------------------------- >> So far I see the #1 use case for the shell-tool workflow is when mixing >> WebViews with native components, applicable only to Android & iOS. No >> decision; it's simply not possible with the CLI. Agreed. Other advantages of using the Android SDK are: - easier logging (Eclipse's logcat is much nicer than adb logcat), - easier debugging (you could attach Eclipse debugger to your app - we'd need to write instructions on this), - some people may have set up their SDK for web dev - developing plugins - if only making an Android app, it might be easier conceptually I'm having trouble thinking of other uses and use cases for native platform dev workflow. Maybe [~shazron] and [~bowserj] have comments since I'm pretty sure they don't use the CLI. >> I tried to set up a separate platform "Installation" and shell "Development" >> guides for Android, but it resulted in a lot of redundant or fragmented >> content, e.g., regarding emulator setup, connecting the device, etc. As an >> alternative, I worked the info about shell tools into the existing >> "Installation" content and renamed the result back to a single "Platform >> Guide." I think this approach is a much better way to clarify the overall >> shell workflow, but let me know if you disagree. If not, we can use Android >> for guidance & fold in the shell-tool content for other platforms. SGTM. Lemme know how I can help. > Document supported workflows > ---------------------------- > > Key: CB-5122 > URL: https://issues.apache.org/jira/browse/CB-5122 > Project: Apache Cordova > Issue Type: Bug > Components: Docs > Affects Versions: 3.1.0 > Reporter: Mike Billau > Assignee: Mike Sierra > > Based on the recent discussion here [1]we should document the two different > supported Cordova workflows: using the CLI, and using plugman and bin > scripts. > Some of this documentation already exists but needs to be clarified and > improved: > {{Overview guide --> "Development Paths" section}}. This talks about getting > started with the CLI and then mentions that you can switch to the > platform-specific SDK tools. This section should be rewritten to make it > clear that there are two distinct workflows, and that both are okay and > supported. It could list out some pros and cons of each workflow (I'm sure we > won't have any trouble finding those ;)). It should be prescriptive in that > users should be following one of the two workflows, but it shouldn't make any > statements about which is better. > {{"The Command-line Interface" guide}} --> The "CLI workflow" guide. It > generally looks complete except for some missing functionality that is > documented in the CLI's README.md file (tests, hooks, some commands (serve), > some merges info). > {{Platform Guides --> (Platform) --> (Platform) Command-line tools}} --> Each > platform has a "Command-line tools" doc that explains all of the command line > tools for that project and how to use them. We need to go through these > guides and verify that they are up to date and include all of the lower level > command line tools and scripts. It should read like a tutorial in the same > way that the Command-line Interface guide does. > {{"Using Plugman to Manage Plugins"}} First, this guide needs to get exposed; > I can't find any way to get to this guide from the docs and even had to ask a > user how she managed to find it (a link from Plugman's readme!). This guide > needs to be expanded quite a bit; we can probably fold most/all of Plugman's > README.md file into this guide since it will be platform agnostic. > I think those are the only pieces in the docs that need to be changed. > [1] http://callback.markmail.org/thread/5nr7dgkquse4gdkl > [2] > http://cordova.apache.org/docs/en/edge/guide_overview_index.md.html#Overview > [3] http://cordova.apache.org/docs/en/edge/plugin_ref_plugman.md.html -- This message was sent by Atlassian JIRA (v6.1#6144)