me and my team are students and have created a game in HTML5, Javascript and CSS3 which we need for an organization that required the game to be packed into a single desktop application, that can be accessed even if there isn't a network connection.
My question is how to this, how to pack the game?
You need some sort of network connection in order to access this game from clients machines:
In internal network you have to install Web Server like Apache or nginx
and some kind of network connection between clients, it could be [LAN][3] or [Wireless LAN][4] network.
Related
I’d like to be able to create a GUI that can be viewed over the network by a remote client.
One approach is to code the whole GUI in HTML5 and run it from a server such as Apache; the main difficulty with this is that the GUI includes at least one, sometimes two, windows containing live video streams (without any sound) and there doesn’t seem to be a good way of streaming live video into HTML5 - especially as it really needs to be live; a few seconds’ latency would be unacceptable.
Another approach (which I’ve done already, and actually works pretty well) is just to code the GUI as a desktop application (for example using Qt), and then to view the desktop remotely using VNC or Windows Remote Desktop. This gives the required responsiveness and lack-of-latency, but has the disadvantage that the whole OS desktop is accessible and not just my one application.
So, here is my question: is there a mechanism or a framework available that would enable me to use RFB (i.e. the protocol underlying VNC) or RDP (that underlying Windows Remote Desktop) to provide remote access to a single GUI application rather than a whole desktop?
When we comparing RDP and RFB the main deference is RDP only share metadata where RBF share whole frame buffer of the screen. So RBF is slow than RDP. VNC is using RFB where windows applications like Lync using RDP.
http://sandaruwmp.blogspot.com/2014/05/remote-desktop-application-with-rdp.html Here you can see a simple RDP example
Actually you can create an application that only shares a single application and also you can use many other protocols with RDP
here https://github.com/sandaru/RDAPP in this application it uses RDP with TCP that you can select only one application to show.
In this application it shares the desktop via RDP and listen to a TCP port you can send commands such as "stop selected processes", "Focus single application" and "share whole window". RDP react according to the TCP requests.
i hope this will be useful for you
NOTE: Above Source does not contain any NAT traverse mechanism.
I have a Wifi connection for several Android and PC devices without internet connectivity.
All of the devices need to collaboratively modify the same data (something like editing google docs file online for several users).
PCs work with pure HTML5 app, Androids with hybrid HTML5/native.
I need to create an effective way to synchronize the data in real time without having centralized server.
The date exchange has to be secure, so no unauthorized connections could read the shared data.
The only idea I got is to have some kind of UDP broadcast via sockets, but it's not possible with WebSockets for HTML5, so I have to figure out another solution. Maybe some peer to peer replication of DB or file sharing.
You can use adobe RTMFP channel to broadcast the data to multiple peers either over LAN or internet. It only needs the flash player installment on android & PC. Another alternative is webrtc but it requires broker server to establish the connection.
I am planning to build a production application for a small & medium business. This is an intranet application with maximum 15 to 30 concurrent users. The proposed architecture is:
Client: Firefox browser
UI: HTML, JavaScript, CSS
Communication via: jQuery AJAX
Middle Tier: Window Service hosting WCF Service (using webHttpBinding)
Database: SQLServer 2012 Express Edition
In this architecture the missing part is a WebServer that will serve the static HTML pages. I do not want to go in with IIS mainly because of the following reasons:
Keep the cost of deployment down
Most of work is being done in the Window Service hosting WCF Service
Since most of the middle tier work is done by my Window Service hosting WCF Service and my UI is HTML, JavaScript & CSS, can we do away with the WebServer like IIS or other WebServers supporting ASP.NET technology and use a lightweight WebServers which serves only static HTML pages something like lighttpd, nginx etc?
Are these light weight WebServers like lighttpd, nginx suitable to host in production environment.
There might be an issue of AJAX Cross Domain requests as Window Service hosting WCF Service and the lightweight WebServer may run on different port but on the same IP address. We can probably overcome this by opening it up to cross domain requests as it’s an intranet application.
One of the ideas behind this architecture is that I want to try and reuse this in other projects which are bigger in size.
Please let me know if this is possible and the related pros & cons of this approach. I am also open to any other suggestions which will help me improve this architecture.
I think you're overdesigning it for such a small site. If you're anyway going to run a WCF service it shouldn't be a problem to use IIS.
I'd suggest to either use ASP.NET MVC and do the html rendering on the server, or to go for a client side library such as angular.js in combination with Web API.
We are developping an AIR Application that is used within our company VPN. The clients are not always connected to the network while they are in use (there are desktop clients as well as iOS clients). Now we want to add analytics functionality to get statistics of number of installations, frequency of use of certain features and so on.
Because the clients are not always connected to the network, the solution should feature offline tracking of events, which are then sent to the tracking server once a connection to the server can be established.
AppAnalytics (http://www.appanalyticshq.com/features/) offers exactly what we need, but it aparently it's not self-hosted. Because of strict security policies, the clients in our VPN are not allowed to up or download anything to/from the internet - therefore we look for something that can be hosted on a server within our VPN.
Does anyone know a good solution for this scenario?
Two connected qustions
I understand that non HTML5 browser can connect to websockets using flash.
https://github.com/gimite/web-socket-js
1. However is there an implementation of websockets for flash inside flash?
2. If I were to use normal flash sockets, would the sockets work if there were multiple instances of the flash file running on a local network connecting to an external socket server. Would the messages intended for one instance be forwarded to all instances
Here is a Flash implementation for use in Flash itself: https://github.com/y8/websocket-as
I'm not sure what you are asking but it sounds more like a question about the WebSockets server application and that completely depends on your application.