• 0

Looking for input on a new project


Question

OK, let me start by saying I've been a developer for nearly 2 decades. Professionally I've primarily been involved with line of business tools and services split between VB.NET and C#. Before anyone besmirches VB.NET, that's irrelevant for this discussion. I used the language and tools dictated by my various employers over the years usually having no input on the matter.

 

My side projects however have been a bit different. I published my first astronomy based app in the Windows store in the Windows 8.1 time frame. This app was C# and XAML (what else...) Since then I've published an Android app (still astronomy based but unrelated to the Windows app). The app was a tool for last year's eclipse and was originally written in Xamarin. I eventually recoded it in Android Studio just for the fun of it long after its Play Store release. That code sits quietly in a repo someplace. Most recently I was working on a larger Windows Centennial targeted app that I scuttled after God knows how long having become the victim of endless scope creep. You'd have thought I'd have figured out how to NOT do that after all these years... For the record, both original store apps are unpublished at this time.

 

This brings me to where I am now. I'm looking to recreate and slightly enhance the original Windows Store app but I'd like it to be available on my Windows based desktops, laptops and tablets as well as my Android based tables and phones so I have some cross platform requirements. While these apps are primarily geared toward personal use, I'd publish the app to both the Windows Store and the Google Play Store because why not.

 

There are many here who's input I greatly value as you represent a cross section of developers that have used a great many more tools and frameworks than I have so I'm looking for a bit of guidance, warnings or suggestions.

 

Here are some app specifics to consider

 

  • Once installed, it works completely offline. There is never a need to reconnect. If fact, in most places the app is used, there is often no connections available.
  • It includes a large data set of over 2 million records. These records need to be searchable and sortable on many fields (some lending themselves to indexing better than others).
  • Precess records based on the current Epoch date. This means accounting for the fact that everything you see in the sky is moving and the Earth is wobbling on it's axis means an object that is listed at being at a set of coordinates in the year 2000 (the most recent full Epoch) are no long accurate as the result of 18 years of movement. While the difference is overall small, it still impacts positional calculations for a given location/date/time.
  • For selected records, once precession has been calculated for each item, items will undergo real time coordinate conversions between equatorial and azimuthal will occur with perpetual coordinate updates.
  • The UI is self is rather simple and does not require plotting of stars or object, its strictly a text/data based tool. Mostly search criteria and a sortable results grid.
  • Since this tool is a personal project, I have no timeline to work towards. If this takes a year or more to complete, that's OK.

 

Here are my options as I see them

 

Xamarin Forms app targeting Windows and Android

I like this option as it fits my background but while offering a familiar set of tooling it feels a little heavy handed, like using a sledge hammer to hang a picture. Also, it provides the least amount of learning so I get a new app but little else.

 

PWA

