Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Programming Chatsites
Jaden Imbroglio
post May 11 2005, 03:29 PM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 5
Joined: 9-May 05
From: New Mexico
Member No.: 4,905



Hey! I'm planning to make a chatsite. It's going to be a graphical chatsite, so there's a lot having to go in it. It's going to be a first experience with MySQL, PHP and the lot. It may seem a bit advanced, but I've always been one to tackle something advanced for a beginner.

The chatsite will be a lot like http://www.furryocity.com, only with less features in the actual chatting (they have a lot of features.)

I'm just wondering what I should look up to work on first. Javascripts, PHP, MySQL or what? I think I'll only be needing MySQL, PHP and Javascripting to get this functioning basically.

Any advice for a newb scripter is appreciated, thanks!

JXI
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post May 11 2005, 05:51 PM
Post #2


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411
myCENTs:84.36



I think for to build a good chat client, you'd need something like Java - scripting languages are very inefficient as chat engines, as their mode of operation is different. Everytime you type a line of text, the scripts connect to the server and pass it on - there's a noticeable timelag. Java would do much better under these circumstances coz it can maintain a persistent connection to the server and messages would flow in and out absolutely smoothly - without any delays. If you want a base to start off with, download PJIRC (google for it) - it's an opensource IRC CLient built with Java. You can download the source files and take a look into the innards of the engine. That should give you enough base to fire off with your own project....

And in case you're serious about it - and want to release it as opensource, you can always request project hosting at our new opensource hosting site AntiLost (www.antilost.com).. You might just find a lot of people diving in to share your work - after all that's how opensource works wink.gif
Go to the top of the page
 
+Quote Post
Jaden Imbroglio
post May 12 2005, 02:47 PM
Post #3


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 5
Joined: 9-May 05
From: New Mexico
Member No.: 4,905



Thanks loads! I'll go check those out!

I can't remember everything that went into the scripting at the chats I used to make (with the help of the now-dead www.a1000words.net.) I know definate PHP action, and standard MySQL, because it's going to be graphical, I'd imagine I'd need loads of space.


JXI
Go to the top of the page
 
+Quote Post
saxsux
post May 12 2005, 03:33 PM
Post #4


Bursting with vegany goodness!
Group Icon

Group: Members
Posts: 342
Joined: 8-April 05
From: Norwich, UK
Member No.: 3,753
myCENTs:10.76



If you look in your Astahost cPanel, you get the option to install a PHP Chatroom.
You could install it on your account, and "take it apart" firguring out how it works. Then you can make your own chat room based on something similar to that, before adding your own graphical parts and everything else you want.
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post May 12 2005, 04:00 PM
Post #5


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411
myCENTs:84.36



QUOTE(Jaden Imbroglio @ May 12 2005, 09:47 PM)
Thanks loads! I'll go check those out!

I can't remember everything that went into the scripting at the chats I used to make (with the help of the now-dead www.a1000words.net.) I know definate PHP action, and standard MySQL, because it's going to be graphical, I'd imagine I'd need loads of space.
JXI
*



Nope.. you wouldn't need load of space if you use the Java chat client.. Unlike php or cgi chat - this one happens in realtime as I pointed out.. You wouldn't be seeing a message in your browser saying .. connecting to so and so server... after every single line you type.. chatting happens absolutely smoothly on this, just like any other IM...

If you want to see a demo, try this: http://www.pjirc.com/demo.php

The actual download is ONLY 526KB.. so the client would hardly eat up any space on your drive..
Go to the top of the page
 
+Quote Post
saxsux
post May 12 2005, 04:13 PM
Post #6


Bursting with vegany goodness!
Group Icon

Group: Members
Posts: 342
Joined: 8-April 05
From: Norwich, UK
Member No.: 3,753
myCENTs:10.76



QUOTE(microscopic^earthling @ May 12 2005, 05:00 PM)
Nope.. you wouldn't need load of space if you use the Java chat client.. Unlike php or cgi chat - this one happens in realtime as I pointed out.. You wouldn't be seeing a message in your browser saying .. connecting to so and so server... after every single line you type.. chatting happens absolutely smoothly on this, just like any other IM...

If you want to see a demo, try this: http://www.pjirc.com/demo.php

The actual download is ONLY 526KB.. so the client would hardly eat up any space on your drive..
*



Don't most of those not work through firewalls though? The PHP/CGI based works through firewalls etc, but all the Java ones I've tried can't connect properly.
Go to the top of the page
 
+Quote Post
Jaden Imbroglio
post May 13 2005, 03:20 PM
Post #7


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 5
Joined: 9-May 05
From: New Mexico
Member No.: 4,905



I'm trying to figure what I'll need so that when people are registering they'll get the colour-avatar that they chose. I'm just going to try to get the basics programming down first then look for people to help with graphics. Thanks for the help!

I need to get space here before I can do what you suggested, though Saxsux. Thanks for the demo, microscopic^earthling.

JXI
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How To Save A Image In Pdf File And Download It?(10)
  2. How Long Have You Been Programming ?(99)
  3. What Language Is Best For Game Programming?(27)
  4. Runuo Programming(4)
  5. Does Anyone Code Using Turing(3)
  6. Where To Start Learning Programming(17)
  7. Help A Beginner Start On With Game Programming(8)
  8. What Shall I Learn First In Programming ?(11)
  9. Win32 Api: Modal Dialog Box Problem(1)
  10. Where to start Programming ?(7)
  11. Starting Programming(15)
  12. [tutorial] Basics Of C Programming - Part 1(11)
  13. [tutorial] Basics Of C Programming - Part 2(21)
  14. Rpg Maker Xp Rgss - Ruby Discursions(1)
  15. Need Help Programming With Databases (VB.NET)(9)
  1. Programming In Glut (lesson 1)(3)
  2. Programming In Glut (lesson 3)(1)
  3. Programming In Glut (lesson 4)(7)
  4. Programming In Glut (lesson 6)(1)
  5. Programming In Vb .net, Vista Compatible ?(15)
  6. C# Tutorial : Lesson 3 - Programming Constructs(1)
  7. C# Tutorial : Lesson 4 - Object Oriented Programming(2)
  8. Poll / Debate: Is Php A Programming Language Or A Scripting Language?(12)
  9. Programming C In Windows(8)
  10. Programming Games With C/c++ And Sdl(1)
  11. A Few Thoughts On Freelance Programming(9)
  12. Introduction To Programming(1)
  13. Programming For A Hobby (i'm Sick)(5)


 



- Lo-Fi Version Time is now: 22nd November 2008 - 11:29 PM