V
V
v- death2015-12-03 22:46:30
JavaScript
v- death, 2015-12-03 22:46:30

Does my architecture look right?

Hello. Made the view architecture

libs --> plugins
  |
kernel --> expansion
  |
modules

libs (jquery) --> plugins (plugins for the library)
kernel (kernel) --> expansion (extensions) - it has a module and extension loader. Everything else is done using extensions
modules - contains HTML + CSS + JS + Personal resources (for example, module localization)
router.js -> loads the required module depending on the url.
(client js, not node)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Belyaev, 2015-12-03
@vGrabko99

A good folder and file structure (what you call an architecture) is one that you feel comfortable working with. That is, if you see in the interface that something is not working right and you immediately know which file to edit it in, then this is a good folder and file structure

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question