plugin OR widget Which One for Nodebb JavaScript web Apps?

NodeBB Plugins
  • Hi,

    I want develop a Web applications like chat apps etc using JavaScript code embedded into html page. I've read the Writing Plugins for NodeBB Doc and Writing Your First NodeBB Plugin.
    But there are no clear suggestion about how write JavaScript code on Nodebb and which is the best between plugin and widget for such JavaScript apps ?
    [Also: give me any useful links that covers such JavaScript apps on Nodebb]

  • Depends, if you're doing largely front-end code (like embedding an iFrame to some chat application) then a widget works best. If you want to modify the API or save things into the database, then a plugin is right for you.

    I think your best bet is to figure out what you need to do, and then find a plugin that does something similar, and modify that plugin, or take code from it (it's open source afterall ;))

Suggested Topics

| | | |