Jump to content

Rotinomx

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by Rotinomx

  1. Do you know about pylatte the python 3 web framewprk,it's a great web framework for python 3,maybe not the best,but very good,it's a mix of python code and html code.I want everyone to know about it because currently it's not too famous,of course some people might know it,i am not sure,but i want more to know it so i can have more experience with it through people who have studied it better than me by asking in the forum.I started learning it some days ago,they website is http://www.pylatte.org/ , you need ply, pylatte and maybe MySQLdb/pymongo(according to the website) installed to.Also Guido van Rossum talked about it(told in the website).
  2. Rotinomx

    Node.js

    After learning some of node.js, i have got a question in mind, will javascript(using node.js) be as good as php as a server-side scripting language.Will it be able to:respond to forms?Access database?Make forums, chats and other web apps?And how would i use it to respond to an html form,let's say that's the form: <html><head><title>Form<title></head><body><form method="post"><input type="text" name="username" id="usr"><input type="password" name="pass" id="pwd"><input type="submit" value="submit"></form></body></html> Do i need to add action="respond.js" to it, while executing it from node.js and add some code to respond.js,and what will that code be.Sorry, noob question.
  3. Rotinomx

    Node.js

    Oh,i got why,my command prompt only reads files at the user folder i which is 'theuser' which is an alt of my user name because i didn't want to reveal it.When i put helloworld.js in this folder,it worked,so how do i make the command prompt read the file in my desktop not in user folder?
  4. Rotinomx

    Node.js

    Sorry for not getting things very fast,i am not that good in programming/scripting.
  5. Rotinomx

    Node.js

    I tried it in command prompt, i typed node command,and then when i type hey.js that code appeared: C:\Users\theuser>node> helloworld.jsReferenceError: helloworld is not defined at repl:1:2 at REPLServer.self.eval (repl.js:111:21) at Interface.<anonymous> (repl.js:250:12) at Interface.EventEmitter.emit (events.js:88:17) at Interface._onLine (readline.js:199:10) at Interface._line (readline.js:517:8) at Interface._ttyWrite (readline.js:735:14) at ReadStream.onkeypress (readline.js:98:10) at ReadStream.EventEmitter.emit (events.js:115:20) at emitKey (readline.js:1057:12)>Does that mean that it didn't fine helloworld.js on my computer?
  6. Rotinomx

    Node.js

    What do you mean by osx?
  7. Rotinomx

    Node.js

    Do you mean Node.js command prompt?
  8. Rotinomx

    Node.js

    Opened a text editor which is notepad, wrote the code: console.log("Hello World") and saved it as helloworld.js.Then i opened node.js,which i have downloaded already, and wrote node helloworld.js to run it then pressed enter,it just got to a new line with three points, and the code never runs.That's what i have done according to http://www.nodebeginner.org/
  9. Rotinomx

    Node.js

    In a tutorial for Node.js that i was reading(http://www.nodebeginner.org/), i have put this code in helloworld.js(as the tutorial told me): console.log("Hello World") and tried to let it work by opening Node.js and typing node helloworld.js, but it have done nothing but made a new line with 3 points like this: . . . , i also tried % node helloworld.js,it had to inout Hello World in node.js, but it have done nothing but the new line with the 3 points.Please help.
  10. The url of my script is like this: file:///C:/Users...etc?
  11. At the beginning i thought that i should double click it to open it but it didn't work,i installed Apache and php, but i don't know anything about how to use them and even why i installed them, just followed the tutrial,so can you please explain to me what do i do because ... the php tutorial is extremely good like any other in w3schools,i am 13 years old and i got how to write scripts but not how to run them,so please explain how to.
×
×
  • Create New...