Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I basically have three reasons why I think logging in on irc is more convenient than on a web form.

Firstly, on a web form, you have to enter your irc nick separately, which is error prone, whereas on irc you automatically cannot log in anyone else than yourself.

Secondly, the users only have to set up one application, not two. Many irc clients have at least some scripting support, so a user could even fully automate that when he goes on irc, the client joins the cbstream channel and logs in for him. Similar is true with a very dumb irc client: I have used irc to get support from an install cd that only gave me a busybox rescue shell. I could use the wget nc command to submit a simple web form, but if you already have a connection for irc open, it's easier to just type one or two commands there than mess with a web form.

The third point is the convenience of implementing on the server side. It would be possible to write a cgi that runs in the webserver, and make it transmit the data to the cbstream server, true, but it seems much easier to make the cbstream server accept one more kind of input as it already has the irc connection open. This is especially true to the new channel-based login mechanism, which is actually even easier to implement than the memoserv-based one, only I didn't realize this back when I wrote the memoserv handler.


In reply to Re^3: New login mechanism for cbstream by ambrus
in thread New login mechanism for cbstream by ambrus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-24 02:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found