erLhcoreClassDesign
Class is dedicated for easy usage of media, templates files inclusion during application development.
CSS file inclusion example
<?=erLhcoreClassDesign::design('css/style.css');?>
Then templace cache and compile is enabled these type of lines becames static. No extra overhead is done during each request.
This class should also be used for internal templates inclusion
<?php include_once(erLhcoreClassDesign::designtpl('pagelayouts/parts/page_footer.tpl.php'));?>
These types of lines are also compiled. So then template compiling and caching is enabled. These parts are replaced with code from included templates. This lets reduce static calls.
This class is also responsible for links formating.
<?=erLhcoreClassDesign::baseurl('/user/edit/')?><?=$user->id?>
Notice then i do not joing string formating links. That way links gets compiled and no extra calls done then application is public.




