AJAX Polling: Checking A State

Поделиться
HTML-код
  • Опубликовано: 13 мар 2014
  • Want more? Explore the library at www.codecourse...
    Official site
    www.codecourse...
    Twitter
    / teamcodecourse

Комментарии • 8

  • @jrrb18
    @jrrb18 10 лет назад +2

    Go Alex !!,
    the perfect Teacher !!

  • @LuisGuillermoMoreno
    @LuisGuillermoMoreno 10 лет назад

    Thanks Alex, I going to use it for a notifications system.

  • @LuisGuillermoMoreno
    @LuisGuillermoMoreno 10 лет назад

    Using it for notification system! thanks Alex

  • @NOTSERK
    @NOTSERK 10 лет назад

    Thanks Alex you're awesome

  • @painnutplay9
    @painnutplay9 8 лет назад

    I have one question. What would be a more efficient way to poll?
    1- Call a PHP file which queries for a database and retrieves some kind of information and pass it as json from the same php file.
    2- In some way, execute a database procedure or something in a loop that modifies a file if there are changes and make the poll to that file.
    And, could I only run polls whenever a change is made in the database? I mean, instead of polling continuously, just trigger something from the database or from php code whenever a change is made in the database in a certain able and then change that file or retrieve the json to a JS from a php file?

  • @PHILEMONPHILIPKUNJUMON
    @PHILEMONPHILIPKUNJUMON 10 лет назад

    What is the text editor you are using.?

    • @Oshbotscom
      @Oshbotscom 10 лет назад

      Not sure what skin he's using, but the program is Sublime Text.
      www.sublimetext.com/

    • @codecourse
      @codecourse  10 лет назад

      The theme is Mac Classic.