plugin OR widget Which One for Nodebb JavaScript web Apps?

NodeBB Plugins
  • #1

    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]

  • #2

    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


  • 1 Votes
    6 Posts
    589 Views

  • 5 Votes
    3 Posts
    355 Views

  • 1 Votes
    9 Posts
    2646 Views

  • 2 Votes
    13 Posts
    4358 Views

  • 0 Votes
    11 Posts
    5070 Views

| | | |