Hi JAA, I think this is a little off-topic, but here goes...

On Apr 27, 3:30 pm, JAA <[email protected]> wrote:
> I want to write a HTML5 with canvas/javascript turn based game that
> will make mysql database calls.

Exciting news! There are already some people doing exciting HTML5
games work

http://boingboing.net/arcade/

> I have heard of Wamp Server. I know about the Firebug page.
> So what do I need to install and how do I set myself up?

WampServer looks like it comes with PHP ("Wamp" comes from "LAMP,"
which means "Linux, Apache, MySQL, PHP/Perl/Python.")

If you want to use PHP, you may want to insulate yourself from writing
MySQL queries and use an O/RM which allows you to use your programming
language's built-in primitives to read and write to your database.

In any case, from Firebug, you will probably want to be invoking PHP
scripts on your server via XHR. I recommend using jQuery to make XHRs.
Here is the documentation for one of the APIs provided:

http://api.jquery.com/jQuery.ajax/

There are other "easier" APIs which allow you to write less by making
more assumptions. Be sure to explore how you'll be communicating with
the server!

On Apr 29, 9:04 am, Jan Honza Odvarko <[email protected]> wrote:
> You can also load pages directly from your local file system (using
> file: protocol)

I believe that use of the file: protocol anywhere in your application
or in your browser's location bar will prevent you from accessing any
HTTP server, as per the Same-Origin Policy:

http://en.wikipedia.org/wiki/Same_origin_policy
https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript

Good luck JAA!

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to