Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

How to implement a Chat service in Perl CGI in a webpage

by romy_mathew (Beadle)
on Aug 19, 2011 at 18:45 UTC ( #921308=perlquestion: print w/ replies, xml ) Need Help??
romy_mathew has asked for the wisdom of the Perl Monks concerning the following question:

Hi Can anyone help to give a idea or tutorial on how to implement a Chat service in CGI script for webpage. Any idea would be very helpful.

Comment on How to implement a Chat service in Perl CGI in a webpage
Re: How to implement a Chat service in Perl CGI in a webpage
by davido (Archbishop) on Aug 19, 2011 at 19:08 UTC

    WebChat in under 100 lines of Perl, described in detail on merlyn's site at: http://www.stonehenge.com/merlyn/WebTechniques/col56.html.

    On Github there is Writing websocket chat using Mojolicious::Lite. Those two options are about a decade apart. Excluding dependencies (available from CPAN), they're within a few lines of each other in length. :)

    Or use Google for "web chat with Perl"

    If you need a more customized response it would help us in our effort to help you if you could provide some background information such as where you are in the learning curve with respect to Perl, what CGI work you have done previously or are comfortable with, and what part of the service you have already succeeded in either implementing or conceptualizing from a coding standpoint.


    Dave

      Hi Dave
      Thanks for the post, well that information was very helpful. I am new to the Web development and perl, i guess its almost 6 months i started learning perl and has developed a Desktop application in Perl TK and Mysql for Stock and Performance Updating Program and in web I started a personal one in my name to learn Perl Template , cgi and java script called www.romymathew.in.
      I looked at the code @ randal but it too heavy to understand for me

        May I know what all I need to know in theory to implement a Chat service in a website. how the idea of chat service works in a Website
        I looked at the code @ randal but it too heavy to understand for me

        Then might I suggest having a read through some of our very fine Tutorials, beginning with Getting-Started-with-Perl, perhaps? (That will get you further than spamming will, at any rate...)

        And, of course, there's always teh googles.

        HTH,

        planetscape

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://921308]
Approved by koolgirl
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-12-22 10:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (116 votes), past polls