Follow Us

Mozilla launches new web-based code editor

Developers urged to take up Bespin to promote open standards.

Mozilla has launched a preview of Bespin, a web-based code editor intended to boost developer productivity, enable compelling user experiences and promote "open" standards.

Launched as a project within Mozilla's Developer Tools Lab, Bespin features an extensible framework for "Open Web" development, a concept in which applications are compatible with browsers based on open standards and do not require single-vendor plug-ins, according to Mozilla Labs developers Ben Galbraith and Dion Almaer.

Goals of Bespin include ease of use; real-time collaboration, including sharing live coding sessions; an integrated command line; extensibility in the interface; speed; and accessibility.

Based on JavaScript, Bespin is a code editing client based in a browser. It is intended to "to create an experience on the eb that is as rich as a desktop editor," said Galbraith, co-director of developer tools at Mozilla Labs.

"The idea for Bespin is to sort of use later, newer web technologies to try create a much better experience for code editing on the web than we've seen before," Galbraith said. A lot of efforts to create web-based code editors have resulted in editors with poor performance or poor user experiences, he said.

"We haven't seen anything yet on the web that anyone would consider using for their day job," he said.

The focus of the preview release is speed along with support for large files. "To do this, we've used new HTML 5 technologies, specifically the Canvas tag," said Galbraith.

Bespin developers have envisaged cloud-based scenarios for the Bespin editor in which it would be easy to go to a website, type the name of an open source project, and then quickly be in that project. Developers could make changes and submit changes to the website.

"We don't enable the above scenario today, but it's an example of what is possible once we have a foundation of a great, high-quality web-based code editor. So that is one of the things we're hoping to facilitate with the Bespin project," Galbraith said.

Although currently a preview, Bespin could turn into something more, he said. "Right now, we're just experimenting," Galbraith said. Mozilla is looking for developer feedback on Bespin.

An early prototype features such basic editing capabilities as syntax highlighting, large file sizes, undo/redo, previewing of files in the browser, and importing and exporting of projects.

Source code for Bespin is being released as open source under the Mozilla Public License.






Send to a friend

Email this article to a friend or colleague:

PLEASE NOTE: Your name is used only to let the recipient know who sent the story, and in case of transmission error. Both your name and the recipient's name and address will not be used for any other purpose.

Techworld White Papers

State of software security report volume 4

If your business has anything worth protecting, be it money, intellectual property or a trusted...

Download Whitepaper

New threats demand innovative responses

Financial institutions in the UK remain susceptible to further systemic problems, as challenging...

Download Whitepaper

Delivering a competitive advantage through IT

IT organisations share a common mission; to optimise investments and streamline operations to...

Download Whitepaper

6 tips to mobilise your existing ERP

Enterprise mobile users throughout the global business community will number 1.19 billion by...

Download Whitepaper

Techworld UK - Technology - Business

Techworld Awards

Techworld Awards Winners 2011


Learn who the winners of this year's Techworld Awards are. Video footage coming soon...

Find out more
Techworld Mobile Site

Access Techworld's content on the move

Get the latest news, product reviews and downloads on your mobile device with Techworld's mobile site.

Find out more...

Site Map

* *