Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

What javascript engine should i use?

javascript jquery ajax

  • Please log in to reply
5 replies to this topic

#1 sirjay

sirjay

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts
  • Programming Language:C, C++, C#, PHP
  • Learning:JavaScript, Haskell

Posted 06 November 2012 - 04:15 AM

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/uplo...Clearasil-2.jpg

answering: http://vkdiz.ru/uplo...812_25.0823.png

at the end, people, if they want, they can choose a man: http://onlain-love.r...el-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! :)
  • 0

#2 Orjan

Orjan

    CC Mentor

  • Moderator
  • 2918 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#

Posted 06 November 2012 - 05:01 AM

You need som kind of middleware server-side to access the database as well. For example php.
  • 0

I'm a System developer at XLENT Consultant Group mainly working with SugarCRM.
Please DO NOT send mail or PM to me with programming questions, post them in the appropriate forum instead, where I and others can answer you.


#3 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 06 November 2012 - 05:59 AM

Your question doesn't really make a lot of sense. Are you talking about running Javascript on the client side (you have no control, their choice of browser determines the engine) or server-side (not normally done)?
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#4 sirjay

sirjay

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts
  • Programming Language:C, C++, C#, PHP
  • Learning:JavaScript, Haskell

Posted 08 November 2012 - 12:48 AM

Thank you for answers.

WingedPanther, that's the problem! I don't know how exactly to create chat. for example.
Look, i understand that if i create chat on jQuery, i will just use js+php scripts with mysql and that's all!

But.. some people recommended me use NodeJS. Do you know about it? I read that I have to create my server to make chat. 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? in mysql?

Why should create server if i can just easy use jQuery+php+mysql?
  • 0

#5 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 08 November 2012 - 06:22 AM

I haven't used NodeJS, but it will probably duplicate the logic you would put in PHP.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#6 BlackRabbit

BlackRabbit

    CodeCall Legend

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3871 posts
  • Location:Argentina
  • Programming Language:C, C++, C#, PHP, JavaScript, Transact-SQL, Bash, Others
  • Learning:Java, Others

Posted 09 November 2012 - 01:49 AM

It all comes up to two things:

. How many simultaneous users do you expect
. How deep do you accept to go in JS knowledge

Why? if online users are few, performance does not matter much, so you can use the easiest to handle engine and you don't need to make yourself an expert in javascript

if you expect to get massive maybe you want to make all the js work by yourself, in minimalism and control's sake.
  • 0





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download