Archive for the ‘developers’ Category

Add-on-Con 2009

Friday, November 6th, 2009

Last year, Mozilla participated in the first ever Add-on-Con conference for add-on developers and enthusiasts, and it was a huge success. When we were told there would be another Add-on-Con this year, we were excited to get involved again.

This year, Add-on-Con will be on December 11 at the same location, the Computer History Museum in Mountain View, California. A number of Mozilla folks will be in attendance and leading sessions, including:

  • Taking Flight with Jetpack: Next Gen Add-ons for Firefox – Aza Raskin
  • Mobile Firefox Add-on Development – Mark Finkle
  • The Future of the Add-on Ecosystem – Nick Nguyen and Justin Scott

We’ll also be participating in the closing keynote panel, Future of the Browser. Expect more details on these sessions in the near future, as the schedule gets finalized.

Registration is now open, so if you’re interested in browser add-ons, whether from the technical or business side, it’s a great place to learn about what’s coming, what’s already being done, and networking with browser vendors and other add-on developers.

Announcing the Add-on Compatibility Reporter

Thursday, October 22nd, 2009

Weeks before every Firefox release comes a huge effort from Mozilla encouraging add-on developers to make sure their extensions and themes are updated to work with the upcoming version. This often results in a last-minute rush of submissions right when the new version of Firefox and Thunderbird are released.

As an experiment in ways to get users and developers involved with this process sooner, we’ve created the Add-on Compatibility Reporter, an add-on for Firefox and Thunderbird that allows testers to report compatibility information to Mozilla.

After installing the add-on, users will be able to use any incompatible add-ons they have installed and report back to us on whether the add-ons still work like they did in previous versions or are having some issues.

Screenshot of the Add-on Compatibility Reporter

Add-on developers can then browse the reports submitted for their add-ons, even if the add-on isn’t hosted on Mozilla Add-ons. We’ll also be monitoring the report submissions and emailing developers when we have information as to whether their add-on might be compatible or incompatible with an upcoming Firefox release.

So, if you’re an alpha or beta tester of Firefox or Thunderbird and want to help make sure your add-ons are compatible for the final release, grab the Add-on Compatibility Reporter now!

MozCamp Chile & Hispanic Add-on Development

Thursday, October 8th, 2009

I’ve just returned from Santiago Chile, where MozCamp Chile and JRSL Chile were held. It is the first Mozilla event I’ve attended, so it was a great learning experience. I specially enjoyed the fact that it was a Hispanic event so I got to meet many members of the hispanic Mozilla communities. The participant list should be enough proof that the participation was numerous and diverse. Kudos to the event organizers and all the communities, you did a fantastic job in bringing all of this together.

I made a presentation titled AMO, Add-on Developers and Editors (PDF version). It’s a very brief overview on who I am, what’s going on with AMO in terms of helping developers, and the editor community, with a call to action to anyone interested in joining the group. I was happy to realize that there were many developers in the audience, and some showed interest in becoming editors. For all of those interested, I’d look into the Add-on Policies docs and the Editors wiki page. There was also interest in localizing the Developer Hub content, which I think is an awesome idea. Having good documentation in our language is an important step we need to take if we want to increase developer adoption in our countries (I live in Costa Rica).

There was a lot of excitement around the idea of holding events that are more development-centric, like the Mozilla Add-on Workshops. There are already plans to hold one in Perú this year, and another one some time early next year. I’ll definitely be keeping an eye on those.

Thanks again to all of you who made MozCamp Chile possible!

Add-on Review Process Redesign

Thursday, October 1st, 2009

Hello.

My name is Jorge Villalobos, and I’m the new (first, really) Add-ons Developer Relations Lead at Mozilla. I’ll be working on bringing the add-on developer community and Mozilla closer together. I have been an add-on developer for over 2 years, working on around a dozen add-ons during that time. I’ve worked on a few independent projects as well, Fire.fm being the most successful one, and the one I’m most proud of.

My initial focus in this role at Mozilla is to reduce the add-on review waiting times to a point where authors can have some certainty that their add-ons will be reviewed within a reasonable time frame. The current state of the queues is far from ideal, with the recent release of Firefox 3.5 being a big contributor to the rising tide of submissions. The queues are long, and add-on authors are not happy. I actually have a somewhat important update for Fire.fm waiting in the update queue, and I can’t help but feel a bit impatient about it.

