New and a little rusty

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Mark H
Forum Newbie
Posts: 2
Joined: Wed Jul 20, 2011 2:16 pm

New and a little rusty

Post by Mark H »

Hello, I'm new to the forum and after a bit of help regarding php ajax and javascript so not sure where to post :p


I am making a text based rpg game, I did this a few years ago using just php and html so every request was a page refresh which isnt great for bandwidth, I have descovered ajax but dont understand at all :( I have read a fair bit on w3 schools but I cant 'implament' it into my ideas.

Basicly I am making a text based game where you click to attack a monster and such (like www.racewarkingdoms.com) but with a chat room without frames, just wondering where i begin.


Thanks for looking
Mark H
Forum Newbie
Posts: 2
Joined: Wed Jul 20, 2011 2:16 pm

Re: New and a little rusty

Post by Mark H »

http://kwo.86designs.co.uk/ <- this is my web site url but nothing is done yet
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: New and a little rusty

Post by McInfo »

The first thing to do is learn JavaScript. (No, not from W3Schools.) Read Eloquent JavaScript. Also, Crockford has some good points. Also, the Mozilla Developer Network is a good resource, especially for learning the Document Object Model (DOM).

Once you understand a little about JavaScript, you will better understand what jQuery is all about. (There are other JS frameworks, too.) jQuery makes AJAX easy to implement.

For debugging JavaScript, Firebug is essential. There are alternatives.
Post Reply