Jump to content

L8V2L

Members
  • Posts

    788
  • Joined

  • Last visited

Posts posted by L8V2L

  1. To POST data like an HTML form, add an HTTP header with setRequestHeader(). Specify the data you want to send in the send() method:

    xmlhttp.open("POST","ajax_test.asp",true);xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");xmlhttp.send("fname=Henry&lname=Ford");
    SO what is it doing? What is it sending?
  2. As it stands right now, Javascript on the server-side would be be practically useless because of the costs of creating an interpretter or hosting that runs one. Just learn PHP, ASP or C++ if you want to program on the server side. I believe server-side programming would be too complicated for you at the moment, just continue learning client-side Javascript.

    it'll be nice if js server side tutorial was put in when I can learn it.
  3. In top-level JavaScript code (i.e., code not contained within any function definitions), the scope chain consists of a single object, the global object. In a non-nested function, the scope chain consists of two objects. The first is the object that defines the functions parameters and local variables, and the second is the global object. In a nested function, the scope chain has three or more objects. It is important to understand how this chain of objects is created. When a function is defined, it stores the scope chain then in effect. When that function is invoked, it creates a new object to store its local variables, and adds that new object to the stored scope chain to create a new, longer, chain that represents the scope for that function invocation. This becomes more interesting for nested functions because each time the outer function is called, the inner function is defined again. Since the scope chain differs on each invocation of the outer function, the inner function will be subtly different each time it is definedthe code of the inner function will be identical on each invocation of the outer function, but the scope chain associated with that code will be different.Translate into lamen, please.

  4. w3s forum tutorial section.

     

    Tutorials made by the people of w3s.invisionzone.com to mimic the w3s tutorial style. It'll act as a proposal to w3s for tutorial to put on his site.

     

    Enough of voicing our suggestion, let put it to work!!!!

     

    We can use wiki if you are worrying of space on here.

     

  5. There is an operation section in reference, I request for there to be a statement, and expression(if they are in one section call statement and expression than that is also okay) I wish to be able to look through reference with out looking through the tutorial.

     

    Statement & Expression or just statement with expression mention at the top:

     

    A table displacing all the statement of JavaScript, and each one being a link to an example of that statement, if for now, that example lead to the tutorial for an short amount of time until the example pages them self can be made that is also acceptable.

     

    I am in arms for a JavaScript server side tutorial in the server side section, or a section of server side objects in the JavaScript tutorial.

     

    Underneath either the window section or the js section in the js tutorial there should be a server side section.

  6. There isn't any clear(known) example of this:

    <?xml version="1.0" encoding="UTF-8"?><!-- Edited by XMLSpy -->-<bookstore>
    is this a document fragment?
    -<book category="cooking"><title lang="en">Everyday Italian</title><author>Giada De Laurentiis</author><year>2005</year><price>30.00</price></book>
    And can extract this fragment?
    -<book category="children"><title lang="en">Harry Potter</title><author>J K. Rowling</author><year>2005</year><price>29.99</price></book>-<book category="web"><title lang="en">XQuery Kick Start</title><author>James McGovern</author><author>Per Bothner</author><author>Kurt Cagle</author><author>James Linn</author><author>Vaidyanathan Nagarajan</author><year>2003</year><price>49.99</price></book>-<book category="web" cover="paperback"><title lang="en">Learning XML</title><author>Erik T. Ray</author><year>2003</year><price>39.95</price></book></bookstore>
  7. he means hosting sites don't support NodeJS as a platform as widely as for Apache with the PHP module. Of course, you can always do it locally yourself or manage your own hosted space / instance. Then you have the ability to install and run anything you want.

    Oh okay, the host provider... Seeing how it built on Google's JavaScript engine, and interest of those group, I don't see it being of bad hosting provider.All in all, I don't even care if he don't use node.js or any application for js, just having a tutorial that walk you through the components and technical of server side scripting using JavaScript, and just using it as a gimmick to coerce visitors to php by showing js side by side with php and notice that php is a standard strong community of server side scripting is good enough for me.
  8. WE WANT SERVER SIDE JAVASCRIPT!!!!! JS RULES!!!!!!!On a side note: this could help other get into server side scripting, point them, or referring through the whole JavaScript server side tutorial that php is more stable an well set in as a server side scripting language to learn. You can write the example and point them to the php section for the example in php. Causing people to spend more time on your site, causing you to make more money. ;-)

  9. It isn't as commonly available as Php but I've heard there are a few free Nodejs hosting sites for people who want to try Node.js.

    I don't even understand what that mean... So what they are going to let me type just JavaScript and then what?Isn't the mark language the same?
  10. That should use <, not &. A bitwise AND doesn't work there.

    ... yes, I know, that why I post it here, when I saw it in the tutorial. the JS one, and I been trough it, and haven't see it like that before hence the title of this thread.
  11. Flash isn't a language, it's a platform and an IDE. Flash has more similarities to Java than it does to Javascript. Flash also has its own scripting language, Actionscript, which like Javascript is based on ECMAscript. The reason why mobile devices ultimately dropped support for the Flash player is because it is CPU and battery intensive, and the plugin presents security problems.

    Is it worth it to learn action script?(which I wouldn't)...I should be asking other question sense you're answering them...
  12. The time has already come, Flash is dying and it is being replaced. I don't see any reason that would cause developers to reverse on that. The more HTML5 matures, the less need there will be for Flash. It's still the best at doing certain things, but it relies on a plugin and parts of HTML5 were designed specifically to avoid the need for a plugin like Flash. Developers do not want to rely on browser plugins, and you're assuming they will reverse that position and decide that browser plugins are the way to go again. I don't see that happening. Adobe should have pushed to make Flash an open spec that browsers natively support, but that never happened, Adobe wanted to keep control over Flash. They have control over it, and it's dying.

    ... I watch a video on that, in the video the speaker speaks on how big cooperation run by old heads would rather close money if they can't have all of it. But maybe if someone brought flash and gave it to ECMA, I wonder would they try to either use it, or make it an extension of JavaScript, but not part of JavaScript, a different spec and standard but can be use in JavaScript as if it was.I'm not interested in learning flash. I just know, a lot of developer learnt it, and still know it. I just find it interested if adobe just went ahead and sold it to someone who was interested in purchasing it. And they adopted it, to either go hand and hand with JavaScript(as mention earlier) or go against JavaScript as a language that can be use in term of what JavaScript is use for.
  13. It wouldn't happen, Flash support has dropped off enough that people aren't focused there any more. The Era Of Flash ended a few years ago for all intents and purposes. New content that is produced using Flash, like the stuff we produce, is made with the knowledge that it will only run on devices that support a Flash player. If people want mobile-accessible content then we don't use Flash.

    You can't say that... remember history! We will never know until that time comes... if it does come.
  14. What if adobe made flash open source, but still had it under license?They made it open source to select few individuals which they allow those individuals to recruit other individuals to help redo flash. Adobe gear/goal them toward making flash a rival language towards JavaScript.What if that happen, not being complete but in the process of trying to reach that goal.What would developer say toward that, and what would happen?

  15. This would be a benefit for those who like post cause of the content, I for one want to revisit those post with out having to do so manually, haven like them, if can search by that method, then it'll be more easier for me to search for already answer question than posting the same question.

  16. So why is that? Look at how the different functions are defined.

    Cause bar2 , and bar are closure to the function foo, and cannot be accessed/reach. Unlike this.baz, keyword "this" connect it to the window object, or more so make a placeholder for the window object.The reason why bar return the window object is cause it take all value that the parent function/outer function have as his, but is still not a function of the window object, cause it is a closure/a inner function define within another function.
×
×
  • Create New...