To solve the queue situation, we are working on several solutions. We’re constantly looking for and introducing new editors to our team. We are working more closely with them to understand how they work and what their concerns are, and also to focus their efforts in the areas that have the greatest needs. We are attacking the queue problem from several different angles, some which will help us in the short term, and some which are more forward-looking, such as the one I’m introducing here.

We want to change how we handle add-on reviews, specially for updates. Our current system doesn’t handle well the fact that there are add-on authors that no longer need to have the constant scrutiny of the editor team, and don’t need to have their updates reviewed every single time. We think we need to introduce a trust factor into the process, that allows us to give more freedom of publication to authors that have proven themselves trustworthy. There are plenty of those, and I bet they are the most active authors on AMO. Reducing the amount of update reviews we give to trusted authors will give more time to our editors to focus on new add-on nominations and other updates, significantly reducing waiting times and making everybody happy.

I also cover some ideas for reviewing add-ons that are not extensions, which usually have longer waiting times when in reality they should be the easiest to check.

If you’re interested in the details, please read the proposal on Google Docs: Review Process Redesign Proposal. It’s very short, so it shouldn’t take more than a couple of minutes to read. You can take part in the discussion of the proposal in the mozilla.dev.amo newsgroup, or post a comment here. I’ll try to respond to all as time permits.

Add-on development just got easier

Tuesday, September 29th, 2009

We’re very excited to announce that we’ve just launched the Add-on Developer Hub (beta), the one-stop-shop for add-on developers to find out why they’d want to make an add-on, how to make an add-on, and manage their add-on listings.

Developer Hub Logo

Developer Hub

Back in May, we posted about our plans for a developer-focused website in response to feedback we received from add-on developers. The new Developer Hub has something for everyone — whether you’re just getting started or have already made twenty add-ons.

New documentation features of the Hub include:

  • Getting Started – an introduction to add-on development with links to important resources
  • How-to Library – tutorials, articles, videos, and walk-throughs on add-on development topics
  • API & Language Reference – official API and language references
  • Case Studies – stories of successful Firefox add-ons
  • Add-on Policies – all of our add-on policies in one up-to-date location
  • Search – search the best add-on development resources in one place: documentation, forums, newsgroups, reputable blog posts, and more

We’ve also introduced some new tools, with more planned for the coming months:

  • Add-on Builder – auto-generate add-on packaging by entering basic information and picking UI parts
  • Add-on Validator – add-ons can now be validated even if they’re not hosted on AMO

One of the most important goals of the new Hub is to bring the add-ons community closer together. With that in mind, the Hub features:

  • Add-ons Forum – interact with other add-on developers and get help
  • Newsletter – about:addons is our monthly newsletter
  • Developer News & Promos – relevant news and important information is now prominent throughout the Hub
  • Upcoming Events – find out when an add-on event is coming to your area

Developer Tools & News Feed

The tools developers use to submit and manage their add-ons on addons.mozilla.org are now part of the Developer Hub, and we’ve added a cool new way to stay up to date with what’s happening with your add-ons: the add-on news feed.

Any time something of note happens to an add-on, it is recorded in the news feed for the developer to see. This includes developer and editor actions like editing an add-on, submitting a new version, and approving a new version, but also includes user actions such as reviews and collections.

The news feed is available via RSS for one or all of your add-ons.

News feed screenshot

Search Revamp

As part of this release, we’ve also re-worked our AMO search engine from scratch to provide much more accurate results. This is a huge and much anticipated improvement, and will be covered in detail in a separate blog post.

A big thanks goes to everyone who made this release possible, from the developers, testers, and designers to those who helped review documentation and content.

Add-on Success Story: Shareaholic for Firefox

Friday, September 25th, 2009

We recently received some great news from Jay Meattle of Shareaholic and wanted to share it with the community:

“This week we closed an angel round of funding for Shareaholic to support and accelerate ongoing development from prominent east coast angels. We may also be a part of a NY Times story this Sunday!

The reason this may be interesting to add-on developers (& startups in general) is that Shareaholic got its start from Extend Firefox. I tell everyone this.

