Born from Firefox

Developers and startup founders use the Mozilla toolkits to build apps for diverse uses including music and video playing.

Laggy performance and "bloat" are criticisms that have been lobbed at more than a few applications built with the Mozilla toolkits. This may in part be due to the complexity of the codebase and the specialized skills required to master building with them. Says Flock's Stark: "Gecko is perhaps a little more difficult to work with than various other codebases like ObjC for OS X and .NET for Windows.

"The codebase isn't completely optimized for performance to start with, but it's not horrible by any means. Performance issues probably have more to do with new code added, which tends to be less mature than the platform itself. For Firefox, it appears that poorly-written extensions contribute to slow and memory-intensive behavior. One of the reasons for integrating features into Flock was to allow the package to be tested and optimized as a whole."

In the Celtx team's experience working with XULRunner, they found that performance issues can usually be traced to an over-reliance on JavaScript to handle complex processing. "JavaScript is the 'duct tape' of the XUL toolkit. Overuse of it will likely lead to performance problems. Creating a small XPCOM component is a better choice for complex processing," Dawson recommends.

Nassar of Miro agrees but feels it is an acceptable trade-off for having the flexibility of an XML document-based UI: "For many projects, the advantages outweigh the performance hit. In our case, it made embedding a browser for the HTML part of our UI easy, and it made the thin chrome around our HTML-based interface easier to code, because we could leverage a web designer's skills. It didn't affect performance much, since we use HTML/CSS, which is slow anyway."

The Flock developers found that the simplest solution for dealing with issues related to the Mozilla toolkit was also the most non-technical: Collaborate with the Mozilla development community and make your presence positive within it. There is a finite number of people who really understand how to work the Mozilla platform well. It is a lesson he and his group learned early on.

"Flock started out as a less-than-exemplary citizen in the Mozilla ecosystem," he admits, "but every step we have made towards better representation in the community has come back to us in the form of strengthened relationships and better overall knowledge of the platform. Relationships with experienced folks will probably help you avoid some of the more difficult areas of the codebase."

It is this community which, Songbird's Lord enthuses, contributes to "history in the making" for the Mozilla development platform:

"You have to ask yourself: How the hell was Firefox so successful in the first place? How did it manage to get 400 million downloads? It is a little slower, and it is a little bloated. No company was supporting it. There was no marketing dollars. I think it really is [that] the open source, open standards, open web approach is the safest bet you can make [for] a single vendor solution."

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Howard Wen

LinuxWorld
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?