{"id":3661,"date":"2015-06-01T09:00:00","date_gmt":"2015-06-01T09:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2015\/06\/01\/tools-for-apache-cordova-samples-and-docs\/"},"modified":"2022-05-18T08:22:37","modified_gmt":"2022-05-18T15:22:37","slug":"tools-for-apache-cordova-samples-and-docs","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/tools-for-apache-cordova-samples-and-docs\/","title":{"rendered":"Tools for Apache Cordova \u2013 Samples and Docs"},"content":{"rendered":"<p>Open source code is the norm for so many developers these days, and unsurprisingly, so is open documentation. From <a href=\"https:\/\/github.com\/Azure\/azure-content\">Azure<\/a> to <a href=\"https:\/\/github.com\/Microsoft\/TypeScript\/blob\/master\/doc\/spec.md\">TypeScript<\/a>, public repositories have become a go-to place for sharing samples, tutorials, and &ldquo;tips and tricks&rdquo; so that everyone can learn and contribute together as a community. So beginning today, we&rsquo;re joining the party, starting with our Cordova docs. You can find Cordova <a href=\"https:\/\/github.com\/Microsoft\/cordova-samples\">samples<\/a> and <a href=\"https:\/\/github.com\/microsoft\/cordova-docs\">tutorials and &ldquo;tips and tricks&rdquo;<\/a> in our GitHub repo.<\/p>\n<p><strong><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2015\/06\/5025.Samples_4B1D4687.png\"><img decoding=\"async\" style=\"float: none;margin-left: auto;margin-right: auto;border: 0px\" title=\"Samples\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2015\/06\/5025.Samples_4B1D4687.png\" alt=\"Samples\" width=\"604\" height=\"364\" border=\"0\" \/><\/a><\/strong><\/p>\n<p><strong>These assets won&rsquo;t replace the <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/dn771545.aspx\">Cordova documentation already found on MSDN<\/a>.<\/strong> Instead, they&rsquo;ll complement our existing docs by providing a venue where everyone can contribute, comment and learn. In this post, I&rsquo;ll talk a bit about what you can expect and how you can contribute.<\/p>\n<h2>Cordova Samples<\/h2>\n<p>At the root of our <a href=\"https:\/\/github.com\/Microsoft\/cordova-samples\">Cordova samples repository<\/a>, you will find things that are common to all samples (such as license, readme, and contribution information). Each of the sample apps are isolated in a sub-directory from the repository root. Once you open a sample app folder, you see similar directory structure as follows:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2015\/06\/3872.AngularProjectStructure_1610B757.png\"><img decoding=\"async\" style=\"float: none;margin-left: auto;margin-right: auto;border: 0px\" title=\"Angular Project Structure\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2015\/06\/3872.AngularProjectStructure_1610B757.png\" alt=\"Angular Project Structure\" width=\"304\" height=\"337\" border=\"0\" \/><\/a>The readme file contains important information on what the app implements, how it goes about doing that, and the dependencies &#8212; in a nutshell, everything you need to understand and run the sample app. Also, at the sample folder-root, you will find an <strong>*.sln<\/strong> file which you can double click to open the project in <em>Visual Studio 2015<\/em>. Although the sample apps contain Visual Studio project files, the project is fully compatible with Cordova CLI project structure and can be used outside Visual Studio.<\/p>\n<p>If you run into any issues with the samples or have suggestions for new ones, please <a href=\"https:\/\/github.com\/Microsoft\/cordova-samples\/issues\">open an issue<\/a> or better yet, send us a <a href=\"https:\/\/github.com\/Microsoft\/cordova-samples\/pulls\">pull request<\/a>. Learn more on <a href=\"https:\/\/help.github.com\/articles\/creating-a-pull-request\/\">how to create a pull request<\/a> on GitHub. For a complete list of how you can contribute, please check out the <a href=\"https:\/\/github.com\/Microsoft\/cordova-samples\/blob\/master\/CONTRIBUTING.md\">CONTRIBUTING.md<\/a> file.<\/p>\n<h2>Cordova Docs, Tutorials, Tips &amp; Workarounds<\/h2>\n<p>In addition to MSDN, you can find supplemental <a href=\"https:\/\/github.com\/Microsoft\/cordova-docs\">Cordova documentation on GitHub<\/a>. Similar to the Cordova samples page, you will find a readme file with the list of tutorials and tips\/workarounds at the root of the docs repository. Each of our tutorials are also in their own subdirectories (just like our sample apps). All of our docs are written as regular <a href=\"https:\/\/guides.github.com\/features\/mastering-markdown\/\"><em>Markdown<\/em><em> files<\/em><\/a>, so it&rsquo;s easy for anyone to contribute new content quickly.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2015\/06\/4442.Docs_75F5AA99.png\"><img decoding=\"async\" style=\"float: none;margin-left: auto;margin-right: auto;border: 0px\" title=\"Docs\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2015\/06\/4442.Docs_75F5AA99.png\" alt=\"Docs\" width=\"254\" height=\"445\" border=\"0\" \/><\/a><\/p>\n<p>If you find any issues with the docs or have suggestions for new ones, please <a href=\"https:\/\/github.com\/Microsoft\/cordova-docs\/issues\">open an issue<\/a> or better yet: send us a <a href=\"https:\/\/github.com\/Microsoft\/cordova-docs\/pulls\">pull request<\/a>. (Learn more on <a href=\"https:\/\/help.github.com\/articles\/creating-a-pull-request\/\">how to create a pull request<\/a> on GitHub.) For a complete list of ways you can contribute, please check out the <a href=\"https:\/\/github.com\/Microsoft\/cordova-docs\/blob\/master\/CONTRIBUTING.md\">CONTRIBUTING.md<\/a> file.<\/p>\n<h2>Share, Contribute and Learn Together<\/h2>\n<p>We are at the beginning of the journey to open source our samples and docs and we still have a long way to go. We would like to invite you all to join in our journey to grow an active community of Cordova developers to build samples and documentation for everyone to benefit from.<\/p>\n<p>We are excited for you to tryout our samples and docs and we look forward to seeing your feedback. You can share your feedback directly with the product team via <a href=\"http:\/\/visualstudio.uservoice.com\/forums\/121579-visual-studio\/category\/82642-multi-device-hybrid-apps\">UserVoice<\/a>, <a href=\"https:\/\/connect.microsoft.com\/VisualStudio\/content\/content.aspx?ContentID=31113\">Send-a-smile<\/a>, <a href=\"https:\/\/twitter.com\/VSCordovaTools\">Twitter<\/a>, <a href=\"http:\/\/stackoverflow.com\/questions\/tagged\/multi-device-hybrid-apps\">StackOverflow<\/a>, or <a href=\"mailto:vscordovatools@microsoft.com\">email<\/a>.<\/p>\n<p>If you have not already done so, go ahead <a href=\"http:\/\/go.microsoft.com\/?linkid=9888232\">Download VS Enterprise 2015 RC in English<\/a><strong> <\/strong>to get started right away (or <a href=\"http:\/\/www.microsoft.com\/click\/services\/Redirect2.ashx?CR_CC=200626831\">go here for other languages and editions<\/a>) and don&rsquo;t forget to check &ldquo;Tools for Apache Cordova&rdquo; during setup.<\/p>\n<p>Happy Coding!<\/p>\n<table style=\"width: 639px\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"145\"><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2015\/06\/8233.image_thumb_38E09A35.png\"><img decoding=\"async\" style=\"border: 0px\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2015\/06\/8233.image_thumb_38E09A35.png\" alt=\"image\" width=\"130\" height=\"130\" border=\"0\" \/><\/a><\/td>\n<td valign=\"top\" width=\"492\"><strong>Ali Satter<\/strong>, Program Manager, Visual Studio Client Tools Team <br \/><a href=\"https:\/\/twitter.com\/cpsloal\">@cpsloal<\/a><\/p>\n<p>Ali works on the Visual Studio Client Tools team where he spends his time thinking about how to improve Cordova developer experience inside Visual Studio.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Open source code is the norm for so many developers these days, and unsurprisingly, so is open documentation. From Azure to TypeScript, public repositories have become a go-to place for sharing samples, tutorials, and &ldquo;tips and tricks&rdquo; so that everyone can learn and contribute together as a community. So beginning today, we&rsquo;re joining the party, [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[561,155],"tags":[287,274,125,12],"class_list":["post-3661","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source","category-visual-studio","tag-tips-and-tricks","tag-tools-for-apache-cordova","tag-typescript","tag-visual-studio"],"acf":[],"blog_post_summary":"<p>Open source code is the norm for so many developers these days, and unsurprisingly, so is open documentation. From Azure to TypeScript, public repositories have become a go-to place for sharing samples, tutorials, and &ldquo;tips and tricks&rdquo; so that everyone can learn and contribute together as a community. So beginning today, we&rsquo;re joining the party, [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/3661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=3661"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/3661\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=3661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=3661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=3661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}