1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

AJAX anyone?

Discussion in 'JavaScript' started by wingdude, Sep 23, 2005.

  1. #1
    wingdude, Sep 23, 2005 IP
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, I've heard of it and we're implementing some of it into osCommerce.
     
    T0PS3O, Sep 23, 2005 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #3
    It's cool stuff. vBulletin 3.5 (and therefore this forum) uses it as well. For example a response you make with the Quick Reply box doesn't require a page reload to insert itself into the thread.
     
    digitalpoint, Sep 23, 2005 IP
  4. wingdude

    wingdude Peon

    Messages:
    210
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Very interesting how it has been used a lot before without a name but now Adaptive Path, who coined the name, have now turned into somewhat of a craze similar to that of CSS in some circles.

    Wing
     
    wingdude, Sep 23, 2005 IP
  5. Macbert

    Macbert Peon

    Messages:
    27
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I use Ruby on Rails for web application development and the Prototype Ajax library has been included in the standard distribution for a while now. It's become the standard way for me to implement certain functions, for example adding, deleting and ordering items in a list.

    Script.aculo.us has some really cool demos of Ajax and javascript visual effects in action.

    As usual with "new" stuff there're problems also with Ajax that need to be taken into account. I recommend reading the top 10 Ajax mistakes for more information.
     
    Macbert, Sep 24, 2005 IP
  6. wingdude

    wingdude Peon

    Messages:
    210
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Seen. yeah those are good examples, is anyone actually implementing them into sites now, as in DP members?

    wing
     
    wingdude, Sep 25, 2005 IP
  7. khudania

    khudania Well-Known Member

    Messages:
    303
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    108
    #7
    This is cool new stuff and google has used in nicely in google suggest. I am preparing a presentation about this in some time for our internal project usage, I will also be preparing a kind of POC using Azax.
     
    khudania, Sep 25, 2005 IP
  8. someonewhois

    someonewhois Peon

    Messages:
    177
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Just for the record, Google Suggest doesn't used "AJAX". It uses remote scripting. There IS a difference. AJAX is a buzzword, remote scripting has been around for years (I remember using it a few years ago, and making a pile of money freelancing with it, since it was unheard of at the time).
     
    someonewhois, Sep 25, 2005 IP
  9. mikmik

    mikmik Guest

    Messages:
    356
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Just got in email!

    Introduction

    Let's get going!
     
    mikmik, Sep 28, 2005 IP
  10. wingdude

    wingdude Peon

    Messages:
    210
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Nice MikMik
     
    wingdude, Sep 29, 2005 IP
  11. nevetS

    nevetS Evolving Dragon

    Messages:
    2,544
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    135
    #11
    Here's a cross platform javascript/ajax library:

    http://sourceforge.net/projects/sarissa/

    I started playing with it yesterday and it took me less than half an hour to figure out how to grab data from the server.
     
    nevetS, Sep 29, 2005 IP
  12. mikmik

    mikmik Guest

    Messages:
    356
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Haha, thanks! I looked at your link to wikipedia, it rocks big time. I have about three of the libraries, but this CPaint one from sourceforge is quite, quite amazing. I also got AJAXForm

    The sample that come with CPaint are so cool, especially the xmlhttp chat! There is about 9 of them to play with. The instructions don't teach much and could be better, but that's because I know very little here.

    I have almost zero knowledge of javascript so lot's of this is a struggle for me - to lazy or impatient to learn javascript first. It is fun, though. Do you know much or doing it for long?

    I have a couple of links for DevShed ajax forms and security.
     
    mikmik, Sep 30, 2005 IP
  13. mikmik

    mikmik Guest

    Messages:
    356
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Then, out of nowhere I stumble upon... Fiaminga:Tutorials
    and the first one listed looks about to be the best beginner tute for http request, complete with a simple php server-side script to send and get data with:
    Very Dynamic Web Interfaces
     
    mikmik, Oct 1, 2005 IP
  14. execute

    execute Peon

    Messages:
    301
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Yeah i have been using AJAX for a while now, and it is great, however it does use javascript so it shouldn't be overused because Search engines cant understand Javascript. Also, it can become a hassle with being cross-browser.

    However if you need tutorials and learn exactly how it works in great detail there is a bunch of AJAX tutorials at designplanet.biz under tutorials section.
     
    execute, Nov 21, 2005 IP
  15. cyclinder

    cyclinder Peon

    Messages:
    29
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I'am progamming it right now. there are still features thet I want to be but they are not, like reading progress notification from http/xml activex object.
     
    cyclinder, Nov 25, 2005 IP
  16. execute

    execute Peon

    Messages:
    301
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #16
    i have always thought of that, but never tried it due to lack of time. It's probably hard to make a loading bar, but a little loading sign yea. However, AJAX happens so fast, that its really not worth it unless its a loading bar.
     
    execute, Nov 25, 2005 IP
  17. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #17
    is AJAX more resource intensive?
     
    Dekker, Nov 25, 2005 IP
  18. mikmik

    mikmik Guest

    Messages:
    356
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #18
    You have to be careful about that. It is possible to get holes and leaks that crash browsers, as I am finding working on Gmaps.

    It is also a security risk if you do not throttle the request rate, ie, if someone sets up repreated hits to the server by submiting httprequests. .
    Otherwise, it is pretty fast, just like any other call, which is usually a lot lighter and doesn't involve sending asnd refreshing the whole page everytime.

    There are a few php wrappers and classes showing up that use this.
     
    mikmik, Nov 25, 2005 IP
  19. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #19
    I guess because it opens a up a screen?

    I want to use it in a login/registration format. so when you click on register it, you don't move to a new page, the new information/confirmation just appears
     
    Dekker, Nov 25, 2005 IP
  20. execute

    execute Peon

    Messages:
    301
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Yea i have that in designplanet.biz register page,
    and most of my website designplanet.biz has that sort of stuff. It is not resource intensive, but you should disable your button while its activated to ensure they dont spam your server and crash it.

    Read up on about 4-5 tutorials about AJAX in designplanet.biz
     
    execute, Nov 25, 2005 IP