NodeBB Plugin best practices


  • Global Moderator

    I'm thinking it would be good if we establish some best practices for NodeBB plugin development.

    Feel free to contribute by replying and I'll add it to the list.

    • Database keys should start with plugin:[your-plugin-name]: ex: if the plugin is nodebb-plugin-mentions then the database keys would start with plugin:mentions:
    • Use sockets instead of ajax
    • Use CSS transitions instead of jQuery animations, trigger them by toggling classes on the elements
    • Use Bootstrap elements as much as possible or not at all
    • your suggestion here

Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.