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

PoC the app technologies #2

Open
magwas opened this issue Apr 20, 2016 · 4 comments
Open

PoC the app technologies #2

magwas opened this issue Apr 20, 2016 · 4 comments
Assignees
Milestone

Comments

@magwas
Copy link
Member

magwas commented Apr 20, 2016

A small android application, which

  • can store a file to the distributed store
  • stores the hash of the file with ethereum
  • retrieves stored xml and xslt file from the distributed store
  • applies the xslt to the xml using saxon (this version: https://github.com/orbeon/saxon)
  • stores the result just like in 1.
@magwas magwas changed the title PoC the applet PoC the app technologies Apr 20, 2016
@krosza
Copy link

krosza commented Apr 20, 2016

  • the stored data should be encrypted

@wigy-opensource-developer wigy-opensource-developer removed their assignment Apr 21, 2016
@wigy-opensource-developer
Copy link
Member

wigy-opensource-developer commented Apr 21, 2016

  • Neither Daniel, nor I have any experience in Android development.
  • If we develop an Android-specific application, it will not be usable from iOS, Windows, Macs or Linux.
  • It is not worth storing data on mobile devices, because the churn is high (WiFi and 4G coverage changes too often, battery saving drops connections, etc.).
  • Computation-intensive things are not worth running on mobile devices. Battery lifetime is an issue there.

Based on all above, should not we think about a web application, which runs on a ZeroNet proxy? We definitely find one man per condominium who has an always on machine. If not then we sell them a raspberry pre-installed.

@magwas
Copy link
Member Author

magwas commented Apr 22, 2016

  • It's a good opportunity to gain the needed experience. I neither have any, but will bootstrap the project for you.
  • There are development environment which are able to create apps for all major phone/tablet platforms. On PC platform they can be ran in an emulator, if not supported natively.
  • We can add seeder servers to help the infrastructure, but one of the design goals is to be fully peer-to-peer. Trends suggest that mobile device being offline will cease to be a problem soon, if it is even a problem now.
  • Today's mobile devices are more powerful than servers of the past.

@wigy-opensource-developer
Copy link
Member

In the last weeks I was evaluating technologies for our (as in De-Central Budapest) open-source projects. My current stance is that to build a good developer community, we need to use only a few technologies that work well together and which are easy to learn even for newcomers into that technology.

  • Learning and using HTML5-CSS3-ES5 seems to be unavoidable nowadays.
  • Vue.js seems to help a lot in writing composable, reusable presentation code.
  • ES2015 or TypeScript seems to be feasible for writing domain code (business logic).
  • Express seems to serve the pages from a centralized server.
  • Electron provides a good wrapper for deployed applications that are kept up-to-date on Windows, Mac and Linux
  • Cordova provides the tooling for applications deployed on mobile devices like Android, iOS, Blackberry and Windows Phone.

This stack allows us to integrate both clearnet web-services like ADA or darknet services like ZeroNet and the SAFE Network.

The Android API has a steep learning curve. Quite some bad applications exist because most developers give up understanding the philosophy behind their API. If it is unavoidable, we can continue with that, but creating a mobile app that does not deplete battery, survives low-memory situations and is supported on lots of devices is hard.

@droka droka self-assigned this Apr 25, 2016
@wigy-opensource-developer wigy-opensource-developer modified the milestone: MVP May 4, 2016
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

4 participants