Shareaholic is now a company, my full time attention is now on it, and we just successfully raised an angel round in an iffy economic environment. When the first release of Shareaholic was pushed live on AMO, I most certainly did not start off thinking we’d be where we are today. I built Shareaholic to fulfill my own need, decided to release it to the world, and it just happens that a lot of other folks have the same need! It also comes back to my philosophy that if you build a good product, keep improving it based on community feedback, and always keep your users number one, good things will happen.

Other add-on authors should use Extend Firefox as a launching platform — as you never know – their add-on may just end up becoming a lot bigger than themselves and change their lives. Extend Firefox is a lot bigger than the great prizes on offer. Extend Firefox kickstarted my awesome Shareaholic journey. I adore our users and the resulting community that has formed around Shareaholic, it has been really fulfilling, and there isn’t a day that we wouldn’t go way above and beyond for our users.”

A couple of things to take away from this are that the Mozilla platform offers developers the tools to build successful web ventures as well as the support and distribution channels to get your product out to a large, focused audience. In addition, the Extend Firefox contest is an excellent way to get introduced into add-on development and also make your mark in the browser application world.

Jay, Mozilla congratulates you on your success and we hope to continue to provide the best platform, tools & support for developers to build world-class applications such as Shareaholic.

Contributions stats and first run pages

Tuesday, September 15th, 2009

For those of you who request contributions for your add-ons, you can now track your contribution amounts on AMO via the stats dashboard.  Like the contributions pilot itself, the enhancement to the dashboard is still evolving, so it’s pretty basic for now.  To see the contributions dashboard, simply go to your statistics dashboard and select “Contributions” from the graph selector.  Please note: even if your statistics are public, your contributions statistics won’t be.

Also, we’ve launched a first run template for your developer profiles.  You can use this template to request contributions from your users post install.  Simply go to the Developer Profile section of Developer Tools to get the URL.

bukkit

Remember: with great power comes great responsibility.  Inundating users with requests for contributions can result in uninstallations and general user unhappiness, whereas judicious use of this feature can help your users understand how they can contribute to the future development of your extension.

Have any other ideas on how we can improve Contributions?  Drop us a line on the AMO Newsgroup or via the comments in this blog.  Thanks!

Fennec – Handling Add-on Options

Friday, September 4th, 2009

This was originally posted on Mark Finkle’s blog. Mark is a member of the Fennec mobile team.

The add-on (extension) mechanism built into the Mozilla platform is very powerful. One of the optional features is support for options (preferences) dialogs. As discussed in my last post, Fennec doesn’t like dialogs. In addition, Fennec has a simple, clean preference system. While designing the Fennec Add-ons Manager, we discussed how we would support add-on options. We didn’t want popup dialogs of random and complicated XUL.

After brainstorming a few ideas, we settled on a simple idea. Fennec uses special <setting> XUL tags to create it’s list of preferences. Add-ons would be forced to use the same tags. The options would be merged into the Fennec Add-on Manager, not displayed as a popup dialog. Of course, add-ons can support more than one application, so we needed to make sure that the options XUL for Fennec could coexist with the options XUL for other applications. Let’s take a look at how this all works:

Install Manifest

Add-ons use install.rdf to identify the XUL used for displaying the preferences. This is optional.

<em:optionsURL>chrome://myaddon/content/options.xul</em:optionsURL>

This is needed for any add-on that wants to use an options dialog.

Chrome Manifest

Add-ons use the chrome manifest to selectively override XUL, and other resources, between different applications using the application flags

override chrome://myaddon/content/options.xul chrome://myaddon/content/fennec-options.xul application={a23983c0-fd0e-11dc-95ff-0800200c9a66}

This will tell Mozilla to use fennec-options.xul anytime the options.xul resource is requested.

Options XUL

As I said, the XUL allowed for the Fennec options system is limited to a few new tags. Here is an example of a Fennec options dialog:


<?xml version="1.0"?>

<!DOCTYPE mydialog SYSTEM "chrome://myextension/locale/mydialog.dtd">

<vbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <setting pref="extensions.myaddon.debugging" type="boolint" on="1" off="2"
title="Enable debugging"/>
  <setting pref="extensions.myaddon.profiling" type="bool" title="Enable profiling">
    Profiling can affect the performance of the application
  </setting>

  <setting pref="extensions.myaddon.logging" type="bool" title="Save logs"/>
  <setting pref="extensions.myaddon.logging.path" type="string" title="Log folder"/>
  <setting type="button" title="Clear logs">
    <button label="Clear" oncommand="MyAddon.clearLogs();"/>
  </setting>
