Core of MagicMirror
Which database do magic mirror use?
And what is the functionality of Magic Mirror at the core?
I mean how it works?
Can anyone please explain…
MM doesn’t use any database by default.
And how it works…
Basically, Role of MM core is just searching modules with config.js and loading them into memory. If it needs, it executes
node_helper.jsalso. MM run start point of each module and gather the result of
getDom()and show them on screen.
Sometimes, MM handles to carry notification among the modules and socketNotification between the module and
Which database does it use??
Well I read from internet that a nodejs application must be connected to a database that’s why I’m askin
Actually I need to explain MagicMirror to my Teacher, so can you please elaborate everything about it??
@yours.mukul Heh. All right, short version:
When a module starts up (as directed by the main application), that module returns a chunk of HTML code that the application will then render and place upon the interface. If the module needs information from another source (RSS feed, weather information, sports scores, whatever), the application framework has hooks that allow a node process to retrieve/generate that information and then present it to front-end module code. Any state information is stored in memory and is regularly replaced by the back end process.
I hope that clarifies things.