Bespin Web-based code editor effort launched

The Bespin project is intended to boost productivity and speed and provide the richness of a desktop editor in a Web-based environment.

Mozilla Labs this week 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 Web that is as rich as a desktop editor," said Galbraith, co-director of developer tools at Mozilla Labs, on Friday.

"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 envisioned cloud-based scenarios for the Bespin editor in which it would be easy to go to a Web site, type the name of an open source project, and then quickly be in that project. Developers could make changes and submit changes to the Web site.

"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.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags Bespin

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Krill

InfoWorld
Show Comments

Cool Tech

Toys for Boys

Family Friendly

Stocking Stuffer

SmartLens - Clip on Phone Camera Lens Set of 3

Learn more >

Christmas Gift Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Michael Hargreaves

Microsoft Office 365/Dell XPS 15 2-in-1

I’d recommend a Dell XPS 15 2-in-1 and the new Windows 10 to anyone who needs to get serious work done (before you kick back on your couch with your favourite Netflix show.)

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Featured Content

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?