<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Matěj,</p>
<p>the UI of Ezra Bible App used to be a web page.</p>
<p>In fact I started it in 2009 as a web-based project, at the time
with Ruby on Rails in the Backend.<br>
When creating the current app, I took the frontend from my Ruby on
Rails app (Javascript) and replaced the server-based backend with
a JavaScript backend that works based on asynchronous requests.<br>
As it is now, the frontend scales from Smartphone to Tablet to
Desktop - all based on having a responsive style. You can try Ezra
Bible App on your Android phone to get an impression of that. The
frontend is exactly the same code base as on the desktop.<br>
<br>
The current architecture would allow to re-implement a
server-based backend while keeping the same frontend code. That's
something I've been thinking about.<br>
It would even be possible to re-use a significant portion of the
JavaScript backend code and integrate that within a server
environment based on nodejs.</p>
<p>The individual frontend components could eventually be agnostic
to the details of the backend function, which means those
components could both work in a web application, in an
Electron-based desktop app as well as in a Cordova-based mobile
app.</p>
<p>So, this is just some technical brainstorming and it would all
still mean a lot of work. What I tried to get at here is with this
architecture you get a lot of synergies. The interface to the
backend would be a collection of async JavaScript functions. And
whether those functions are fetching data locally or from a server
shouldn't matter for the UI components that end up visualizing the
Bible-related infos.<br>
<br>
Best regards,<br>
Tobias<br>
</p>
<div class="moz-cite-prefix">On 4/15/24 12:12 AM, Matěj Cepl wrote:<br>
</div>
<blockquote type="cite"
cite="mid:D0K6VXOZWSVB.1U1ON7S7UM47L@cepl.eu">
<pre class="moz-quote-pre" wrap="">Hello,
I have super simple single-page web app [1] displaying Daily
Watchwords of the Moravian Brothers [2]. Each daily watchword has
some references to the Bible and I would like to add link which
display real complete Biblical text. Currently I have there links
to <a class="moz-txt-link-freetext" href="https://www.crosswire.org/study/">https://www.crosswire.org/study/</a>, but the primary platform
for my app are mobile phones and The Bible Tool kind of sucks on
small displays.
Then I tried to use on Android <a class="moz-txt-link-freetext" href="https://read.andbible.org/">https://read.andbible.org/</a>
links [3] , which made the biblical verse be shown in AndBible
application, but it seems that it is currently broken [4], so I
will have to temporarily revert, but I am also thinking about how
I don’t like separate Android applications.
Is there any Sword Web Application written in the Web Responsive
style, which would work well on a mobile phone?
Thank you for any suggestions,
Matěj
[1] <a class="moz-txt-link-freetext" href="https://hesla.ceplovi.cz">https://hesla.ceplovi.cz</a>
[2] <a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/Daily_Watchwords">https://en.wikipedia.org/wiki/Daily_Watchwords</a>
[3] <a class="moz-txt-link-freetext" href="https://github.com/AndBible/and-bible/wiki/Bible-links">https://github.com/AndBible/and-bible/wiki/Bible-links</a>
[4] <a class="moz-txt-link-freetext" href="https://github.com/AndBible/and-bible/issues/3210">https://github.com/AndBible/and-bible/issues/3210</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://crosswire.org/mailman/listinfo/sword-devel">http://crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page
</pre>
</blockquote>
</body>
</html>