Complete code for Web Live Text Chart Application using Perl and MySQL
Web Live Text Chart Application using Perl and MySQL - Part 6
Web Development with Perl and MySQL
Foreword: In this part of the series, I give you the link to the complete code of all the files, in one zip file.
By: Chrysanthus Date Published: 9 Sep 2016
Introduction
Your Commercial Project
The project carried out in this series is a pedagogic project. In your commercial project you will need to do some modifications.
Talking about text that is transmitted from web page to the server and back: The text consists of name/value pairs, with the custom reserved words, & and =. In order to protect & and =, any & in a name or value should be replaced by %26; any = in a name or value, should be replaced by %3D. At the receiving end (web page), you can decode the name/value pairs by hand after you have separated them using the & and = in regular expressions. In that situation, you replace, %26 with & and %3D with =. ECMAScript has a function to do such encoding automatically and decoding automatically. You can use the functions if you want.
In your commercial application, you will also have to produce the normal and maybe the client web pages in such a way that if the operator is busy doing text conversation with some other customer, the next person seeking conversation will have to wait, for his turn.
In some cases, a client or operator can type two paragraphs in the Text Area element. In those cases the newline character is involved. Perl allows you to code that into your commercial project.
What about the case when the conversation is between two clients and not client and operator? Yahoo does this kind of thing. With just a bit more research, you should be able to achieve this.
Complete Application
All the files of this pedagogic project are in one zip file. You can download the zip file from:
http://www.broad-network.com/ChrysanthusForcha-1/Web-Live-Text-Chart-Application-using-Perl-and-MySQL.zip
End of Tutorial and End of Series
We have come to the end of this tutorial and the end of this series. I hope you appreciated the series.
Chrys
Related Links
Web Development Basics with Perl and MySQLPerl Validation of HTML Form Data
Page Views with Ajax and Perl and MySQL
Web Live Text Chart Application using Perl and MySQL
Search Within a Site using Perl and MySQL
More Related Links
Perl Mailsend
PurePerl MySQL API
Perl Course - Professional and Advanced
Major in Website Design
Web Development Course
Producing a Pure Perl Library
MySQL Course
BACK