<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nando</title>
    <description>The latest articles on DEV Community by Nando (@fc250152).</description>
    <link>https://dev.to/fc250152</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F55897%2F4a4f735e-93d4-4b06-b707-2017ce934d8d.jpg</url>
      <title>DEV Community: Nando</title>
      <link>https://dev.to/fc250152</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fc250152"/>
    <language>en</language>
    <item>
      <title>mobile local web-server to store local data by a web app</title>
      <dc:creator>Nando</dc:creator>
      <pubDate>Thu, 25 Apr 2019 12:08:04 +0000</pubDate>
      <link>https://dev.to/fc250152/mobile-local-web-server-to-store-local-data-by-a-web-app-2gil</link>
      <guid>https://dev.to/fc250152/mobile-local-web-server-to-store-local-data-by-a-web-app-2gil</guid>
      <description>&lt;p&gt;Hi all&lt;/p&gt;

&lt;p&gt;&lt;em&gt;scenario:&lt;/em&gt;&lt;br&gt;
last year I've developed a web app for android devices that should work off-line.&lt;br&gt;
The app serves as front-end of the main app running on the main web server.&lt;br&gt;
When on-line, the app should receive from the main web server the data about specific tasks that should be done off-line.&lt;br&gt;
When again on-line, the app should return to the main web server the new data of the completed tasks.&lt;br&gt;
In order to work off-line the app stores data in the internal storage of the browser (local-storage or indexedDB).&lt;br&gt;
The application is cached in the Application Cache of the browser (according to the supplied manifest file).&lt;br&gt;
I've not developed a native app for several reason, that cannot be overcame.  &lt;/p&gt;

&lt;p&gt;&lt;em&gt;new scenario:&lt;/em&gt;&lt;br&gt;
the now mandatory use of https does create problems with AppCache; furthermore, the use of the browser internal store seems too limiting and the browser sandbox in general doesn't allow complete operational freedom.&lt;br&gt;
I'm thinking about a solution based on having a web server running locally (on the android device). The web app could talk with a simple server app in order to store and retrieve data in a relational db, and also to carry out other operations such as documents generation and likes.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;questions:&lt;/em&gt;&lt;br&gt;
what do you think about this, guys?&lt;br&gt;
do you have any hints?&lt;br&gt;
do you know any product (free) that may be used?&lt;br&gt;
maybe a NodeJS running on Android?&lt;/p&gt;

&lt;p&gt;I would warmly thank you in advance, guys.&lt;/p&gt;

&lt;p&gt;last but not least: please excuse my poor and bad english :( &lt;/p&gt;

</description>
      <category>help</category>
    </item>
  </channel>
</rss>
