mantrajs / mantra-dialogue

Discourse-style forum app using Meteor, React, and Mantra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advice to manage "lib and server" for multi module!

thearabbit opened this issue · comments

The firs I am sorry, I known that mantra don't care the module structure in lib, server.
But could you advice to manage them for me?
For example I have 3 module in client A, B, C, so
1.

lib/
   A_collection1
   A_collection2
   B_collection1
...............
server/
   methods/
      A_method1
      A_method2
      B_method1
..................
lib/
   A/
      collection1
      collection2
   B/
      collection1
...............
server/
   A/
      methods/
         method1
         method1
       ..............
   B/
..................

Which one should I choose (1 or 2)?
Thanks for your advice!