</vbox>

Note that we don’t have any <script> support and we are limited to <setting> tags. The root <vbox> just acts as a container, it isn’t merged into the main window. Here is how the options look in Fennec:

fennec-addon-options-sample

As always, we appreciate your feedback. I’m in the process of updating the Fennec Best Practices documents with this information.

A big thank you goes out to Vivien Nicolas, a Mozilla intern in the Paris office, for turning my super-great design into a reality. Shaver told me there’d be days like this!

The Extend Firefox Contest is Over in 29 Days!

Thursday, September 3rd, 2009

The October 2nd deadline is fast approaching and with only 29 days left to build the next great web experience, we wanted to remind you of the resources available to help you during the contest period:

Mozilla Developer Center

Your best source of information and starting point for Mozilla technical question should be the Mozilla Developer Center. With the breadth of information provided there, it’s an invaluable information resource for pushing your add-on to the next level.

Firefox 3.5 Add-on Development

The following docs are specific to add-on development for Firefox and a great resource for understanding how to take advantage of Firefox 3.5’s features.

Firefox Add-on Documentation
Firefox 3.5 for Developers
Firefox Add-ons Developer Guide

Add-on Tutorials

These tutorials will give you the jumpstart you need to get cranking with your development.

How to develop a Firefox extension by Robert Nyman
Video Tutorial – Extensions Bootcamp: Zero to “Hello World” in 45 Minutes
Extension Development 101

Style Guides

Making sure your code is well-formed will help to make your add-ons more maintainable and easier to review by the judges and editors.

JavaScript Style Guide
XUL Style Guide

Community

Mozilla was built on community support so you’ll be able to find plenty of help in the Extend Firefox Discussion Forum.

Recommendations, Collections, and Contributions (oh my!)

Friday, August 28th, 2009

We’ve just released AMO 5.0.9 with a ton of new features and bugfixes out into the wild. There’s something for everyone in this release, so take a look!

Add-on Recommendations

Screenshot of recommendationsSome things go great together: peanut butter and jelly, popcorn and movies, Firebug and YSlow. Starting today, when you’re looking at an add-on’s listing, you’ll see several other add-ons that are often used together. We base these recommendations on the add-ons our users have grouped together in collections.

Contributions

Last month we launched our Contributions pilot, a way for add-on authors to accept monetary donations from users of their add-ons. We’ve gotten great feedback from users and developers, and are now expanding the reach of contributions on AMO. Add-ons that have turned on Contributions will now have contribution boxes in search results and category browse listings, where many installations take place.

Screenshot of contributions on home page

While these new boxes help surface the existence of contributions, some users aren’t likely to make a donation without first testing the add-on to ensure it’s useful to them. With this release, developers have a new way to accept donations after a user has tried the add-on by simply pointing users to their add-on’s new about page.

Collections

Since the launch of Collections in June, add-on fans have created almost 30,000 collections, resulting in more than 6.5 million add-on downloads. This release includes many new features to make Collections even more useful.

Logged-in users can now rate collections and sort by those ratings to help the best collections bubble to the top.

Screenshot of collection rating and usage stats link

To help determine the popularity of a collection, authors can now access a collection statistics dashboard that shows information on the number of subscribers, ratings, and downloads over time.

We’ve also added a treat for users of browsers that support localStorage (including Firefox 3.5): recently viewed collections. When browsing through the collection directory, users can now easily get back to a collection they saw, without having to log in.

Public Stats

In early 2008, we gave add-on developers their first look at the shiny new Statistics Dashboard for each add-on hosted on AMO. Currently some dashboards are public and some are private, but we’ve never offered an in-depth look at the aggregate statistics for all add-ons hosted on AMO.
Today we’ve launched a detailed view of AMO as a whole, with data on add-ons, downloads, active users, users, reviews, and collections. Go on, check it out!

Add-on Validation

Earlier this month, we announced the arrival of the new add-on verification suite on AMO. At the time it was an optional tool developers could choose to run for their files. With this release, the tool will automatically be run when uploading a new file, and the results of the tests will affect the submission process. Editors will see the test results and any flags when reviewing the add-on. We hope to help developers catch common problems before an editor’s review.

Screenshot of validation results

We’d like to extend a huge thanks to the Web developers and testers who have contributed their time and talent to this release.