Jump to content

James_Parsons

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by James_Parsons

  1. I am trying to become a full-stack web-app developer. I have a few years experience with Java/Scala and the Play framework and lately some Node.js development. I am having trouble deciding what client-side framework to use. JQuery + Backbone.js or AngularJS. I have a little JQuery knowlege, and so does my team, and JQuery works really nicely with Backbone. But Angular has a large community and is well documentd and integrated with Express. What I want is something that has an easy learning curve, fits decently with CoffeeScript, and works well with both Play and Express. Any suggestions on which to use??

  2. I know the tag is deprecated but is there an easy way to center items. for example take this code and "de-deprecate"

    <!DOCTYPE html><html><body>  <center><p>Hello</p></center></body></html>

  3. I accidently changed the default program to open cgi files to IE. now whenever I do a form action it treats the cgi like a download. is there a way I can fix this on windows 8 without doing a system restore

  4. I was looking through one of my web dev books when I found a javascript function I just didn't get. it was used in a cookie that stored info about radio buttons chosen. the function is escape() and here is the line

    document.cookie="optFont=" +escape(fontChoice)+";expires="+expire.toUTCString();

    can anyone tell me what this function does and some common uses

  5. I just want to know how to retrieve form data from perl and then write it to a file. I honestly don't care about the complexity. I'm not even planning to host any sites quite yet. I forgot to ask if my perl file could be kept as a .pl or do I have to compile it to a .cgi or somthing

  6. I agree with Synook it probably can. what I like about vbscript is its OLE (object linking and embedding) for example you can make your computer talk with a SAPI.spvoice here's even the code for it talk.vbs

    dim msgdim sapiset sapi=CreateObject("SAPI.spvoice")msg=inputbox("enter a message")sapi.speak msg

  7. This is the same exact question here in http://w3schools.invisionzone.com/index.php?showtopic=46321. I just want to know how to do it in ruby. I just want to know how to use POST to retrieve info form a textbox and write it to a file called info.txt. just so you don't have to run back and forth between pages here is the html: example.htm

    <!DOCTYPE html><html><head>  <title>POST Example</title></head><body><form name="example" method="POST" action="TheRubyFile">   <input type="text" name="value" />   <input type="submit" name="submit" value="Submit It"/></form></body></html>

  8. Hello. I am beginning per for cgi scripting. I have been trying to find out how to do a simple form POST. I want it to take the info from a textbox and then write it to a file called info.txt. Every POST example I have found is too complicated. Please tell me if GET would be better suited for this. I just want someone to teach me how. Here is an example html file: example.htm

    <!DOCTYPE html><html><head>  <title>POST Example</title></head><body><form name="example" method="POST" action="ThePerlFile">   <input type="text" name="value" />   <input type="submit" name="submit" value="Submit It"/></form></body></html>

×
×
  • Create New...