Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose a long-term strategy for Java desktop and Android development #10

Open
GoogleCodeExporter opened this issue Apr 26, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Several possible strategies are listed below.

1. Accept that the Java implementation different from Perl.
1.a. Continue desktop development without being concerned about the fact that 
Perl is implemented differently.
1.b. Refactor existing Java classes so that non-GUI code can be reused for 
Android.

2. Incrementally harmonize the Java and Perl APIs.
2.a. In Java, move GUI code out of API classes, and vice versa.
2.b. Then start work on making the Java and Perl APIs more similar.
2.c. After the new Java API is complete, and is being used in the desktop 
application, then look at using it for Android.

3. Start with a clean slate, but continue processing data on the local machine:
3.a. Enhance the existing Java application until current goals are met.
3.b. Switch focus to version 2.0, where we would:
3.b.1. Implement a new Java API first, reusing existing code wherever possible.
3.b.2. Write new desktop and/or Android GUIs that use the the new API.

4. Start with a clean slate, but switch to server-side data processing:
4.a. Enhance the existing Java application until current goals are met.
4.b. Switch focus to version 2.0, where we would:
4.b.1. Provide web services written in Perl, based on current Perl code.
4.b.2. Write new desktop and/or Android GUIs that consume the web services.
4.b.3. Allow the user to download pre-processed data for offline use.
4.b.4. Allow the user to restrict downloads by language and date range.

5. Start with a clean slate, but move away from real-time data processing.
4.a. Enhance the existing Java application until current goals are met.
4.b. Switch focus to version 2.0, where we would:
4.b.1. Use existing Perl code to generate static HTML. Regenerate the HTML as 
needed when source data changes.
4.b.2. Write new desktop and/or Android GUIs that download static HTML for 
offline use (possibly using a built-in Subversion client).
4.b.3. Allow the user to restrict downloads by language and date range.

Other thoughts?

If you need free web hosting to tinker with any of the above ideas, have a look 
at RedHat's free platform-as-a-service solution (openshift.com).

Original issue reported on code.google.com by ps008v...@gmail.com on 6 Feb 2015 at 6:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant