You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2013/10/21 23:28:09 UTC

svn commit: r1534385 - in /cordova/site/public: news/2013/10/21/ news/2013/10/21/cordova-registry.html rss.xml

Author: maxw
Date: Mon Oct 21 21:28:08 2013
New Revision: 1534385

URL: http://svn.apache.org/r1534385
Log:
Added the actual .md files for the plugin registry blog post.

Added:
    cordova/site/public/news/2013/10/21/
    cordova/site/public/news/2013/10/21/cordova-registry.html
Modified:
    cordova/site/public/rss.xml

Added: cordova/site/public/news/2013/10/21/cordova-registry.html
URL: http://svn.apache.org/viewvc/cordova/site/public/news/2013/10/21/cordova-registry.html?rev=1534385&view=auto
==============================================================================
--- cordova/site/public/news/2013/10/21/cordova-registry.html (added)
+++ cordova/site/public/news/2013/10/21/cordova-registry.html Mon Oct 21 21:28:08 2013
@@ -0,0 +1,184 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <link rel="SHORTCUT ICON" href="http://cordova.apache.org/favicon.ico"/>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <meta name = "format-detection" content = "telephone=no">
+    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
+    <!-- Original Jekyll
+    <meta name="viewport" content="width=device-width">
+    -->
+    <title>Cordova's Plugin Registry</title>
+    <!-- syntax highlighting CSS -->
+    <link rel="stylesheet" href="http://cordova.apache.org/css/syntax.css">
+    <!-- Custom CSS -->
+    <link rel="stylesheet" href="http://cordova.apache.org/css/main.css">
+
+    <!-- Cordova CSS -->
+    <link rel="stylesheet" type="text/css" href="http://cordova.apache.org/css/master.css">
+    <script src="http://cordova.apache.org/js/smooth.pack.js" type="text/javascript"></script>
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-94271-30']);
+      _gaq.push(['_trackPageview']);
+      (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+      })();
+    </script>
+</head>
+
+<body>
+
+    <a class="scroll-point pt-top" name="top">
+</a>
+<div id="header">
+    <div class="wrap">
+        <a class="logo" href="http://cordova.apache.org/#top"></a>
+        <div class="menu">
+            <a href="http://cordova.apache.org/#about">About</a>
+            <a href="http://cordova.apache.org/#news">News</a>
+            <a href="http://cordova.apache.org/#contribute">Contribute</a>
+            <a href="http://cordova.apache.org/#mailing-list">Mailing List</a>
+            <a href="http://cordova.apache.org/#download">Download</a>
+            <a href="http://cordova.apache.org/#links">Quick Links</a>
+        </div>
+        <form class="menu-dropdown">
+            <select onchange="location = this.options[this.selectedIndex].value;">
+                <option value="http://cordova.apache.org/#about">About</option>
+                <option value="http://cordova.apache.org/#news">News</option>
+                <option value="http://cordova.apache.org/#contribute">Contribute</option>
+                <option value="http://cordova.apache.org/#mailing-list">Mailing List</option>
+                <option value="http://cordova.apache.org/#download">Download</option>
+                <option value="http://cordova.apache.org/#links">Quick Links</option>
+            </select>
+        </form>
+    </div>
+    <div class="shadow"></div>
+</div> <!-- /header -->
+<div class="header-placeholder"></div>
+
+
+        <div class="site">
+    <h2>Cordova's Plugin Registry</h2>
+    <div class="meta">Posted by: <a href="http://www.maxwoghiren.com">Max Woghiren</a></div>
+    <p class="meta">21 Oct 2013</p>
+    <div class="post">
+    
+<p>Cordova 3.0 saw a major shift towards plugins. As part of this shift, we’re focusing on making plugins easy to use and, equally importantly, easy to discover. App developers want to know what plugins are available to them, and plugin developers want their plugins to be visible to the community.</p>
+
+<p>Our solution, which has been alluded to in previous posts, is the <a href="http://plugins.cordova.io/">Cordova plugin registry</a>. Using the Cordova CLI, app developers can add plugins to their projects with a single command.</p>
+
+<p>From anywhere within an app’s directory, plugins can be added to a project with</p>
+
+<pre><code>cordova plugin add [PLUGIN_ID]</code></pre>
+
+<p>where PLUGIN_ID is the id (typically reverse-domain style) shown on the plugin registry website. You can also download a specific version of a plugin:</p>
+
+<pre><code>cordova plugin add [PLUGIN_ID]@[VERSION]</code></pre>
+
+<p>How do these plugins get there? Using plugman, plugin developers can easily send their plugins out into the world to be discovered by app developers.</p>
+
+<p>First, if you don’t have a plugman account, you need to create one.</p>
+
+<pre><code>plugman adduser</code></pre>
+
+<p>Then, you’re free to publish!</p>
+
+<pre><code>plugman publish [PATH_TO_YOUR_PLUGIN]</code></pre>
+
+<p>There’s more you can do (such as search for a plugin by keyword)—you can find more information using <code>plugman --help</code>.</p>
+
+<p>For general plugin development help, you can find a guide <a href="http://cordova.apache.org/docs/en/3.1.0/guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">here</a>.</p>
+
+<p>All of Cordova’s plugins (which were bundled with core Cordova prior to 3.0) can be found in the registry.</p>
+
+<p>Also, there are already some third-party plugins available and ready to use. Google has contributed multiple plugins to the registry, allowing app developers to use some <a href="http://developer.chrome.com/apps/api_index.html">Chrome Apps APIs</a>, such as identity and socket, in their Cordova applications.</p>
+
+<p>Other great examples include an NFC plugin by Chariot Solutions, an iOS keychain plugin by prominent Cordova contributor Shazron Abdullah, and a spinner/loader plugin by Wizcorp—and the list keeps growing.</p>
+
+<p>Cordova’s new plugin registry makes it easier than ever to discover and contribute plugins. Whether you want to peruse what’s available or add to that list, check it out <a href="http://plugins.cordova.io/">here</a>!</p>
+
+    </div>
+</div>
+
+
+
+    <a class="scroll-point" name="links"></a>
+<hr/>
+
+<div class="wrap quick-links-pane">
+    <h2 class="icon icon-quick-links">Quick Links</h2>
+    <br/>
+    <ul class="quick-links-header">
+        <li>General</li>
+        <li>Development</li>
+        <li class="last">Apache Software Foundation</li>
+    </ul>
+    <div class="clear"></div>
+</div>
+
+<div class="grid">
+    <div class="wrap">
+        <div class="list-container">
+            <ul class="list quick-links">
+                <li class="corner"></li>
+                <li><a href="http://cordova.apache.org/index.html#about">About Cordova<span></span></a></li>
+
+                
+                <li><a href="http://projects.apache.org/projects/cordova.html">Apache Project Page<span></span></a></li>
+                
+                <li><a href="http://www.apache.org/licenses/LICENSE-2.0">License<span></span></a></li>
+                
+
+                <li><a href="http://cordova.apache.org/artwork.html">Artwork<span></span></a></li>
+            </ul>
+
+            <ul class="list quick-links">
+                <li class="corner"></li>
+                <li><a href="http://cordova.apache.org/index.html#download">Download<span></span></a></li>
+                <li><a href="http://cordova.apache.org/docs/en/3.1.0/">Documentation<span></span></a></li>
+
+                
+                <li><a href="https://git-wip-us.apache.org/repos/asf">Source Code<span></span></a></li>
+                
+                <li><a href="https://issues.apache.org/jira/browse/CB">Issue Tracker<span></span></a></li>
+                
+                <li><a href="http://wiki.apache.org/cordova/">Wiki<span></span></a></li>
+                
+
+                <li><a href="http://cordova.apache.org/index.html#mailing-list">Mailing List<span></span></a></li>
+            </ul>
+
+            <ul class="list quick-links last">
+                <li class="corner"></li>
+                
+                <li><a href="http://www.apache.org/">About ASF<span></span></a></li>
+                
+                <li><a href="http://www.apache.org/foundation/thanks.html">Thanks<span></span></a></li>
+                
+                <li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor<span></span></a></li>
+                
+                <li><a href="http://www.apache.org/security/">Security<span></span></a></li>
+                
+            </ul>
+
+            <div class="clear"></div>
+        </div>
+    </div>
+</div>
+
+
+    <hr/>
+<div id="footer">
+    <p>Copyright © 2012, 2013 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>
+           Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+    </p>
+    <a class="closing" href="#top"></a>
+</div>
+
+</body>
+</html>

Modified: cordova/site/public/rss.xml
URL: http://svn.apache.org/viewvc/cordova/site/public/rss.xml?rev=1534385&r1=1534384&r2=1534385&view=diff
==============================================================================
--- cordova/site/public/rss.xml (original)
+++ cordova/site/public/rss.xml Mon Oct 21 21:28:08 2013
@@ -5,8 +5,8 @@
         <description>Apache Cordova - Apache Cordova is a set of device APIs that allow a web mobile app developer to access native device function from JavaScript.</description>
         <atom:link href="http://cordova.apache.org/rss.xml" rel="self" type="application/rss+xml" />
         <link>http://cordova.apache.org/rss.xml</link>
-        <lastBuildDate>Mon, 21 Oct 2013 17:07:43 -0400</lastBuildDate>
-        <pubDate>Mon, 21 Oct 2013 17:07:43 -0400</pubDate>
+        <lastBuildDate>Mon, 21 Oct 2013 17:26:21 -0400</lastBuildDate>
+        <pubDate>Mon, 21 Oct 2013 17:26:21 -0400</pubDate>
         <ttl>1800</ttl>
         <image>
             <url>http://cordova.apache.org</url>