Hi Matěj, the UI of Ezra Bible App used to be a web page.
In fact I started it in 2009 as a web-based project, at the time with Ruby on Rails in the Backend. 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. 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.
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. 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.
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.
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.
Best regards, Tobias On 4/15/24 12:12 AM, Matěj Cepl wrote:
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 https://www.crosswire.org/study/, 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 https://read.andbible.org/ 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] https://hesla.ceplovi.cz [2] https://en.wikipedia.org/wiki/Daily_Watchwords [3] https://github.com/AndBible/and-bible/wiki/Bible-links [4] https://github.com/AndBible/and-bible/issues/3210 _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page