Skip to main content
Participant
August 20, 2009
Question

Is ColdFusion the right choice?

  • August 20, 2009
  • 1 reply
  • 508 views

A general question about ColdFusion (from a clueless person) to decide whether Cf is the right direction for our company, and whether we should then contract a Cf developer (hopefully not clueless) to complete this project.  We're in very early stages, so I can't give you much to work with.

Here's the situation:  We would like to stream text from a remote location to our website in real time.  Is it possible to create a ColdFusion application that would read from the text source (in this case stenography software*), and then display this text in a resizable text box on our website?  So far most options seem only to be able to read from a static file (e.g., saved txt file).

Am I on the right track?  Would using ColdFusion be complete overkill?  If so, can you suggest alternative methods?

Thanks in advance for sharing your knowledge,

Peter

*which steno software has not been decided so I have no info on output formats

    This topic has been closed for replies.

    1 reply

    ilssac
    Inspiring
    August 20, 2009

    ColdFusion could be a part of this solution, but I doubt it is the only one.  But you have some more basic tasks to understand first.

    What do you mean by "real time".

    What do you mean by "stream".

    Both of those are not concepts normally thought of with web sites.  The HTTP protocol is stateless.  A browser makes a request of a web server, the web server sends a response and then promptly forgets anything about that request and the browser that made it.  In other words, the web server has no way to send any more information to the client until such a time as the client makes a new request.  This makes pushing data to stream it real time or otherwise pretty much impossible.

    One way around this is to use client side scripting, like javascript, to have the browser make repeated requests to the server for updates, like every second.  Using some AJAX concepts you can do this in such a way that the browser is not requesting an entire page every time, which saves trendmensly on bandwidth used.

    You can think outside the browser, which sticking with Adobe products would most likely be Flex and|or Air technologies to create a Flash based user interface that can make and maintain an open connection with the web server through AMF so that the web server can push new data to the client.

    With either of these options, it is quite possible that ColdFusion could provide a middleware layer getting the data from what ever source is providing the data and pushing it out to the client.  It is very good at sitting in the middle.

    But until such a time as you have a clearer understanding of your actual application and its requirements and how that works with the internet protocols you are going to have a very difficult time determining what technologies or products would work best.  And trying to do the latter before doing the former could be a very expansive way to go about this.