{"id":1177,"date":"2013-07-12T14:30:47","date_gmt":"2013-07-12T20:30:47","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=1177"},"modified":"2013-07-23T14:51:13","modified_gmt":"2013-07-23T20:51:13","slug":"alternatives-to-cordova-cli","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/1177","title":{"rendered":"Alternatives to Cordova CLI"},"content":{"rendered":"<p>If you are interested in building Cordova applications, Cordova CLI has few competitors.  The ones I know about:<\/p>\n<ul>\n<li>Homegrown script: I built an ant script to do much of what Cordova CLI does&#8211;build packages, run tests, and start emulators.  I&#8217;m sure you could use any other build tool to do the same.  There&#8217;s some reverse engineering, and tangling with iOS build tools isn&#8217;t much fun.\n<\/li>\n<li>Different code trees: use the Cordova create script to create a project for each platform, and then let the html, css, and javascript evolve differently for each, possibly relying on an IDE to do compilation\/building.  This may be a viable option if you have hard requirements that each platform&#8217;s build can be tested against, or if you don&#8217;t care to share code between platforms.  Upgrading versions of Cordova may be an issue.\n<\/li>\n<\/ul>\n<p>As you can see, there aren&#8217;t too many other options for doing Cordova development.  If you are interested in forward compatibility, I suspect you&#8217;ll choose one of the scripting options (Cordova CLI or a homegrown script); if you just want to get the project done, I think you&#8217;d lean towards using an IDE after the project is created&#8211;it all depends on how future proof you want the app you are building to be.<\/p>\n<p>In the next post, I will discuss installing Cordova CLI.<\/p>\n<p><a href=\"http:\/\/eepurl.com\/BHYJ9\">Subscribe to my infrequent Cordova newsletter<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are interested in building Cordova applications, Cordova CLI has few competitors. The ones I know about: Homegrown script: I built an ant script to do much of what [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64,7,60],"tags":[],"class_list":["post-1177","post","type-post","status-publish","format-standard","hentry","category-cordova-cli","category-mobile-technology","category-phonegap"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/1177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1177"}],"version-history":[{"count":6,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/1177\/revisions"}],"predecessor-version":[{"id":1281,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/1177\/revisions\/1281"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}