Providing no native functionality is needed (and it really isn't) this seems like the better route on paper but seems to bring its own blend of negatives. First is the question of performance issues managing a multi-million row data set and the real-time coordinate conversion. Second is the baggage a PWA may include to monitor/handle being connected or not. Since this would be a completely offline app once installed, this seems to be adding superfluous code. This requires almost requires a start from scratch learning experience that brings a considerable learning curve that could impact my dedication.

 

Some kind of hybrid

This would be a hybrid of React Native for Android and Electron for the Windows app. I've never used either so I can't speak to the benefits or pitfalls of this option. It would appear to check all the boxes but will come with a very steep learning curve that could take a toll on my confidence to complete the project.

 

So there it is. What route would you take? What are the gains and pain points from your experience that would lead you down one path or the other. I honestly have no real gut preference at this point so I'm 100% open on this.

 

 

Link to comment
https://www.neowin.net/forum/topic/1372542-looking-for-input-on-a-new-project/
Share on other sites

4 answers to this question

Recommended Posts

  • 0
Quote

This would be a hybrid of React Native for Android and Electron for the Windows app.

I'm not familiar with Electron but if you gonna maintain two version of the code and the UI is simple then you might as well use Android Studio or IntelliJ IDEA for the Android version. I made my first "native" Android app last fall using IntelliJ IDEA and frankly it was one of the most pleasant experience i had with an IDE. In term of the quality of the experience as an IDE it's very close to Visual Studio and the learning curve is very small. The doc for Android is very well written and the api is very good. Gradle makes managing Java libraries and dependencies a lot easier too and while there's some learning curve in using Gradle once you are familiar with Gradle it makes building the project a lot easier.

 

I would personally lean toward PWA. I never did a full project with Xamarin but i fiddled with it and was not overly impressed to be honest. I would probably rather build native Android and IOS apps than use Xamarin specially if the UI is very simple. There's a learning curve to PWA (less if you are an experimented web dev) but i don't think PWA are going to die so might as well learn it. Also pretty sure there's React Native support for Windows 10 (edit : https://github.com/Microsoft/react-native-windows).

 

I never used React Native but i used ReactJS and it's very good.

 

Here's an interesting link about the different technologies : https://belitsoft.com/react-native-development/react-native-vs-xamarin-vs-ionic

 

 

Edited by LaP
  • 0

Everything I do now is PWA. Using a framework like ionic will do the job you want.  You can use WebSQL for storage so large records aren't an issue. You can process what you need to on the fly.  Can compile native for android/ios/windows using Cordova, and can build for web with service workers for the true PWA Feel.

 

I've done many apps using Ionic with full offline capabilities. Javascript is at a point now where there is a lot of native functionality, so there's really no need to 'fluff' or over-code aspects to handle offline. It just works.

 

https://ionicframework.com/

 

That's just what I would go with. Been using it professionally for 2 years now. It's great in that you have one code base, one project, but can have full cross platform support.

  • 0

Personally I've recently done a project in React Native.

 

It's gives complete freedom but at a large cost, it's rather complex when things don't work as expected and you end up writing more native code then expected.

 

I'm starting on another project with React Native that also requires a web app, for that I've opted to use React Native Web so everything is still largely one codebase.

 

React Native Windows/MacOS/Desktop are other projects I'm interested in to work with in the future but for now I plan on bundling React Native Web with Chromium when a desktop app is required.

 

Flutter is another framework I'm planning to use in the future.

 

Biggest difference between React Native and Flutter is how things are rendered, React Native uses the view system of the underlying OS and Flutter renders everything itself like a game engine.

 

One of the main issues with React Native is that things render sometimes differently between platforms, this is not the case with Flutter.

 

Besides that are the obvious language differences between the different framework but those are expected.

This topic is now closed to further replies.
  • Posts

    • Nudge me when they bring back hardware audio acceleration so I can get my EAX 5 back. We've evolved graphics to real-time path tracing, but regressed audio some 15 years back in time with this stupid software audio stack.
    • Ocenaudio 3.19.4 by Razvan Serea  Ocenaudio is a full featured, fast and easy to use audio and music editor. It is the ideal software for people who need to edit and analyze audio files without complications. Ocenaudio also has powerful features that will please more advanced users. To assist ocenaudio development, a powerful toolset of audio editing, analysis and manipulation called Ocen Framework was created. ocenaudio is also based on Qt framework, a well known library for cross-platform development. Cross-platform support ocenaudio is available for all major operating systems: Microsoft Windows, Mac OS X and Linux. Native applications are generated for each platform from a common source, in order to achieve excelent performance and seamless integration with the operating system. All versions of ocenaudio have a uniform set of features and the same graphical interface, so the skills you learn in one platform can be used in the others. VST plugins support Ocenaudio supports VST (Virtual Studio Technology) plugins, giving its users access to numerous effects. Like the native effects, VST effects can use real-time preview to aide configuration. Real-time preview of effects Applying effects such as EQ, gain and filtering is an important part of audio editing. However, it is very tricky to get the desired result by adjusting the controls configuration alone: you must listen the processed audio. To ease the configuration of audio effects, ocenaudio has a real time preview feature: you hear the processed signal while adjusting the controls. The effect configuration window also includes a miniature view of the selected audio signal. You can navigate on this miniature view in the same way as you do on the main interface, selecting parts that interest you and listening to the effect result in real time. Multiselection for delicate editions To speed up complex audio files editing, ocenaudio includes multi-selection. With this amazing tool, you can simultaneously select different portions of an audio file and listen, edit or even apply an effect to them. For example, if you want to normalize only the excerpts of an interview where the interviewee is talking, just select them and apply the effect. Eficient edition of large files With ocenaudio, there is no limit to the length or the quantity of the audio files you can edit. Using an advanced memory management system, the application keeps your files open without wasting any of your computer's memory. Even in files several hours long, common editing operations such as copy, cut or paste happen almost instantly. Fully featured spectrogram Besides offering an incredible waveform view of your audio files, ocenaudio has a powerful and complete spectrogram view. In this view, you can analyze the spectral content of your audio signal with maximum clarity. Advanced users will be surprised to find that the spectrogram settings are applied in real time. The display is updated immediately when altering features such as the number of frequency bands, window type and size and dynamic range of the display. Ocenaudio 3.19.4 changelog: Adds fallback fonts so every language and symbol displays correctly Improves autosave and session recovery stability Improves region navigation and display Fixes a crash when the level meter is used on displays with a scaling greater than 200% Fixes memory corruption when using the silence selection tools Fixes crashes when closing a file while effects are still being processed Fixes a freeze when applying effects to many files at once (macOS) Fixes crashes related to audio devices on Windows Fixes invalid file names when exporting regions whose label is used as the file name Other bug fixes and improvements Download: Ocenaudio 64-bit | Portable | ~40.0 MB (Freeware) Download: Ocenaudio for Linux and Mac OS View: Ocenaudio Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Hasleo Disk Clone 5.8.2.1 by Razvan Serea Hasleo Disk Clone is a free and all-in-one disk cloning software for Windows 11/10/8/7/Vista and Windows Server that can help you migrate Windows OS to another disk, clone one disk to another disk or clone one partition to another location quickly and efficiently. Completely Free Windows Migration and Disk/Partition Cloning Software Migrate Windows from one disk to another without reinstalling Windows, apps. Clone one disk to another and makes the data on 2 disks are exactly the same. Clone a partition to another location without losing any data. Easily adjust the size and location of the destination partition. Convert MBR to GPT or convert GPT to MBR by cloning. Creation of Windows PE emergency disk. Extremely fast cloning speed and multi-language support. Supported OS: Windows Vista/Server 2008 or later, fully compatible with GPT and UEFI. Hasleo Disk Clone 5.8.2.1 changelog: Fixed an issue that caused disk enumeration to fail Fixed an issue where WinPE created under Windows ARM64 26H1 did not work properly Download: Hasleo Disk Clone 5.8.2.1 | 32.3 MB (Freeware) Link: Hasleo Disk Clone Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • This got me thinking, would you rather a self driving car prioritise protecting its passengers or everyone else? I'd choose the one that keeps me and my kids safest. At some point, these cars have to make those choices already, don't they? Wonder if we have a way to find out what way they lean.
    • The proportion (or number of iterations) has nothing to with this aspect of Copyright I am describing. In short, it doesn't matter how many times the manager tells you to change something or how. Your work product is always YOURS until and unless you then assign that to the person representing the client/company, usually for financial compensation -- either in salary or as a subcontract work for hire payment. if iterations determined copyright, then businesses would have learned to just keep making changes until they could claim they owned the copyright, without having to compensate the artist for their work. And that would be BAD. The only place where the amount of changes does have a role is in how much does a human modify a previous public domain work (from any source) before it is considered fair use or their own work, etc. For example, if a human makes substantial changes to a public domain (re: AI, by definition) work, then they can then claim that derivative work as their own...but NEVER the original version, of course. That's why anyone can make a movie about Dracula, for example, as long as it is based on the public domain novel, but not if they take new ideas from copyrighted movies made afterwards. As one of the people who personally advised the US Copyright Office on their recent ruling on these very issues, be assured that I specifically used the terminology precisely -- though I made it simple enough for laymen to understand it. If I made this confusing by doing so, I apologize. But, to be clear regarding your assumption that I would agree to your second statement that I quoted above -- the answer is NO. If AI does the work, no matter how much "direction" you give it, it cannot be copyrighted. All AI generated content is in the Public Domain and therefore the copyright cannot be assigned to ANYONE, even you -- until and unless substantial modifications are made to it BY A HUMAN BEING (yourself or a contracted artist/writer/etc.) and then that copyright on the derivative work is legally (in writing) transferred to you. This is a critical distinction. And it is important that people, especially AI sloppers, understand this. For example, YouTube is not paying AI slop generators for the copyright, etc. of their AI slop. What YouTube is doing is sharing AD REVENUE for permission to publish your AI slop. Copyright/ownership/rights never come into it. Importantly, that means that anyone can copy any AI slopware on YouTube, etc. and rehost it anywhere they want, even back on YouTube, and there is nothing legal that YouTube can do about it with regards to copyright protections, ownership, DMCA, etc. Anyone is legally free to use any AI slopware in any way they want. When this ruling was pending, I warned Disney legal of all of this before they did their OpenAI deal -- that it would literally dilute their entire IP portfolio forever. They ignored that warning for the PR and stock bump. But that is why, when the ruling came down last year, Disney quickly extricated themselves from that OpenAI deal, even eating the initial upfront fees -- followed closely by OpenAI ending their entire AI video generating business model. They adjusted their PR release dates to make this less obvious to shareholders, of course. Phew. I hope that this clears up the key distinctions for you and anyone reading. If you have any additional questions or even hypotheticals about AI and Copyright, please feel free to ask.
  • Recent Achievements

    • Collaborator
      ryansurfer98 went up a rank
      Collaborator
    • Week One Done
      Eurosoft10 earned a badge
      Week One Done
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
    • One Year In
      Skeet Campbell earned a badge
      One Year In
    • One Month Later
      Sharbel earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      553
    2. 2
      +Edouard
      188
    3. 3
      Michael Scrip
      78
    4. 4
      PsYcHoKiLLa
      74
    5. 5
      neufuse
      71
  • Tell a friend

    Love Neowin? Tell a friend!