Mochabot log - CommonJS IRC channel: #commonjs on irc.freenode.net

2010-12-29:

[7:19] <ozone_> Anyone in here that knows of a good tutorial-newbie-first-timer-thingie that can explain me how require and modules works? :-/
[7:19] <ozone_> I know javascript, but has never worked with commonJS before
[7:21] <ozone_> anyone in here? :-(
[13:48] <anoob> hi, can i use a commonjs implementation like php or other server side language?
[13:49] <Wes-> anoob: Yes, although I'm not really sure which to recommend
[13:50] <Wes-> most people doing server side JS are using node, which has its own web server
[13:50] <anoob> Wes-, there are a lot of them... i'm confuse... i mean, which one should i try? :)
[13:51] <Wes-> That's the thing, what you will try is dependent mostly on your requirements - there isn't anything yet which is a total drop-in like PHP
[13:51] <Wes-> AFAIK
[13:51] <anoob> i see... but node.js is the most popular ...
[13:52] <Wes-> Yes - except that it's not "like PHP" - it replaces apache, and it doesn't do things like <?php ... ?>
[13:52] <Wes-> which is not necessarily a bad thing, mind you
[13:52] <anoob> i see Wes-, of course it's not like php :)
[13:54] <anoob> do you use with node.js Wes-?
[13:55] <Wes-> No, I do mostly systems-type programming with JS and am the author of GPSEE
[13:55] <Wes-> although, we have been doing a lot of web stuff lately, running it as CGI
[13:55] <Wes-> I'll be whipping together an apache module someday to make that perform well, for now it's fast enough
[13:55] <anoob> C language?
[13:56] <Wes-> clarify?
[13:56] <anoob> which language do you use with cig?
[13:56] <anoob> cgi*
[13:56] <Wes-> CGI is an interface specification between external processes and a web server. In this case, I am using JS
[13:57] <Wes-> but have done CGI in perl, PHP, C, and shell as well
[13:57] <anoob> pretty cool Wes- :)
[13:58] <anoob> ok, i will try node.js
[13:58] <anoob> thank you very much Wes- and have a nice new year
[13:58] <Wes-> That sounds like it's probably the righit choice for you.
[13:58] <Wes-> You too!
[13:58] <anoob> :D
[17:08] <marcosa> Hi,im using the jquery autocomplete plugin to select a item from a select list. Which plugin i need use to allow add a new item in the list?.

 

 

Logs by date :