On Sat, Mar 18, 2017 at 12:01 PM, Douglas von Roeder via 4D_Tech < [email protected]> wrote:
> David: > > Just read the feature request thread for WebSockets and I'm pretty certain > I voted for it (clicked 4 stars on the first message in the thread). > Thanks! Not my feature request, but, dang, one of my favorites this year. That and Cannon's request for an implicit C_OBJECT store for forms and so on. That would also be pretty darn great for different reasons. > WebSocket fits well into the concepts of Call worker/form in that it's > providing developers with more granular connections and, hence more > granular control, over how data is requested and supplied. That would be a > very welcome addition to the 4D toolset. > Yeah, 'game changer' isn't an overstatement. A WebSocket is a reasonably easy-to-use, dedicated two-way communications pipe between two processes. And "processes", in this case, can mean a Web browser. So, you get a really platform agnostic way of hooking 4D up to...well...anything that supports WebSockets. Very, very nice idea. It doesn't do everything - but it fills in a big gap. WebSockets also very neatly leverage a lot of existing HTTP gunk (like for security), they don't require moderation by a dedicated Web server. That's super flexible...and efficient. Imagine if you could spin up a worker that's dedicated to a 4D process on a remote stand-alone, or a remote client connected to a *different* 4D server, or connected to an entirely different program in some completely unrelated language you've never heard of, or connected to a Web browser. Persistently connected. Bi-directional. The mind is blown. For anyone that's interested in message-oriented architectures and/or distributed computing setups (read: anyone working on a network), WebSockets would real make 4D something like 4D^ 16D? ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

