Skip to main content

Home/ ProgrammingPages/ Group items tagged http

Rss Feed Group items tagged

Navneet Kumar

BeanShell - Lightweight Scripting for Java - 0 views

  •  
    Scripting language for java
Navneet Kumar

Table types in MySQL: Part 1 - HEAP tables - 0 views

  •  
    Heap tables : in-memory tables
Navneet Kumar

QuirksBlog: The AJAX response: XML, HTML, or JSON? - 1 views

  •  
    JSON vs XML in Ajax
Navneet Kumar

Structure and Interpretation of Computer Programs - 1 views

  •  
    full text html book "Structure and Interpretation of Computer Programs" by Albenson and Sussman at MIT press
Navneet Kumar

Vim: Seven habits of effective text editing - 1 views

  •  
    seven habits of effective editing
Navneet Kumar

PicoContainer - Home - 0 views

  •  
    PicoContainer is an implementation of lightweight embedable container using dependency injection design pattern. a good example for learning API frameworks and  design patterns.
Navneet Kumar

Django | The Web framework for perfectionists with deadlines - 0 views

  •  
    a python based web framework for content management
Navneet Kumar

A Gentle Introduction to SQL - 0 views

  •  
    A collection of tutorial and rerference on SQL and erro code in different databases, oracle , mysql, sql server, db2 etc
Navneet Kumar

Regular-Expressions.info - Regex Tutorial, Examples and Reference - Regexp Patterns - 0 views

  •  
    good site contailing info about regular expressions
Navneet Kumar

Best of VIM Tips, gVIM's Key Features zzapper - 0 views

  •  
    vim tips
Navneet Kumar

Talk:Thunderbird:2.0 Product Planning - MozillaWiki - 0 views

  •  
    list of probable features for mozilla thunderbird 2
Navneet Kumar

Javascript - Introduction to Events - 0 views

  •  
    event handling in javascript
Navneet Kumar

Generics in C#, Java, and C++ - 1 views

  • And really all they're doing in their implementation is automatically inserting those type casts for you. So you get the syntactic sugar, or some of it at least, but you don't get any of the execution efficiency
  • because Java's generics implementation relies on erasure of the type parameter, when you get to runtime, you don't actually have a faithful representation of what you had at compile time. When you apply reflection to a generic List in Java, you can't tell what the List is a List of.
  • C# does the instantiation at runtime.
Navneet Kumar

JavaScript tutorial - 0 views

  • for your own objects, you may wish to provide a special string that may provide more useful information. To do this, simply define the 'toString' method:
  • not have to store individual copies of the methods for each instance of the object, so it may require less memory, but it will require the browser to search the current and parent scopes to find the methods. This may cause a marginal delay
  • Saying 'this.propertyname' as I did above will create a public property. Any script can create an object then use and modify its properties directly. Using 'var' to define a variable in the constructor will create a private property.
  • ...7 more annotations...
  • Private variables can only be accessed from methods that are declared inline, and not externally referenced or created using the prototype construct. Methods of this kind are also known as privileged methods
  • prototype chain.
  • That also means that if the mycircle prototype is changed (properties are added or deleted, etc.), these changes are replicated down the chain, so the mysphere also inherits these changes.
  • mysphere.prototype.constructor = mysphere;
  • I will take all of the methods out of the constructor, and add them later using the prototype. That way, the mycircle prototype methods will always be available without me needing to create a new mycircle. Unfortunately, this also means that public and private properties are very hard (or impossible) to use. It's a trade off - one functionality for another.
  • When running the method, we need to tell JavaScript that even though we are referencing a method for a different prototype, we want to run it as if it were a method of the object we are creating (to make sure that any properties it creates are added to the object we are creating). This could be done using the 'call' method or 'apply' method
  • Note that when assigning the mycircle object to the mysphere prototype, it also overwrites the mysphere prototype constructor property
  •  
    complete Javascript tutorial
« First ‹ Previous 41 - 60 of 97 Next › Last »
Showing 20 items per page