mantrajs / mantra-dialogue

Discourse-style forum app using Meteor, React, and Mantra
MIT License
40 stars 6 forks source link

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

Open thearabbit opened 8 years ago

thearabbit commented 8 years ago

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
..................

2.

lib/
   A/
      collection1
      collection2
   B/
      collection1
...............
server/
   A/
      methods/
         method1
         method1
       ..............
   B/
..................

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