<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[client&#x2F;server architecture]]></title><description><![CDATA[<p dir="auto">I’m running a server-only-MM on my server and the client MM on a raspberry pi. So far so good.<br />
I want to write a module to monitor the status of the clients WIFI connection and display it. Hmmm, so where does the code get executed. It seems that the default architecture would have the code executed on the server. I’m struggling to understand the fundamental architecture of the MM system. The code needs to be execute on the client (by electron?). Any ideas?</p>
]]></description><link>https://forum.magicmirror.builders/topic/12085/client-server-architecture</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 21:31:52 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/12085.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 26 Jan 2020 17:02:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to client&#x2F;server architecture on Tue, 28 Jan 2020 15:45:19 GMT]]></title><description><![CDATA[<p dir="auto">oh, and the sendSocketNotification from the node_helper back to the modulename.js sends to ALL clients at once… so the client must check if the message is intended for them by checking the identifier supplied by the node_helper</p>
]]></description><link>https://forum.magicmirror.builders/post/68728</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/68728</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 28 Jan 2020 15:45:19 GMT</pubDate></item><item><title><![CDATA[Reply to client&#x2F;server architecture on Sun, 26 Jan 2020 17:50:34 GMT]]></title><description><![CDATA[<p dir="auto">u can look at an example of how to connect the two to insure correct connection,</p>
<p dir="auto">see my two posts starting here<br />
<a href="https://forum.magicmirror.builders/topic/12021/making-my-first-module-issue-with-notifications/7">https://forum.magicmirror.builders/topic/12021/making-my-first-module-issue-with-notifications/7</a></p>
<p dir="auto">modulename.js creates a random number on startup (per client)<br />
and that is appended to the module identifier (per module: in config.js on server)<br />
to create a unique module/client pair, and that is passed in/out on any  requests to/responses from  the node_helper</p>
]]></description><link>https://forum.magicmirror.builders/post/68658</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/68658</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 26 Jan 2020 17:50:34 GMT</pubDate></item><item><title><![CDATA[Reply to client&#x2F;server architecture on Sun, 26 Jan 2020 17:35:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterbarlow2000" aria-label="Profile: peterbarlow2000">@<bdi>peterbarlow2000</bdi></a> the node_helper file gets executed on the server, (one instance for all clients)<br />
and the file in the module folder that matches the module name (modulename.js we call it)<br />
runs on the client (one instance for each client)</p>
<p dir="auto">I would change this</p>
<pre><code>code needs to be executed on the client (by electron?).
</code></pre>
<p dir="auto">to</p>
<pre><code>code needs to be executed on the client (in the browser?).
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/68657</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/68657</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 26 Jan 2020 17:35:01 GMT</pubDate></item></channel></rss>