What javascript engine should i use?

Discussion in 'JavaScript' started by Tonyy, Nov 6, 2012.

  1. #1
    i m going to create a dating web site. it's online game. there are will at first registration, chat and the game, where people can ask question and random users (3 boys to 3 girls) answer on each other at real time.

    like on screen (russian flash app). ask question: http://cossa.ru/upload/medialibrary/2f0/Clearasil-2.jpg

    answering: http://vkdiz.ru/uploads/posts/2011-08/1314303812_25.0823.png

    at the end, people, if they want, they can choose a man: http://onlain-love.ru/wp-content/uploads/2012/08/prilozhenie-v-kontakte-sprosil-uvidel-polyubil.png

    so, i know very good html, php, mysql. A little js, ajax, jQuery. what engine and how should i start to make this project?

    for example, i read about Ajax Push Engine. Should i use it or search something else, another technology? Or maybe just write site on clear jQuery and mysql?

    thank you! :)
     
    Tonyy, Nov 6, 2012 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    APE (Ajax Push Engine) makes chat software a lot easier, but you can just link to a real chat server. (Bahamut is available - http://www.dal.net/?page=bahamut - and it's a great chat server. Anope Services is also available.)

    You don't need push for anything other than chat. Amnd even with chat, you can just poll every few seconds if there aren't too many users on at one time.
     
    Rukbat, Nov 6, 2012 IP
  3. Tonyy

    Tonyy Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you for answer.

    Some people recommended me use NodeJS. Do you know about it? I read that I have to create my server to make chat, for example. I don't understand, how will it work in Internet, not my local machine? Do i have always turn on my computer in order to stay turned on server? Where users info and messages will be situated? in mysql?

    In jQuery it's easy: no server and js+php scripts to go with mysql.
    Why should create server if i can just easy use jQuery+php+mysql?
     
    Tonyy, Nov 8, 2012 IP
  4. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #4
    You can use jQeury/Javascript/MySQL or APE to connect to the chat site, but you can't chat with another user without some site or chat server to connect to. The server doesn't run on your local machine (unless you want to be the server, in which case your computer has to be running 24/7/365). Most chat servers run on a computer run by the ISP or on a shell account at a hosting company.
     
    Rukbat, Nov 8, 2012 IP