Gamingforce Interactive Forums
85239 35211

Go Back   Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk
Register FAQ GFWiki Community Donate Arcade ChocoJournal Calendar

Notices

Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis.
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).


Add to a page without refreshing
Reply
 
Thread Tools
Magic
Good Chocobo


Member 492

Level 15.73

Mar 2006


Reply With Quote
Old Jun 15, 2006, 12:53 PM #1 of 3
Add to a page without refreshing

Right now I'm playing around with PHP scripting and web design in general, and I was just wondering what I'd need to do this. I've seen that the Gamingforce forums have this feature where you can post using the Quick Post or edit your post, and rather than reloading the page it'll simply display a text box (and vice versa when you submit). Can this be accomplished with pure PHP or would I need to use something else?

The project I'm working on (self-assigned) is a sort of Internet Role-playing Tabletop. Right now I'm trying to design a system where the GM or admin can design character sheets for whatever rule set they're using (whether it's D&D or something else). So it would be nice if I could set up a "project page" where they can use buttons, boxes, menus, etc. to define the aspects of their sheets before saving to an XML template. It'd be a pain if they had to reload the entire page every time they altered something, so I'd like to know how I can do this as cleanly as possible.

I should also note that I'm currently looking up how to do this on my own, but I would appreciate some advice as to what is the more web-friendly approach.

Jam it back in, in the dark.

Last edited by Magic; Jun 15, 2006 at 01:29 PM.
Render
River Chocobo


Member 4283

Level 25.60

Mar 2006


Reply With Quote
Old Jun 16, 2006, 02:32 AM Local time: Jun 16, 2006, 12:32 AM #2 of 3
Originally Posted by Magic
Right now I'm playing around with PHP scripting and web design in general, and I was just wondering what I'd need to do this. I've seen that the Gamingforce forums have this feature where you can post using the Quick Post or edit your post, and rather than reloading the page it'll simply display a text box (and vice versa when you submit). Can this be accomplished with pure PHP or would I need to use something else?
It's called AJAX. It's a not a new language or anything, it's actually a combined use of several different ones, the biggest being PHP and Javascript. Data from the client computer is streamed invisibly to the server and back again to the client.

Unfortunately, that's about as far as my knowledge of web languages go. Try looking up Wikipedia: http://en.wikipedia.org/wiki/AJAX
The "See Also" portion should provide a better understand of the technicalities.

There's nowhere I can't reach.
Magic
Good Chocobo


Member 492

Level 15.73

Mar 2006


Reply With Quote
Old Jun 16, 2006, 10:57 AM #3 of 3
W3Schools.com seems to be a good resource for learning web languages. I've been messing around with Javascript, but now it seems I need to take a look at some others. The summary at the end of the Javascript section points to DHTML and ASP, two terms I've seen mentioned in a lot of my job searches. Guess I better get cracking.

How ya doing, buddy?
Reply


Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk > Add to a page without refreshing

Forum Jump


All times are GMT -5. The time now is 02:50 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.