aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/mozilla/tech/xpcom/language_bindings/xpconnect/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/mozilla/tech/xpcom/language_bindings/xpconnect/index.html')
-rw-r--r--files/zh-cn/mozilla/tech/xpcom/language_bindings/xpconnect/index.html67
1 files changed, 67 insertions, 0 deletions
diff --git a/files/zh-cn/mozilla/tech/xpcom/language_bindings/xpconnect/index.html b/files/zh-cn/mozilla/tech/xpcom/language_bindings/xpconnect/index.html
new file mode 100644
index 0000000000..df0270b533
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xpcom/language_bindings/xpconnect/index.html
@@ -0,0 +1,67 @@
+---
+title: XPConnect
+slug: Mozilla/Tech/XPCOM/Language_bindings/XPConnect
+translation_of: Mozilla/Tech/XPCOM/Language_bindings/XPConnect
+---
+<p>XPConnect是<a href="/zh-CN/docs/Web/JavaScript">JavaScript</a>和<a href="/zh-CN/docs/Mozilla/Tech/XPCOM">XPCOM</a>之间的桥梁。利用XPConnect,你可以通过JavaScript代码使用XPCOM组件,同时让XPCOM组件与JavaScript对象交互。XPConnect是<a href="/zh-CN/Firefox">Firefox</a>的组成部分,同时也应用于<a href="/zh-CN/docs/Mozilla/Tech/XUL">XUL</a>应用。</p>
+
+<table class="topicpage-table">
+ <tbody>
+ <tr>
+ <td>
+ <h2 id="Documentation" name="Documentation">文档</h2>
+
+ <dl>
+ <dt><a href="/zh-CN/docs/XPConnect/Architecture_basics">结构基础</a></dt>
+ <dd>XPConnect, JavaScript, XPCOM, XUL...</dd>
+ <dt><a href="/zh-CN/docs/XPConnect/Using_components">使用组件</a></dt>
+ <dd>如何与XPCOM组件通信。</dd>
+ <dt><a class="external" href="https://www-archive.mozilla.org/scriptable/faq.html">XPConnect 和 XPIDL 的常见问题解答</a></dt>
+ <dd>关于使用XPConnect和XPIDL的常见问题解答。<strong>该页面尚未迁移至MDN。</strong></dd>
+ <dt><a href="/zh-CN/docs/Mozilla/XPConnect/XPConnect_wrappers">XPConnect Wrappers</a></dt>
+ <dd>XPConnect的wrappers的生成和使用</dd>
+ </dl>
+
+ <p><strong><a href="/zh-CN/docs/Mozilla/Tech/XPCOM/Language_bindings/XPConnect/XPConnect_security_membranes">XPConnect 脚本安全</a></strong></p>
+ </td>
+ <td>
+ <h2 id="Tools" name="Tools">工具</h2>
+
+ <ul>
+ <li><a href="/zh-CN/docs/XPConnect/xpcshell">xpcshell</a></li>
+ </ul>
+ </td>
+ </tr>
+ </tbody>
+</table>
+
+<div class="blockIndicator communitybox" dir="ltr">
+<div class="column-container">
+<h2 id="加入XPCOM社区">加入XPCOM社区</h2>
+
+<div class="column-half">
+<div class="communitysubhead">选择你喜欢的方式来加入讨论:</div>
+
+<ul class="communitymailinglist">
+ <li><a href="https://lists.mozilla.org/listinfo/dev-tech-xpcom">Mailing list</a></li>
+ <li><a href="http://groups.google.com/group/mozilla.dev.tech.xpcom">Newsgroup</a></li>
+ <li><a href="http://groups.google.com/group/mozilla.dev.tech.xpcom/feeds">RSS feed</a></li>
+</ul>
+</div>
+
+<div class="column-half">
+<ul class="communitycontact">
+ <li><strong>IRC: </strong><a href="irc://irc.mozilla.org/developers">#developers</a> <span class="smaller">(<a href="https://wiki.mozilla.org/IRC">learn more</a>)</span></li>
+ <li><strong>Tools: </strong><a href="http://ted.mielczarek.org/code/mozilla/jscomponentwiz/">JavaScript Component Wizard</a>, <a href="http://www.mytools360.com-a.googlepages.com/home#XPComPro">Visual C++ Component Wizard</a>, <a href="http://www.yutools.com/wp/tools/yuxpcomwizard/?lang=en">Visual C++ Component Wizard for Visual Studio 2010</a></li>
+</ul>
+</div>
+</div>
+</div>
+
+<section id="Quick_Links">
+<ol>
+ <li><a href="/en-US/docs/Mozilla/XPCOM">XPCOM</a></li>
+ <li><a href="/en-US/docs/Mozilla/XPIDL" title="XPIDL is an Interface Description Language used to specify XPCOM interface classes.">XPIDL</a></li>
+ <li><a href="/en-US/docs/Mozilla/Projects/SpiderMonkey" title="Standalone source code releases can be found on the Releases page.">SpiderMonkey</a></li>
+</ol>
+</section>