Invenzzia »

Pages: [1]   Go Down
  Print  
Author Topic: OPL: power loader 3/terms of use  (Read 167 times)
0 Members and 2 Guests are viewing this topic.
mikakun
User

Offline Offline

Posts: 1


View Profile
« on: November 22, 2011, 13:42:52 »

Hi,

i found open power load as i was lookig for consistent/flexible autoload solutions for use in my web app.

as a matter of fact opl is exactly doing what i need, very impressive work imo.

I was convinced and started testing it but :

Quote
What practices are forbidden?

The application must not rely on the autoloader interfaces:
Code:
public function setAutoloader(Opl\Autoloader\GenericLoader $loader)
{
    $this->autoloader = $loader;
} // end setAutoloader();

my application has environment subclasses (local/web dev/prod), with, for each, different ways of loading everything so only in those subclasses i am setting the way javascript/css are generated/saved and obviously the way the php libraries needed are loaded.
So only there i can instantiate open power loader.

But that's forbidden...

I could get the environment settings right at the beginning, taking that part out of my app and instantiate opl right after before instantiating my app, but it would defeat my purpose.

shame really

:(
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Subject Started by Replies Views Last post
OPTv2: OPT 2.1 - ideas and proposals Zyx 0 959 Last post March 14, 2009, 22:57:23
by Zyx
abercrombie and fitch stockholm, galardef 0 32 Last post April 24, 2012, 09:28:27
by galardef
abercrombie italia, and held several meetings galardef 0 18 Last post April 18, 2012, 04:46:59
by galardef
abercrombie sito ufficiale, on the one hand galardef 0 12 Last post April 18, 2012, 04:45:57
by galardef
abercrombie and fitch, the supremacy of law galardef 0 23 Last post April 24, 2012, 09:30:05
by galardef