Skip to main content

Home/ javascript/ Group items tagged meaning

Rss Feed Group items tagged

1More

Meaning Streaming - Drunk but fascinating - Perplexing but simple - a unique new invent... - 0 views

  •  
    Meaning Streaming - Drunk but fascinating - Perplexing but simple - a unique new invention by the drunken_editor. Think up interesting phrases that continue the streams of thought. Try this interesting, online, collaboration of meaning into streams of thought.
1More

javascript [ES Wiki] - 1 views

  •  
    This is a wiki for the ongoing specification work of Ecma TC39, the technical committee tasked with standardization of the ECMAScript programming language. Most of the wiki is world-readable, meaning that anyone can view the pages. Certain sections are restricted to members of the technical committee.
1More

Regexp Syntax Summary - 0 views

  •  
    This table summarizes the meaning of various strings in different regexp syntaxes. It is intended as a quick reference, rather than a tutorial or specification. Please report any errors.
8More

fingernails in oatmeal, Metaprogramming: Ruby vs. Javascript - 0 views

  • drew['battleCry']();
  • What we want is the ability to define a method dynamically (given a name) that is also a closure over the lexical scope at the point of method definition.
  • color_name = 'black' Ninja.send(:define_method, 'color') do  puts "#{name}'s color is #{color_name}"end
  • ...5 more annotations...
  • var colorName = "black"; Ninja.prototype['color'] = function () {  puts(this.name + "'s color is " + colorName);}
  • The ubiquity of closures in Javascript is extremely powerful and, as we have seen so far, makes metaprogramming very easy.
  • You can think of a metaclass as a class definition specific to a single instance of a class.
  • This means we can add methods to an object’s metaclass without adding the same behavior to all instances of that object’s class.
  • This means that Javascript does not distinguish between classes/prototypes and instances and, therefore, we can add our desired behavior directly to the instance.
1More

Inheritance Patterns in JavaScript - 2 views

  •  
    This article discusses the advantages of the pseudoclassical pattern over the functional pattern. I argue that the pattern used by the Closure Library paired with the Closure Compiler removes existing hazards while I also examine the hazards introduced by the functional pattern (as defined in The Good Parts). First let me demonstrate what I mean by the functional pattern.
1More

Javascript - The First Programming Language one should learn - 0 views

  •  
    Want to become a Web Developer but confused about which Programming Language to learn first? New-Age developers highly suggest Javascript because of its Versatility and Effectiveness to extend functionality and make websites extremely Rich and Scalable. If you are looking for a high growth Web Development Job Role, do checkout the MEAN Stack Developer Career Path by edWisor and get 4 Guaranteed interviews at top tech companies.
1More

Why Do You Need a Mobile Website Design or Responsive Web Design - 0 views

  •  
    According to a recent article on Huffington’s post, the U.N telecom agency stated that there are more than 6 billions mobile devices. Out of them, 1.2 billions users use web-enabled mobile phones worldwide & this usage of mobile is growing at astounding rate, being adapted by every family. We have seen a significant increase in the mobile users in the past three years & this global trend is surely continuing to see growth in upcoming years. What does this mean to a web designer & site owner? It underlines the importance of a company to have a mobile version of their business website.
8More

JavaScript EE, Part 1: Run JavaScript files on the server side - 0 views

  • freedom to use the same JavaScript routines on both servers and clients. In addition, the techniques presented throughout this series will allow you to maintain a single code base for both Ajax and non-Ajax clients
  • This double-coding issue can be avoided by using JavaScript combined with Java code on the server side, getting full support of scripting languages through the javax.script API. In addition, the Java SE Development Kit (JDK) 6 already includes Mozilla's Rhino JavaScript engine, which means no setup is required.
  • the toSource() method, which all JavaScript objects must have.
  • ...5 more annotations...
  • engine.eval(scriptReader, vars);
  • sun.org.mozilla.javascript.internal.NativeObject
  • all data exchange between the Java code and the executed script should be done through primitive variables, strings, and Java objects (for example, beans) whose properties and methods can be accessed very easily in the JavaScript code. Simply said, don't try to access native JavaScript objects in your Java code. Use Java objects in the JavaScript code instead.
  • Note that javax.script.Invocable is an optional interface, which some script engines may not implement. The JavaScript engine that comes with JDK 6 does support this interface.
  • you can significantly reduce the execution time by compiling the scripts, using the methods provided by another optional interface named javax.script.Compilable, which is supported by the JavaScript engine of JDK 6.
2More

The Dark side of JavaScript - Part 2 @ Milkshake Systems - 1 views

  • In JavaScript, where functions are objects and aren’t declared as part of anything, the object referenced by this is called the function context and is determined by how the function is invoked not by how its declared.
  • This means that the same function can have different contexts depending on which object calls it.
1 - 9 of 9
Showing 20 items per page