{"id":43,"date":"2005-07-13T16:36:02","date_gmt":"2005-07-13T20:36:02","guid":{"rendered":"http:\/\/benjamin.smedbergs.us\/blog\/?p=43"},"modified":"2005-07-14T10:39:08","modified_gmt":"2005-07-14T14:39:08","slug":"developermozillaorg","status":"publish","type":"post","link":"http:\/\/benjamin.smedbergs.us\/blog\/2005-07-13\/developermozillaorg\/","title":{"rendered":"developer.mozilla.org"},"content":{"rendered":"<p>In case you have not heard, one of the very important new Mozilla initiatives is the documentation project called the &#8220;Mozilla Developer Center&#8221;, or &#8220;devmo&#8221; for short. Mozilla has already proved successful at open software development and open community-based marketing, and this is the next logical step: an open, community-based documentation resource for web developers, extension authors, XUL application developers, and core Mozilla developers.<\/p>\n<p>This documentation effort is in full swing right now; visit http:\/\/developer-test.mozilla.org\/ to see it in action. It is powered by <a href=\"http:\/\/en.wikipedia.org\/wiki\/MediaWiki\">MediaWiki<\/a>, a powerful and extensible piece of server software that allows for community collaboration in editing documents. Mediawiki has a long track record as the software that powers <a href=\"http:\/\/en.wikipedia.org\/wiki\/Main_Page\">Wikipedia<\/a>, the free encyclopedia.<\/p>\n<p>I am personally very excited by the energy I already see in the devmo project, and it&#8217;s explosive potential when it is actually &#8220;launched&#8221;. One of the historical weaknesses in Mozilla as a development platform is the lack of good documentation, and devmo is taking up the challenge in a big way. Devmo is under the experienced leadership of <a href=\"http:\/\/dria.org\/\">Deb Richards<\/a>, who I have gotten to know over the past few months as person who can keep an vast number of things going and not lose sight of the final goal.<\/p>\n<p>Which is why I am writing this post not to rain on the parade, but to discuss the challenges that I see facing the project. Most importantly, how devmo presents dense reference material is going to be critically important to its most important &#8220;consumer&#8221;, web developers and XUL application authors. The wikitext format lends itself quite readily to tutorials and articles, and I am working at making code samples work without a lot of pain. But reference material is not easy to either write or present in traditional wiki format. For a point of reference, please visit <a href=\"http:\/\/msdn.microsoft.com\/library\/default.asp?url=\/workshop\/author\/dhtml\/reference\/objects\/applet.asp\">the msdn.microsoft.com page about the html &lt;applet&gt; tag<\/a>. To understand what I really want out of devmo, visit that page in IE.<\/p>\n<p>The property list is presented as a dense and highly-hyperlinked table. But the most important part of that table is that it is absolutely complete. You don&#8217;t have to go visit &#8220;the properties of DOM Objects&#8221; and &#8220;the properties of HTML Objects&#8221; to see what is available on this DOM element. But I want more! I want to be able to say &#8220;show me which properties were available in mozilla 1.x&#8221;.<\/p>\n<p>When the gecko developers add a new method to a DOM object, it is unlikely that anyone is going to systematically go through and add this property to every one of several hundred individual element pages with the correct descriptive text and versioning information. Reference material is a recipe for out-of-date or incomplete documentation; documentation which does not list the minimum runtime for which a particlar method\/property\/style became available is almost worse than useless.<\/p>\n<p>I believe that creating this kind of dense documentation is going to require that these cross-references are created in some kind of XML syntax. I believe that this XML should live in a wiki &#8220;page&#8221; so that it can be edited by the community like any other page. The advanced sorting capabilities that you see on the IE version can be provided through the use of XBL bindings in such a way that clients which do not support XBL will get the full property table (there are other possible solutions involving cross-browser scripting which would be more complicated but would be compatible with more browsers).<\/p>\n<p>Finally, one of the major features that I want out of devmo is to provide context-sensitive help in rich-client editing tools. Everything from the XUL Application Creator slated to be part of the XULRunner Developer Kit to NVU could really use context-sensitive help when editing markup of various kinds including HTML\/XHTML\/XUL\/CSS\/JS. For this to be practical, large parts of the metadata provided by devmo will need to be in machine-readable formats.<\/p>\n<p>I know that I am asking a lot out of devmo. It&#8217;s not going to get there overnight, and that should not stop anyone from <a href=\"http:\/\/developer-test.mozilla.org\/en\/docs\/Devmo:How_to_Help\">contributing an article or helping edit<\/a> right now. I especially encourage people with editing skills to get involved and clean up the articles that people like me might write.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In case you have not heard, one of the very important new Mozilla initiatives is the documentation project called the &#8220;Mozilla Developer Center&#8221;, or &#8220;devmo&#8221; for short. Mozilla has already proved successful at open software development and open community-based marketing, and this is the next logical step: an open, community-based documentation resource for web developers, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-43","post","type-post","status-publish","format-standard","hentry","category-mozilla"],"_links":{"self":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts\/43","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/comments?post=43"}],"version-history":[{"count":0,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts\/43\/revisions"}],"wp:attachment":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/media?parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/categories?post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/tags?post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}