2017년 8월 1일 화요일

Chat app in MIT App Inv 2


Hey there I want to create a app in AI2 I want to get and store my users on a DB online, but I don't want to store the messages on my server and I don't want to relocate our server, sadly the UK is trying to push a law where message providers must enable users to save all there messages, location, name, device details in plain readable means for them to read it if they deem it so, I don't agree with this I don't agree with me or staff members reading private messages so I don't believe anyone else should, I will be creating a report option that if anyone is spamming or abusing a user it will then report the user and unencrypted messages sent, and if I can't find means to send drive to device once logged in but if I can send device to device then only messages saved would be reported messages.

I would like ideas if its possible to do this in AI2, with anything that is around like the JavaScripting or other tools, If I can remove this stress of having to save all this data it would be great I have also priced it up for the new over heads of saving this kind of data and well I not rich.

I hope this new law will never come in to play but I have to take it in to account now looking forward on my apps.

I am able to handle users login details online and this could also hold means for addresses to send the Direct messages to, I been able to do similar things one windows and web sockets seems to be able to offer this if I want to offer a browser based system, but I would love to offer a native app well AI2 Native lol I am not that good with new symtecs and I forget code a lot.

--
probably this example can help http://puravidaapps.com/pubnub.php

--
No this is still a 3ed pasty service that would have to handle that data, and if the law ever came in to play they would have to do the same or not offer UK any services,
Also I looked at them I trying to make things for other people and I wont have ads or charging them for it, I sick of people saying or use this service here or there when clearly when you hit a mark you have to play, this word is not about money, that is another rant there but I leave it at lol



'I don't want to relocate our server' - also using a 3ed party to handle the messages would also mean relocation of the service of the message part, this tech is out there its far and to the point, people been so scared of using it these days, I remember 10 years ago p2p was everywhere from in your game systems to ever day apps to download your seedy porn lol but now its all NO we can;t do that, no you can do that stop replying on a middle service to bloody do the work, p2p means just that p2p no server in the middle, if my app went down I would hope to include another means to get the users address to share there lifes without some fool in the middle having to know what there doing.

Another reason I want this in AI is so that everyone can get in on it, everyone can try and make something, if windows 10 can now use p2p tech in there OS to share updates and spy on use I think we should be able to make a simple app that sends a message from one user to another, I can't believe people these days pay out of the noise for message relay services that never last a few moments if your lucky you get a big one a few years but the point is there not needed and I am shocked people are letting bigger companies have money out of you for something that is not needed.

Don't get me wrong I like playing with servers like Googles new message service would love to see that in AI also, but this day and age I am shocked to how pussy footed we have become :(


Don't get me wrong your idea also works for small apps that you just want to add a simple chat to, 100 devices, 1 Million messages is OK for a baisc user but I am not looking at a fast fix app that could be dead tomorrow I want to be able to make a app what will work when any of these servers have gone, p2p other this kind of idea, I am one for tech after its best used by date lol

maybe I am asking two much from a world that can program so many cool things these days.

--
Well, I just read how Gnutella works.
Since it is peer-to-peer with no intervening web server, I don't see how two devices running App Inventor would connect directly.
My experience in the past has been with an AI client communicating with a php server.
I can also see the possibility of using a service like DropBox or Google Drive to share simple text files that can store texting conversations with the AI clients polling the file(s) for changes.
You might employ encryption to insure privacy routing your conversations through a javascript encryption engine on the device.
But, again, you are relying on an intermediate computer somewhere on the internet.
Searching for peer to peer javascript I came across PeerJS.
This or some other javascript-based method might make use of App Inventor's ability to share data between itself and html documents on the device using the WebViewer component.

--
Reading about how PeerJS works -- it does use a server but...

PeerServer
To broker connections, PeerJS connects to a PeerServer. Note that no peer-to-peer data goes through the server; The server acts only as a connection broker.
PeerServer Cloud
If you don't want to run your own PeerServer, we offer a free cloud-hosted version of PeerServer.Start by getting a PeerServer Cloud API Key!
Run your own
PeerServer is open source and is written in node.js. You can easily run your own.

--

댓글 2개:

  1. BlueHost is ultimately the best hosting provider with plans for any hosting needs.

    답글삭제
  2. Quantum Binary Signals

    Professional trading signals delivered to your cell phone daily.

    Start following our signals NOW & make up to 270% per day.

    답글삭제