I am just starting to learn about SSJS. I wanna know is that before doing some server side javascripting, do I have to install anything to support it or is it just like ordinary javascript where the scripting can be done on the ordinary text editor like notepad? Secondly, if JS can do everything what php can do, then why people prefer to write their scripts on php?
javascript is meant to run on a client/browser. I think "if JS can do everything what php can do" = false php is powerful than js, since it can do server side and client side, and a lot more features
Yeah, the original purpose of the JS was to enhance the client side interactivity but it can also create some server side scripts as well. I want to know is that do I have to install a compiler or something like that so that I can start writing server side JS on it or simple text editor is enough?
it depends on what framework you are using. but when you say server side js, most of them are using ajax.
Hi its mean Comet / Ajax Reserve / HTTP Streaming So many engines , you can choose, APE , CometD, IceFace , etc....