{"id":1271,"date":"2009-03-04T11:57:38","date_gmt":"2009-03-04T19:57:38","guid":{"rendered":"http:\/\/mozillalabs.com\/?p=1271"},"modified":"2009-03-04T11:57:38","modified_gmt":"2009-03-04T19:57:38","slug":"bespin-update-014-released-community-contributions-and-ben-dion-coming-to-london-next-week","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/labs\/2009\/03\/bespin-update-014-released-community-contributions-and-ben-dion-coming-to-london-next-week\/","title":{"rendered":"Bespin Update: 0.1.4 released, community contributions, and Ben &amp; Dion coming to London next week"},"content":{"rendered":"<p>Time flies when you are having fun, and the Bespin team seems to be having a lot!<\/p>\n<p>We just deployed <a href=\"https:\/\/wiki.mozilla.org\/Labs\/Bespin\/ReleaseNotes#0.1.4_.22Nonchalant_Nimbus.22\">version 0.1.4<\/a> to <a href=\"http:\/\/bespin.mozilla.com\/\">bespin.mozilla.com<\/a>, and this release has a lot of changes.<\/p>\n<p>The biggest infrastructure reboot is the fact that we are <a href=\"http:\/\/almaer.com\/blog\/bespin-now-learning-some-art-in-the-dojo\">now using Dojo to power Bespin<\/a>, and this major contribution was lead by <a href=\"http:\/\/www.rsaccon.com\/\">Roberto Saccon<\/a>. Major thanks to Pete Higgins, Dojo lead, to giving it all a once over and making sure that Bespin looks and runs as &#8220;Dojo-y&#8221; as possible.<\/p>\n<p>Roberto went on to fix a bunch of bugs and issues, and is now <a href=\"http:\/\/www.rsaccon.com\/2009\/03\/porting-codemirror-syntax-parser-to.html\">working on a much better syntax highlighter<\/a>.<\/p>\n<p>Jay Bird and Julian Vierect kindly made the editor nicer. You can now indent and un-indent as you would imagine (with TAB), and I added the notion of a setting <code>autoindent<\/code> that when on (by running <code>set autoindent on<\/code> in the command line) will keep track of your indent level when you hit RETURN.<\/p>\n<p><b>Extension points; Config and Commands<\/b><\/p>\n<p>We really want to offer great extension points, and we got a bit of the way there in this release. You can <a href=\"https:\/\/wiki.mozilla.org\/Labs\/Bespin\/Roadmap\/ConfigIntegration\">use the configuration system<\/a> to tweak your system. After opening your config.js (manually get into the BespinSettings project or just run <code>editconfig<\/code>. Once there you can include other files, setup aliases, load commands, and run any code you wish.<\/p>\n<p>For example:<\/p>\n<pre style=\"margin-bottom: 1em\">\n\/\/ -- Load up custom commands\npublish(\"bespin:commands:load\", { commandname: \"calculate\" });\n\n\/\/ -- Load in my aliases\ninclude(\"aliases.js\");\n\n\/\/ -- Load up sub systems of Bespin that aren't loaded by default\nrequire(\"bespin.syntax.arduino\");<\/pre>\n<p>You will notice that these functions are aliases to make life easier for you when in config scope.<\/p>\n<p>To create a custom command such as the <code>calculate<\/code> one above, you simply create a new file in your <code>BespinSettings\/commands<\/code> directory, and write a command object.<\/p>\n<p>Here is what the <a href=\"https:\/\/wiki.mozilla.org\/Labs\/Bespin\/Commands\/Calculate\">calculate command looks like<\/a>. Read about the various commands <a href=\"https:\/\/wiki.mozilla.org\/Labs\/Bespin\/Commands\">here<\/a>. We are also <a href=\"https:\/\/wiki.mozilla.org\/Labs\/Bespin\/Roadmap\/PluginAPI\">designing a simple plugin API, and would love comment<\/a>.<\/p>\n<p>There is a lot more in this release, and I want to thanks <a href=\"https:\/\/wiki.mozilla.org\/Labs\/Bespin\/Contributors\">all of the contributors<\/a> who have already made working in the Bespin community so much fun.<\/p>\n<p>What else is happening in the community? Here are a few things:<\/p>\n<ul>\n<li>Joe Walker has a <a href=\"https:\/\/wiki.mozilla.org\/Labs\/Bespin\/Roadmap\/Collaboration\">design document (and partial implementation already) for how collaboration will work in Bespin, at scale<\/a><\/li>\n<li>Kevin Dangoor did a great screencast introducing the <a href=\"http:\/\/www.blueskyonmars.com\/2009\/02\/24\/introduction-to-the-bespin-python-backend\/\">python backend to Bespin<\/a> which implements the Bespin Server API<\/li>\n<li>Guillaume and Sebastian posted on how they have <a href=\"http:\/\/www.playframework.org\/manual\/contents\/bespin\">integrated Bespin with the Java Play! Web framework<\/a><\/li>\n<li><a href=\"http:\/\/joose-js.blogspot.com\/2009\/03\/visualworks-for-javascript-using-bespin.html\">Malte Ubl shared a prototype of what a &#8220;VisualWorks for JavaScript&#8221; could look like<\/a><\/li>\n<li>I wrote about the pain of working with system clipboards from the Web <a href=\"http:\/\/almaer.com\/blog\/supporting-the-system-clipboard-in-your-web-applications-what-a-pain\">here<\/a> and then followed up <a href=\"http:\/\/almaer.com\/blog\/supporting-the-system-clipboard-in-your-web-applications-part-two\">right here<\/a><\/li>\n<\/ul>\n<p>Finally, Ben and I will be in London next week and will be hanging at a <a href=\"http:\/\/upcoming.yahoo.com\/event\/2114472\/\">Mozilla Labs event<\/a> that is taking place on Tuesday March 10, 2009 from 6:30pm to 8:30pm at <a href=\"http:\/\/the-hub.net\/places\/kingscross.html\">The Hub<\/a> in Kings Cross. We hope to see any Londoners there to chat Bespin, Developer Tools, and general Open Web!<\/p>\n<p><em>&#8212; Dion Almaer, on behalf of the Bespin development team<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Time flies when you are having fun, and the Bespin team seems to be having a lot! We just deployed version 0.1.4 to bespin.mozilla.com, and this release has a lot of changes. The biggest infrastructure reboot is the fact that &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/labs\/2009\/03\/bespin-update-014-released-community-contributions-and-ben-dion-coming-to-london-next-week\/\">Continue reading<\/a><\/p>\n","protected":false},"author":51,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[4863,667],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/posts\/1271"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/users\/51"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/comments?post=1271"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/posts\/1271\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/media?parent=1271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/categories?post=1271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/tags?post=1271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}