1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

No-refresh web pages

Discussion in 'General Programming Chat' started by boeing767, May 14, 2009.

  1. boeing767

    boeing767 Newbie

    Joined:
    May 11, 2009
    Messages:
    4
    Likes Received:
    0
    Hello, this is my first post on BHW, and I find most things here extremely useful as I'm just starting out. Hope to be contributing soon to the community once I devise my own original Black Hat methods. ;)

    Anyway, just a simple question: how are no-refresh web pages created, e.g. Facebook? That is to say when you perform a function (say, submit a comment form), the form submits on the page itself without reloading and then displays as a plain text entry uploaded into the database.

    What scripting languages are required to build no-refresh applications? I can code in PHP, but it seems that PHP requires refreshing for functions to be performed.

    Thanks a lot.
     
  2. BHFr3shY

    BHFr3shY Registered Member

    Joined:
    Apr 11, 2008
    Messages:
    99
    Likes Received:
    5
    Occupation:
    Student
    Location:
    New Jersey, USA
    Hey.

    Ajax is a scripting language that will give you what you're looking for.

    -Fr3shY
     
  3. Rendias

    Rendias Registered Member

    Joined:
    May 14, 2009
    Messages:
    91
    Likes Received:
    34
    Ajax and javascript.
     
  4. thedorf

    thedorf Senior Member

    Joined:
    Oct 1, 2008
    Messages:
    1,193
    Likes Received:
    700
    Occupation:
    what? I gotta have a job?
    Location:
    BHW - Where else?
    Ajax definitely - but ajax is not a programming language it is more of a protocol.

    I use javascript to make an ajax call to php on my server. Search google.
     
  5. grazor

    grazor Registered Member

    Joined:
    Apr 14, 2009
    Messages:
    57
    Likes Received:
    19
    w3schools dot com has the best best explanation of the basics of AJAX imo.