Directory
Technology
Blog Details for "Techie Zone"
Techie ZoneTechie ZoneArticles and discussion on Ajax Tutorials, PHP 5 Tutorials, Mysql Tutorials, Javascript Tutorials, Java Tutorials, JSP Tutorials, Servlets Tutorials, Career Tips and Flash ActionScript Programming and Object Oriented Programming Articles
OOPS in PHP5 Tutorial - Using Interface
2007-11-04 11:11:00 In simple words Interface is a class with no data members and contains only member functions and they lack its implementation. Any class that inherits from an interface must implement the missing member function body. Interfaces is also an abstract class because abstract class always require an implementation. In PHP 5 class may inherit from ... More About: Tutorial
OOPS in PHP5 Tutorial - Static Keyword
2007-11-04 10:55:00 Unlike the methods and data members used in OOPS where the scope is decided by access specifiers, the static methods/attributes are available as a part of the class. So it is available to all the instance defined for the class. To implement static keyword functionality to the attributes or the methods will have to be ... More About: Tutorial , Keyword , Static
OOPS in PHP5 Tutorial - Abstract Class
2007-11-04 07:55:00 digg_url = "http://digg.com/programming/OOPS_in_PHP5 _Tutorial _Function_Overriding"; An abstract class defines the basic skeleton for the class. It contains attributes and members but some members are incomplete and is waiting for some other class to extend it so that the derived class provides a full functionality for the incomplete methods. A abstract class cannot be instantiated and ... More About: Abstract , Class
OOPS in PHP5 Tutorial - Parent Keyword
2007-11-04 07:41:00 Parent Keyword in PHP5 allows to forcefully call the parent method and not the child method. This is very useful if you want the derived class to call the parent class before performing the operation. More About: Tutorial , Parent , Pare
OOPS in PHP5 Tutorial - Function Overriding
2007-11-02 11:38:00 digg_url = "http://digg.com/programming/OOPS_in_PHP5 _Tutorial _Function _Overriding"; In Object Oriented Programming Function Overriding refers the base class and the child class methods with same name, signature and access specifier.
OOPS in PHP5 Tutorial - Exploring Inheritance
2007-11-02 07:24:00 digg_url = "http://digg.com/programming/OOPS_in_PHP5 _Tutorial _Function_Overriding"; It is a mechanism where you derived a new class from the existing class. The derived class shares/inherit the functionality of the base class. To extend the class behavior PHP5 have introduced a new keyword called “extends“. ... More About: Exploring , Inheritance
OOPS in PHP 5 - Polymorphism
2007-10-31 16:41:00 Polymorphism in PHP5 is a technique where the function to be called is detected based on the class object calling it at runtime. The basis of Polymorphism is Inheritance and function overridden. Example - Basic Polymorphism < ? class BaseClass { public function myMethod() { ... More About: Polymorphism
OOPS in PHP 5 Tutorial - Defining Class Constants
2007-10-31 16:31:00 In PHP5 you can defines class level constants that will not change its value within the class scope. For using class constants PHP5 have introduced a new Keyword “const“. Only a string or numeric value can be assigned to a constant. Arrays, Objects and expressions cannot be assigned to a constant. A class constant can ... More About: Tutorial , Class
OOPS in PHP 5 - instanceOf Operator
2007-10-30 18:19:00 PHP5 has come up with a new operator “instanceof”. This operator is used to check whether the objects passed as operands to this method belongs to the same class or not. This is very useful in runtime environment where you want to know the parent of the class. If left operand belongs to the child ... More About: Operator
OOPS in PHP 5 - __destruct() Method
More articles from this author:2007-10-30 18:09:00 Destructor are special function in Object Oriented Programming. It gets called automatically whenever object of a class is destroyed or goes out of scope. This is useful for clean up operation before cleaning the memory. PHP 5 uses special keyword “__destruct” to define destructor of the class. Example on Destructor Class in PHP 5: < ? class employee { ... More About: Method 1, 2, 3 |



