Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Reply
 
Thread Tools
Old 02-09-2010, 05:17 AM   #1
WGFriends
New Member
 
Join Date: Aug 2008
Name: John
Posts: 1
WGFriends is on a distinguished road
PHudBase -- a PHP-based, WebSocket supporting naked codebase

Hello, all! I've puttered around here over the years and have only recently gotten back to developing my games, so I'm back! And for you dual-forum readers, I've posted this exact message at TMC and TMS forums. Gotta get the word out....

I've taken a couple of days to build an open-source, clean version of the codebase I've developed over the last 4 years (stripped down to the work of about two nights).

What resulted is called, "PHudBase," short for PHP MUD Codebase (duh). PHP-MUD was taken by another guy named John doing what appears to be something very similar. About 5 days ago (and more power to him -- I'd love to see further innovation on this stuff).

Aside from being a very-simple-to-code base (and very, very naked), the big thing is that I've built HTML5 WebSocket support into the engine, so very rich browser clients can be built without the need for Flash or Java and without sacrificing speed or reliability (this is a true, two-way, socket based interface).

The project is hosted at PHudBase: PHP-based SocketServer with WebSocket Client Support with a demo (for Google Chrome users only for the time being) and the codebase available at Google Code (linked from the homepage).

If you don't have Chrome, you can also telnet in at phudbase.com:12345 and use the following commands (pretty standard):
say
look
n|ne|e|etc.
quit

I really think this could be an excellent start for a budding developer, and more importantly, a great way to hook these young'uns that don't know what Telnet is to our games.

I'm also interested in working with anyone who wants to try implementing WebSockets alongside your standard socket-type code in existing codebases. Hit me up at jfitzdela@gmail.com or the Google Group linked from the homepage.

So what do you guys think?

- John
WGFriends is offline   Reply With Quote
Old 02-09-2010, 08:16 PM   #2
Avasyu
Member
 
Avasyu's Avatar
 
Join Date: May 2004
Name: Jeremy
Location: Bellingham, WA
Home MUD: http://www.ironrealms.com
Posts: 84
Avasyu is on a distinguished road
Re: PHudBase -- a PHP-based, WebSocket supporting naked codebase

That is pretty wicked actually. One problem we have with MUDs is getting to computers that have blocked port 23 for whatever reason. Does this get around that somehow?

Last edited by Avasyu : 02-09-2010 at 08:19 PM. Reason: typo
Avasyu is offline   Reply With Quote
Old 02-15-2010, 05:07 AM   #3
Graham
New Member
 
Join Date: Apr 2009
Posts: 9
Graham is on a distinguished road
Re: PHudBase -- a PHP-based, WebSocket supporting naked codebase

Quote:
Originally Posted by Avasyu View Post
That is pretty wicked actually. One problem we have with MUDs is getting to computers that have blocked port 23 for whatever reason. Does this get around that somehow?
I don't think so, I get the impression that Web Sockets is just a JavaScript TCP/IP API.

EDIT: actually it looks like it's another protocol on top of HTTP, so it probably would.

Last edited by Graham : 02-17-2010 at 08:12 AM.
Graham is offline   Reply With Quote
Old 02-15-2010, 06:43 AM   #4
silvarilon
Member
 
Join Date: Dec 2009
Posts: 144
silvarilon is on a distinguished road
Re: PHudBase -- a PHP-based, WebSocket supporting naked codebase

Nice!

I like the ability to drop input prompts into the text itself.

Question: Is my computer talking to the server, or is it talking to the webserver where the client is, and that webserver talks to the server?
silvarilon is offline   Reply With Quote
Reply


Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 04:30 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2014