Most Powerful Open Source ERP

Latest ERP5 Documents

Do not use DOM id attribute in your gadget

0 comment | Share: Facebook logo Twitter Logo |

Never call changeState of an external gadget

0 comment | Share: Facebook logo Twitter Logo |

Do not use Promise.prototype.then()

0 comment | Share: Facebook logo Twitter Logo |

Always check the returned value of a method

0 comment | Share: Facebook logo Twitter Logo |

Use JSON compatible arguments

0 comment | Share: Facebook logo Twitter Logo |

Do not use global variables in a gadget

0 comment | Share: Facebook logo Twitter Logo |

Guideline Include Module Base Categories In Business Template

They will not be created automatically.
0 comment | Share: Facebook logo Twitter Logo |

Guideline Plural Is Not Allowed

They can be amiguous.
0 comment | Share: Facebook logo Twitter Logo |

Guideline Abbreviations Are Not Allowed

Context is lost quickly.
0 comment | Share: Facebook logo Twitter Logo |

Guideline Private Method Starts With Underscore

Consistent patterns.
0 comment | Share: Facebook logo Twitter Logo |

Guideline Use Of JavaScript Id Attribute Is Not Allowed

Duplicate ids will beak a page.
0 comment | Share: Facebook logo Twitter Logo |

Guideline JavaScript Class Name And Id Attribute Are Lowercase With Underscore Separator

General coding convention.
0 comment | Share: Facebook logo Twitter Logo |

Guideline Variable Name Is Lowercase Separated By Underscore

Independent of language used.
0 comment | Share: Facebook logo Twitter Logo |

Guideline Method Name Is Camelcase Starting With Lowercase Letter

Consistency across languages
0 comment | Share: Facebook logo Twitter Logo |

Guideline JavaScript Constructor Starts With Captial Letter

Consistent Javascript patterns.
0 comment | Share: Facebook logo Twitter Logo |

Guideline A Non Anonymous JavaScript Method Must Be Declared Before Use

Jslint will throw on this, too.
0 comment | Share: Facebook logo Twitter Logo |

Guideline JavaScript Closing Bracket Is At Indent Of Function Call

Consistent coding patterns.
0 comment | Share: Facebook logo Twitter Logo |

Guideline JavaScript Opening Brace Is On Line Of Current Statement

Consistent coding patterns.
0 comment | Share: Facebook logo Twitter Logo |

Guideline Use Two Space Indentation

Consistent code indentation across languages.
0 comment | Share: Facebook logo Twitter Logo |

Guideline Code Must Be Validated With JsLint

To ensure consistent syntax and quality.
0 comment | Share: Facebook logo Twitter Logo |