Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 musing on the Monastery: (4)
As of 2014-11-01 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    If a safe, affordable anti-ageing treatment that extended life indefinitely were to become available, would you take it?



    Results (4 votes), past polls