WordPress.org

Ready to get started?Download WordPress

Forums

The future of AJAX on WordPress (21 posts)

  1. Christiaan
    Member
    Posted 9 years ago #

    What's in store for WordPress with regard to AJAX? I can imagine it could be put to great use especially on the admin side of things. Are we able to talk about future features of WordPress. If so, does anyone know what's in store with regard to AJAX?

  2. Jonathan Dingman
    Member
    Posted 9 years ago #

    There is a plugin out there already that lets you use AJAX for commenting.
    here

  3. XeroCool
    Member
    Posted 9 years ago #

    JD, is it public? There is no download link or anything.

  4. Christiaan
    Member
    Posted 9 years ago #

    Yeah I saw that, but what about WordPress itself, especially with regard to the admin side of things?

  5. Jonathan Dingman
    Member
    Posted 9 years ago #

    I'm not sure if there have been any plans as of right now for it. I suggest you subscribe to the wp-hackers mailing list if you want to suggest it or to keep tabs on what is going on. It's a good resource to be subscribed to =)

  6. Christiaan
    Member
    Posted 9 years ago #

    Thanks jding. I also found this on the Codex:
    http://codex.wordpress.org/Version_1.6

    Although the item, "Combine simple and advance posting view with AJAXy goodness," in the new feature list is crossed out, which I assume means it won't be implemented in 1.6

  7. XeroCool
    Member
    Posted 9 years ago #

    It actually is already implented ;).

  8. Christiaan
    Member
    Posted 9 years ago #

    Cool bananas, I was hoping that's what it meant. Can't wait. When is 1.6 due out?

  9. XeroCool
    Member
    Posted 9 years ago #

    JD, is it a plugin?

  10. Michael Bishop

    Posted 9 years ago #

    Without digging around, and didn't really understand the big deal about the feature, it's not a plugin
    http://www.axentric.com/posts/default/7
    is where it's actually discussed.

  11. jalenack
    Member
    Posted 9 years ago #

    I think you're a bit confused. There is an AJAX commenting plugin for WordPress, called CanaryComment, made by Owen. Check it here: http://redalt.com/downloads/ .... Personally I think that plugin is a waste of time. What is exactly the point of that plugin? Hard to tell... Using AJAX just to use AJAX is not a good idea. For example, using AJAX on the Write page to send posts to the server is not a good idea, because it doesn't add anything to the user experience and just adds to code bulk and potential bugs.

    So, WordPress will use AJAX for things that will benefit from it. But not use it just to use it. Apparently v1.6 is loaded with AJAXy features.

  12. Jonathan Dingman
    Member
    Posted 9 years ago #

    Xerocool: yes, it's a plugin. sorry if I gave the wrong link. If you Google around a bit or just listen to Jalenack, you will find it easily.

    Jalenack: I agree, I don't want AJAX where it's not needed. A cool feature to have for commenting would to have LIVE updating comments so when someone makes a new comment and someone else is viewing it, it just shows up. That would be sweet. I'll keep my eyes opened for that because I would want that in my blog.

    If anyone knows of a plugin/system for that already, let me know =)

  13. jalenack
    Member
    Posted 9 years ago #

    jdingman,

    Honestly I think that would confuse users when new comments just 'appear,' and it would be a lot of wasted server resources to have AJAX check for new comments after users have loaded the page. Now, here's the good news. I've got something similar, that uses AJAX. It is a chat plugin, so people can talk from within your blog without refreshing.

    AJAX chat plugin

  14. Christiaan
    Member
    Posted 9 years ago #

    Anyone know when WordPress 1.6 is due out?

  15. iand
    Member
    Posted 9 years ago #

    The only answer to that question is 'when it is ready'. Since it is still pre-alpha, it is not going to be for a while...

  16. justinbaeder
    Member
    Posted 8 years ago #

    jalenack-
    On the contrary, I think having an Ajax posting interface would be immensely valuable. Allow me to illustrate.

    I was posting the other day, and my browser crapped out and said "Server not found." I hit refresh, and the site was indeed there (just a random glitch, or perhaps my internet connection hiccuped for a second). But my post was gone. I hit "back," and my post was still gone. History.

    Today, I was using Gmail, but wasn't connected to the Internet. I wrote my message and hit "send", not remembering that I wasn't connected. Gmail noticed, and told me I was offline without losing the message. This is built in via Ajax. I connected, retried, and my message sent.

    I'm sure the lost post scenario has happened thousands of times to thousands of people - every one of us has lost a post, no doubt. Even if you save drafts frequently, you're still relying on an HTML form submission to save your post, which can be messed up by a number of things. Ajax-ifying the WP write interface would allow WP to confirm that a connection is available, send the post data, and only reload the page after it received confirmation that the post was saved. It may or may not be faster (e.g., compare gmail to hotmail), but it would be a lot more reliable.

  17. vkaryl
    Member
    Posted 8 years ago #

    Interesting.... except that I've never lost a post (vide your scenario above) while using Firefox.... they're always there, a "back button" away....

    Personally, I'm not the least interested in more layers of complexity using ajax or anything else. In point of fact, I find the "yellowflash" on the current "incarnation" of this forum's post setup to be juvenile and silly, simply another case of a programmer doing something because she can, not because it's of any intrinsic value.

  18. jalenack
    Member
    Posted 8 years ago #

    Agreed

  19. Carbon-12
    Member
    Posted 8 years ago #

    I always Ctrl+A Crtl+C a post before I post it, just incase the page doesn't load - I learnt to back up anything important a long time ago...

  20. justinbaeder
    Member
    Posted 8 years ago #

    vkaryl-
    True - that was on IE. Firefox doesn't lose posts.

    Carbon-12-
    I do that too, just in case.

  21. xavic
    Member
    Posted 8 years ago #

    Hey, old thread, but talked about an ajax chat plugin so I figured I would update it. I just released XDTalk, its an instant messenger that uses ajax to allow your registered wordpress visitors to chat with each other in realtime. Go here to get it:
    http://www.xdweb.net/
    it is also demo'd on my site there, right above the forum last posts area in the sidebar.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags