Introduction From my point of view – using Java, ActionScript 3 and C# – JavaScript is not an Object Oriented Programming language. You can not create explicit classes, explicitly define static variables and methods and the definition and instantiation of an Object is… …awkward. Base article Javascript and OOP – by Tim Scarfe: Creating “Classes”… [Read more…]
Basis HotForestGreen uses a specific set of Socket connections with specific qualities for specific purposes. Overview WebSockets – For HTML Clients. Read more about them in: “Web Sockets and Web Clients“. Requires a specifif IP Address - To connect to a HotForestGreen Server, the WebSocket needs to connect to a Known Server on a Known Web Address… [Read more…]
Introduction There is more to HotForestGreen than Java, Flash and C#. As I started working on the (new) road map for this Framework in 2010, Web Sockets (and a simple integrated HTTP Web Server) became a very important part of it. Why WebSockets? There are several reasons for the implementation of Web Sockets: Allow for communication where… [Read more…]
Summary Due to other priorities I wans not able to do much since June 19. Today I did two things: Test with synchronized Browsers – This test included the following elements: Synchronization of URLs – When one of the browsers navigates to another URL, all other browsers follow. Synchronization of scrolling – When one browser… [Read more…]
HotForestGreen is a very technical solution. You can build anything with it and do a lot of stuff, but if you are not one of the 100 programmers already familiar with the topics involved, it can be (and is) very abstract techno babble. So in this page I will attempt to make it more understandable for… [Read more…]
Brief Application SandBoxes – All applications in a HotForestGreen network run in SandBoxes. To keep the architecture of HotForestGreen simple I have chosen for a Hub/Spoke approach. To make sure the Real Time applications running on the Framework can continue to work when a Server drops out, I have built in some systems of redundancy… [Read more…]
Remote Objects, Sockets and Data When you send data from one Remote Object to another over Sockets, you want this to happen fast and without too much waste. I started using JSON for the HotForestGreen framework, but started to dislike it for the overhead it creates. There is too much redundancy in the way it… [Read more…]
Remote Objects A Remote Object is – in principle – any object that extends the BaseRemoteObject class. Remote Objects are representatives of one single Object, but distributed over multiple locations. Purpose 1: synchronizing objects When the user changes the values on a Remote Object and that change is submitted to the Cluster, we want those… [Read more…]
Requests and Responses Requests – Are comparable to method calls, but then to all objects in the scope of your applation Responses – Are responses to your Request. Static and on Objects There are two types of remote methods: Static methods - Which are implemented on Class-level and are called via ClassName.myStaticMethod(); Methods on an Object -… [Read more…]
What you have when you started: 30 minutes and up and running If you installed your SmartSpaces Cluster for the first time, running one or more Servers and everything happening Ad Hoc via the automatic Discovery Servers, you now have the following: SmartSpaces Servers communication anything to anyone – Blabbering all your secrets to anyone… [Read more…]
July 11, 2011
0