Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

AJAX integration.

  • skenliv
  • skenliv
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
18 years 7 months ago #13570 by skenliv
AJAX integration. was created by skenliv
There seems to be a very very very high load on the servers everytime a person visits a profile with alot of plugins and user information. As for the gallery, a 200k load is not unusual for a +10 picture gallery. Integrating AJAX for loading each tab would save alot of waiting time and load on the servers.

anyone up for the task of integrating it?

Please Log in or Create an account to join the conversation.

  • wolfcreek
  • wolfcreek
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 0
18 years 5 months ago #16354 by wolfcreek
Replied by wolfcreek on topic Re:AJAX integration.
I would also like to see AJAX integration for the purpose of server load reduction. I'd also like to see a lot more of the plugins and/or modules (specifically CBLogin) incorporate AJAX to make it so that PMS and Connections are updateable. When a site has a chat area, if someone isn't tied into their PMS or Connections, it could be several minutes (hours) before they find out they have pending requests or communication.

I have just started AJAX programming, so I will struggle with some of it, but I'm by no means proficient.

Thanks.

Wolf.

Please Log in or Create an account to join the conversation.

  • geeffland
  • geeffland
  • OFFLINE
  • Posts: 199
  • Thanks: 0
  • Karma: 233
18 years 5 months ago #17431 by geeffland
Replied by geeffland on topic Re:AJAX integration.
I suggest trying xAjax... I have sucessfully added it into a CB plugin but have not had the time to post the "how to" yet... So if it works in a plugin I would think it could work in core components.

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
18 years 5 months ago #17432 by mikko
Replied by mikko on topic Re:AJAX integration.
AJAX is an overkill for this. Browser side scripting is much more elegant and effective solution.

On the server side you just replace all img tags with a script tag that creates the images when they come visible. It would be quite easy to write a wrapper plugin (like the te access control thing that I wrote) and make this replace the tags.

See www.cryer.co.uk/resources/javascript/script3.htm

mikko

Post edited by: mikko, at: 2006/07/20 21:10

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum