ReadWriteWeb

Bespin: Could Your Favorite HTML Editor Live in the Cloud?

Written by Rick Turoczy / February 12, 2009 11:00 PM / 13 Comments

bespin.jpgThe Cloud. We save our data to it, create documents in it, collaborate in it. But coding in the cloud? That has remained a decidedly desktop-centric pursuit. Now, even that may be changing thanks to Bespin, a new prototype from Mozilla Labs. Flaunting thoughtful functionality and bearing an appropriately geeky name (a nod to the home of the Lando Calrissian managed mining colony), Bespin aims to become your dream HTML editor - from within the cloud.

Bespin was created with the hope of making HTML coding easier, more collaborative, and "wicked fast." And even in this early version, it does an admirable job of accomplishing that.

The "initial experimental prototype" features an impressive editing environment - with syntax highlighting, undo, import/export, and "preview in the browser," a command line, and a decidedly collaborative bent. There are also some thoughtful touches - like the blinking cursor.

All of that functionality stems from the Bespin team's goal of creating an HTML editor that mimicked existing editing environments and met developers' primary coding needs - while improving accessibility by divorcing it from the desktop.

Bespin's defining principles include:

  • Ease of Use -- the editor experience should not be intimidating and should facilitate quickly getting straight into the code
  • Real-time Collaboration -- sharing live coding sessions with colleagues should be easy and collaboratively coding with one or more partners should Just Work
  • Integrated Command-Line -- tools like vi and Emacs have demonstrated the power of integrating command-lines into editors; Bespin needs one, too
  • Extensible and Self-Hosted -- the interface and capabilities of Bespin should be highly extensible and easily accessible to users through Ubiquity-like commands or via the plug-in API
  • Wicked Fast -- the editor is just a toy unless it stays smooth and responsive editing files of very large sizes
  • Accessible from Anywhere -- the code editor should work from anywhere, and from any device, using any modern standards-compliant browser

Get Coding

Want to try it? That's the other nice thing about the Bespin prototype. It was designed to be used immediately:
"Even though this is a tech preview, where the goal was to share it with the community, we wanted to make the editor as solid as possible. It had to scale to a large number of lines and continue to remain very responsive."

All it takes is a browser - like Firefox 3 - that supports the HTML 5 technology that underlies Bespin. We were able to register, boot up the editor, and begin coding within a matter of seconds. The interface was incredibly responsive. We didn't experience any lag or delays - the one caveat being that we weren't trying any heavy coding either.

BespinScreen.jpg

It's clear that a great deal of thought and attention went into this early version - and it's a safe bet that it will only get more impressive as time goes on.

Dig Deeper

When you're ready to get serious, you can join the Bespin Google Group, chat with other developers on #bespin irc, or dig into the Bespin code documentation. If you're interested in getting a look under the hood, all of the source code is available under Mozilla Public License.

We hope you'll take an opportunity to test drive Bespin. And then, we'd love to hear how close it comes to meeting your expectations of a "dream editor."


Comments

Subscribe to comments for this post OR Subscribe to comments for all ReadWriteWeb posts

  1. The Bespin documentation is available here:

    https://bespin.mozilla.com/docs/

    Posted by: Gen Kanai Author Profile Page | February 13, 2009 12:16 AM



  2. @Gen Kanai Thank you! The url was missing the "s" in "https." Corrected.

     Posted by: Rick Turoczy Author Profile Page | February 13, 2009 12:26 AM



  3. Rick, thanks for the very generous review!

    Posted by: Ben Galbraith | February 13, 2009 12:34 AM



  4. Bespin is not available for anyone using Safari 3.2.1.


    http://www.flickr.com/photos/islandinthenet/3275737445/in/set-72157613728993145/

    Posted by: Khürt Williams | February 13, 2009 4:02 AM



  5. Interesting that it doesn't work for Chrome because it's not a "leading browser."

    Posted by: SWK | February 13, 2009 6:07 AM



  6. My biggest problem with anything in the cloud is my damn router. The cable modem either shuts down the Internet connection or my wifi drops, then I'm left with a worthless Google doc. With stuff like coding, you don't wnat to get interrupted with connectivity, you just need it to work.

    Posted by: Andrew Wise | February 13, 2009 6:27 AM



  7. Google Docs has shown that online text editing is workable, and HTML editing is really just text editing with some rules, so it makes sense to see specialized editors appearing. Bespin looks interesting and I suspect it won't be the last specialized editor that appears.

    An online editor that allowed one to choose a feature/syntax set would be VERY interesting. Think of TextMate bundles... online.

    Posted by: ahockley.myvidoop.com Author Profile Page | February 13, 2009 7:05 AM



  8. Regarding Bespin's browser support, Safari 3.2 is not supported, but Safari 4 will be. (You can see for yourself by picking up the WebKit nightly at http://webkit.org.)

    Bespin works in Chrome but is unbearably slow and we haven't pegged the exact reason why yet.

    Posted by: Kevin Dangoor | February 13, 2009 11:37 AM



  9. Hello all,
    It's not bad but i believe that a project I'm working on my prove more interesting to you all...

    www.phpanywhere.net or labs.phpanywhere.net

    Check it out, i think you'll like it.

    Cheers!
    Ivan

    Posted by: Ivan | February 14, 2009 1:44 AM



  10. bespin looks really looks reall a cool editor in cloud lets wait and watch what other feature will come to this
    is there any other cloud editors are available ?

    Posted by: Ajay | February 14, 2009 8:36 PM



  11. Thanks for this review.Very useful.

     Posted by: techblog Author Profile Page | May 5, 2009 3:43 PM



  12. Your web site is beautiful. issues are understood. very useful and descriptive. Thanks for sharing.

    Posted by: neon | May 30, 2009 1:58 PM



  13. Google Docs has shown that söve online text editing is workable, and HTML editing is really just text editing mantolama with some rules, so it makes sense to see specialized editors appearing. Bespin looks interesting kartonpiyer and I suspect it won't be the last specialized ısı yalıtım editor that appears.

    Posted by: söve Author Profile Page | August 19, 2009 5:10 AM



Leave a comment

Optional: Sign in with Connect Facebook   Sign in with Twitter Twitter   Sign in with OpenID OpenID  |  
RWW SPONSORS


FOLLOW @RWW ON TWITTER

ReadWriteWeb on Facebook



TEXT LINK ADS