Skip to main content

Home/ Groups/ ProgrammingPages
Navneet Kumar

Javascript - Introduction to Events - 0 views

  •  
    event handling in javascript
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
Navneet Kumar

Blacktree - 0 views

shared by Navneet Kumar on 01 Nov 07 - Cached
  •  
    UuSER INTERACTION
Navneet Kumar

www.dontclick.it - 0 views

shared by Navneet Kumar on 23 Oct 07 - Cached
  •  
    ui design without mouse click
Navneet Kumar

mysql query cache - 0 views

  •  
    tuning mysql performance with query caching
Navneet Kumar

MySQL Performance Blog » What to tune in MySQL Server after installation - 0 views

  •  
    tuning mysql server for perfornmance
Navneet Kumar

Pythian Group Blog » MySQL: Tuning filesorts and temporary tables - 0 views

  •  
    filesort and temporary tables in query
Navneet Kumar

SQL Server Data Structure - 0 views

  •  
    MS SQL Server Data structures. how data is stored in ms sql  server
Navneet Kumar

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

  •  
    vim tips
Navneet Kumar

Vi for programmers - Program - UNIX - Builder AU - 0 views

  •  
    taming vim, vim options
Navneet Kumar

MySQL AB :: High Performance MySQL Chapter 6: Server Performance Tuning - 0 views

  •  
    performance tuning for high performnace mysql
Navneet Kumar

Tuning a MySQL server in 5 minutes - 0 views

  •  
    max_connections  max_user_connections table_cache
Navneet Kumar

MySQL AB :: An Introduction to Database Normalization - 0 views

  •  
    intro to db normalization
Navneet Kumar

10 secret MySQL client startup options you should know - 1 views

  •  
    mysql client options
Navneet Kumar

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

  •  
    Heap tables : in-memory tables
Navneet Kumar

MySQL AB :: MySQL 5.0 Reference Manual :: 13 Storage Engines - 0 views

  •  
    mysql storage engines myisam and innodb
‹ Previous 21 - 40 of 97 Next › Last »
Showing 20 items per page