View Poll Results: Would you be interested in a live chat system on PGD?

Voters
21. You may not vote on this poll
  • No

    3 14.29%
  • Yes

    18 85.71%
Page 1 of 2 12 LastLast
Results 1 to 10 of 40

Thread: AJAX Chatbox for Pascal developers?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    I'm sorry to say this, but that it, to some extent 'reinventing the wheel'. If you intend to do so, at least please do it properly and thoroughly (my $0.02 of wisdom) and if you are one of those believing IRC is old (I agree) then find a solution: A new protocol. And before anyone goes and says WTF are you smoking, why do something so big for something so mundane etc... And that there'd be no client apps and whatnot then let me demonstrate a simple approach to this:

    1.) A stream based on Meta tags (html style type things) that way its just as versatile as your AJAX toy - and is extendable.
    2.) By all means, come up with a web client (I'm all for it, cross platform, quick, open source goodness)
    3.) Publish the protocol standards for GTK, QT and console developers. I'm working on a similar data transmission system over TCP/IP and UDP for a Prometheus experiment and networking in my programs (I want to get into data management and databases from scratch) - I'll write you an (or more than one) app thats cross platform and looks nice - console or GTK or whatever you like: we have a few delphi and lazarus developpers if I recall - both support networking do they not?
    4.) Publicise it to the IRC communities with open source clients and whatever - it proposes all the benefits of IRC and all the things we love from that system plus the versatility of AJAX and yada without being a gizmo. Effectively, let the pascal community overhaul an international standard on its own - plain and simple.

    I'll put it in a quote often overused (once more now 'No pain no gain' - this bit of effort could really help the greater community if anyone here has some ambition. Doesn't anyone ever get the feeling Pascal and related technologies is often dismissed as not fit for the real world by the C/C++ world and should stay educational only. Its a little 'unnerving' if you ask me.
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  2. #2
    code_glitch, what are you smoking?!=)
    +1 for AJAX chat.

  3. #3
    @code_glitch: haha, well that's quite an ambitious thing to do. I'm pretty sure plenty have tried to create their own "better" chat protocols. I'd say it's not worth the effort.

    @Phibermon: You have some valid points there. Especially concerning the firewalls that might be installed at workplaces and the devices that can run a client. And code formatting would also be quite usefull. Would it be possible to write a custom client for it, or is it a completely closed system?
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  4. #4
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    @Dan: Got back from 3 week holiday, and now its about as stressful as the rest of the year and thats a late night post. TBH I don't remember what I was smoking but it was pretty good and I'd definitely like to find some more
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  5. #5
    PGD Staff / News Reporter phibermon's Avatar
    Join Date
    Sep 2009
    Location
    England
    Posts
    524
    Can I please itterate I'm not attempting to start a flame war and that I have been a keen user of IRC in the past

    And there's no reason a custom client can't be written, it's just that instead of a direct TCP connecton your client would use HTTP as the transfer mechansim. The client side would be forwarding messages using some form of AJAX interface which if it was so desired could be written into a Chat client. I believe there are several Web MSN clients that use a similar technique.

    But to play devils advocate once more, perhaps there are AJAX IRC clients that by means of server side code, can transfer messages back and forth. In fact a quick search finds this :

    http://www.vedetta.com/ajax-irc-clients-list

    But I should imagine that these require server side code as stated in order to make the actual connections to an IRC server.

    I would say that in order to have the most accessible chat system, an AJAX/http interface would be the way to go. My preference still lies with a system such as AJAX Chat for all the web tech features it offers. But there's a lot of clients in that list, perhaps one of them layers additional web functionality similar to AJAX chat while still connecting to a normal IRC Server. Administration however is still an issue as it's not possible for admins to be connected all the time, a restricted member only chat tied into the existing user system would be a big win in that respect.

    It would probably take a lot more work to write a bot that managed members (tied into VBulletin) and held the room. Plus the bot would have to conform to the rules of the chosen IRC server which are almost always against bots that restrict access to rooms.

    If the decision is made to add chat to PGD then I personally will not further my debate if software/bot and server could be suggested that can equal AJAX chat in minimum implementation work and ease of administration tasks. While the web 2.0 features of AJAX Chat would be great to have, standard IRC will serve to meet the task.
    Last edited by phibermon; 16-08-2011 at 06:36 PM.
    When the moon hits your eye like a big pizza pie - that's an extinction level impact event.

  6. #6
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Well it seems that this is a wanted feature to some degree in some capacity. So I may pursue this in the near future.

    I'm more inclined to use a web-based approach to start as it is the most accessible right now, but this does not restrict the option for an app for other platforms later down the road. The web-based approach would be the most friendly to all parties involved, just based off the availability to load web pages and use AJAX extensions from JavaScript via HTML on mobile devices as well as other work and home computers.

    My biggest influence is easy of access for everyone in the community so I will focus on this. The rest is about security and easy of maintenance.

    IRC unfortunately doesn't really fit into this mold very well. It would rely on 3rd party applications, registration and lay on the whims of other public IRC servers. Not a combination I'm comfortable with when it comes to keeping an environment that is pleasant for our community members. There is no reason however that any of you couldn't start up a #PGD channel on an IRC server somewhere to chat, however this has been done before and it slowly faded into oblivion over time.

    Suggestions are still of course welcomed and of course interest will help show me your demand for such a feature on PGD.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  7. #7
    even if i'm an IRC user, i'm agree that IRC will cut off many people who don't want to use a 3rd party IRC software just for go on the channel. A web solution will be open for all and will be painless.
    Current (and lifetime) project: FAR Colony
    https://www.farcolony.com/

  8. #8
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Well I've setup a instance of AJAX Chat at http://www.pascalgamedevelopment.com/chat/ Feel free to test it out. I'm not done modifying the script and the layout yet, but this will serve as a testbed/trial to see how it will work for PGD Members.

    Comments/Suggestions welcome!
    Jason McMillen
    Pascal Game Development
    Co-Founder





  9. #9
    Looks good Will, but I think something integrated with the forum would be better. I'm sure there is a vBulletin plugin around.
    From brazil (:

    Pascal pownz!

  10. #10
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Well there is a shoutbox plugin that I can use as well, but I wanted to try out the chat windows first. See how it works.

    This one is the vBulletin version too. You'll notice it knows your account name and all the forum names upon loading. I can do more to tweak it and integrate things.

    I've tested it on my iPad and iPhone and it works pretty good on both. I can see it working well on the Android devices too. iPhone was a bit small and took effort to work with the UI, but iPad obviously was easier to work with. Anyone test it on other devices just for kicks?
    Jason McMillen
    Pascal Game Development
    Co-Founder





Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •