Hiya,
Ik ben bezig OOP in PHP onder de knie te krijgen, nu las ik op PHPbuilder.com in een OOP artikel hetvolgende:
alvast bedankt
Grtz,
Nighteye
Ik ben bezig OOP in PHP onder de knie te krijgen, nu las ik op PHPbuilder.com in een OOP artikel hetvolgende:
Na het lezen hiervan snap ik nog niet precies wat zo'n abstract class is en wat nu zo fijn/belangrijk eraan is dat 'designers' het veel gebruiken..A nice mechanism in OOP is to use Abstract Classes, abstract classes are classes that are not instanciable and has the only purpose to define an interface for its derived classes. Designers often use Abstract classes to force programmers to derive classes from certain base classes so they can be certain that the new classes have some desired functionality. There's no standard way to do that in PHP but:...
alvast bedankt
Grtz,
Nighteye