1.

What is Lazy Initialization in Phalcon?

Answer»

Lazy INITIALIZATION is a technique where a class is automatically LOADED by the Phalcon class ‘Loader’ during RUNTIME. This greatly improves performance. Auto loader does this in 4 ways i.e. by registering

  • namespaces, $loader->registerNamespaces(…)
  • directories, $loader->registerDirs(…)
  • classes, $loader->registerClasses(…)
  • files $loader->registerFiles(…)

and then registering the auto loader as $loader->register();



Discussion

No Comment Found