public marks

PUBLIC MARKS with tags javascript & technology

2015

What is spl_autoload_register, spl_autoload and autoload

by calipussoftware (via)
PHP does have some awesome function which can be very handy. SPL register function is one of them, we are going to talk about. As PHP manual says spl_autoload_register — Register given function as __autoload() implementation So what exactly it means ? Let’s try to understand with the help of an example. function Autoloader($className) { require_once $path.$className.'.php'; } spl_autoload_register('Autoloader'); $myObj = new MyClass(); Here we have just instantiated a class named as “MyClass” with out specifying include or require statements.

2007

2006

PUBLIC TAGS related to tag javascript

animation +   api +   async +   blog +   browser +   color +   conception web +   css +   css3 +   dev +   développement +   framework +   framework JS +   functional programming +   galerie +   google +   html +   html5 +   image +   jeux +   jQuery +   js +   json +   librairie JS +   library +   mobile +   music +   node.js +   performance +   php +   programmation +   promise +   responsive design +   ressources +   rest +   ruby +   scroll +   seo +   server +   sort +   sounds +   tutorial +   ui +   vdom +   web +   webapp +   webdesign +   webdev +   WebGL +   wysiwyg +  

Active users

calipussoftware
last mark : 14/03/2015 13:30

jlake
last mark : 06/08/2007 05:19

zoom2au
last mark : 22/06/2006 01:54