Skip to main content

Home/ ProgrammingPages/ Group items tagged in

Rss Feed Group items tagged

Navneet Kumar

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

  •  
    JSON vs XML in Ajax
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

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

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

MySQL Reference Manual for version 5.0.3-alpha - 23 Error Handling in MySQL - 0 views

  •  
    mysql error codes
‹ Previous 21 - 28 of 28
Showing 20 items per page