Enyo Dos and Don'ts

A while back, the Framework Team began keeping a list of items for team members to consider before submitting code for peer review. As the list grew, we realized that it could be useful to the wider community of app developers. Thus we are pleased to present the current document.

The content is divided into sections aimed at particular groups of developers; we begin by addressing a general audience, then move on to discuss the more specialized responsibilities of those creating shared code. We suggest that you start reading at the beginning and stop when the content no longer seems relevant to your specific role.

I'm Developing an Enyo/Moonstone Application...

Here are some things that all developers should keep in mind when writing apps using Enyo and Moonstone:

I'm Creating Custom Widgets for My App...

Unless you're working on an app by yourself, your code is likely to be used by at least a few of your colleagues. Here are some things to remember when creating shared code:

I'm Contributing Code to the Enyo Framework...

Great! In that case, you're creating code that will definitely be used (or, in the case of samples, studied) by others. We have some special words of advice for you, beyond what has already been discussed: