Author Topic: AJAX Admin - Planning  (Read 3073 times)

0 Members and 1 Guest are viewing this topic.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
AJAX Admin - Planning
« on: January 21, 2007, 06:48:57 pm »
Hey,
I just put some things together and just had a few questions before continuing.

So basically I wanna make a (?reverse?) AJAX Admin and did abit of testing and so far firefox shows that it can handle the things I'm doing but IE isn't. Though most things work well in IE except for one thing and this could limit it quite abit.

I know there are more firefox users here, but most public spots use IE
Sooo... How many people using IE would actually use an Online Admin Program??
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: AJAX Admin - Planning
« Reply #1 on: January 21, 2007, 07:09:11 pm »
Don't want to be an ass but it's beeing done by someone who hunts elephants. Maybe you can get in contact with him ;)

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: AJAX Admin - Planning
« Reply #2 on: January 21, 2007, 07:15:10 pm »
Thanks for the info mar77a  :)
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: AJAX Admin - Planning
« Reply #3 on: January 21, 2007, 07:51:07 pm »
don't bother making it work for IE ;)

I know Elephant Hunter was perhaps thinking about doing an AJAX admin and he might have actually done some stuff on it.  It might be worth talking to him if you need help or are looking for ideas.  I've given him a link back to this thread

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: AJAX Admin - Planning
« Reply #4 on: January 21, 2007, 08:21:10 pm »
Oh he did have indeed most of the code, and it really did work ;)

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: AJAX Admin - Planning
« Reply #5 on: January 21, 2007, 08:33:46 pm »
Ok I've pmed him and I hope he can reply back soon.
I'm just wondering how he did it as there are lots of differents methods which could be used, but I'm hoping to use the so called "Reverse AJAX" method so instead of having the client pull the data from the server, its actually pushed out to it.
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: AJAX Admin - Planning
« Reply #6 on: January 21, 2007, 08:36:06 pm »
Ok I've pmed him and I hope he can reply back soon.
I'm just wondering how he did it as there are lots of differents methods which could be used, but I'm hoping to use the so called "Reverse AJAX" method so instead of having the client pull the data from the server, its actually pushed out to it.

yeah, which is really the better way to do it anyway, otherwise the client needs to keep polling the server for data

Offline ElephantHunter

  • Retired Administrator
  • Camper
  • *****
  • Posts: 431
  • Third President
    • - home of the admins -
Re: AJAX Admin - Planning
« Reply #7 on: January 21, 2007, 10:16:59 pm »
There is no better way I know to achieve "reverse AJAX" than to poll the server. If you find something, please share :P

Edit: Heh, and yes, I was working on an AJAX admin and got pretty far. What server-side language were you planning on using?
« Last Edit: January 21, 2007, 10:21:28 pm by ElephantHunter »
Everything you have done in life is measured by the DASH on your gravestone.
Stop wasting time.
Make your dash count.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: AJAX Admin - Planning
« Reply #8 on: January 23, 2007, 05:48:21 am »
I was going to use php (only server-side language I know).

For the reverse AJAX thing I was using the "slow-loading" technique, where basically a hidden iframe is kept open, sent information to and transfers to the main page only when theres an update. This avoids any flickering of the web page.

Date Posted: January 22, 2007, 01:52:57 PM
Got some progress so far...
Check it out at http://www.tumler.bendaweb.com/soap/

So far it connects and shows server messages every 3rd one, you can send commands to server on next load and it has a handy command box  :P.

--To-do !! add server refresh details (most code is in there, but not being used)
--ATM to disconnect, just close window

Feedback welcome, even encouraged  :D
« Last Edit: February 21, 2007, 08:26:42 pm by Frenchie »
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: AJAX Admin - Planning
« Reply #9 on: January 23, 2007, 06:08:11 am »
Hehe, very imaginative name you chose.

Good luck with it all, REFRESH parse code is somewhere around here.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: AJAX Admin - Planning
« Reply #10 on: January 26, 2007, 02:39:09 am »
Thanks,
I have got the REFRESH code in it but just havent gotten around to implementing that feature. (Layout mostly)

ATM Just got to figure out some things that need to been in javascript.

Date Posted: January 23, 2007, 09:15:25 PM
-------------
Don't know if many people have tried this out. But if you have please post some recommendations.

Ok, so theres a few flaws in it (Main one being that if misses a few messages) So I have an idea to improve on this and make it catch 100% of the messages (and will allow commands to be sent straight away).

I had a quick look at my old SOAP: Automated Scripts program (never released) and found out a technique I used. So look forward to a pretty good update (Next few days) I hope.  :)
Soldat Lobby Avec Players -New Release! - Updated AGAIN!