Feature #339

Improve the Components.ini format

Added by Robert Lemke over 11 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Object
Target version:
-
Start date:
2008-02-20
Due date:
% Done:

0%

PHP Version:
Has patch:
Complexity:

Description

The current Components.ini format mixes up the actual component configuration, the injection of constructor arguments and properties and other configuration options such as AOP settings. Maybe all these options should be organized in a better way.

We also need to support contexts (see #23) maybe like this:

[T3_FLOW3_MVC_Controller_ActionController]

@production: className = "T3_FLOW3_MVC_Controller_ActionController" 
@development: className = "T3_FLOW3_MVC_Controller_DebuggableActionController" 

addToAOPProxyBlackList = TRUE

# Note this: If we had our own .ini parser we could distinguish between these two variants:

constructorArguments.1 = T3_FLOW3_Something
constructorArguments.1 = "T3_FLOW3_Something" 

# The first would inject a reference, the second would inject the string literally

History

#1 Updated by Robert Lemke over 11 years ago

  • Status changed from New to Closed

Configuration format has switched to .php - so an optimization is not necessary anymore.

#2 Updated by Robert Lemke about 11 years ago

  • Target version deleted (1)

Also available in: Atom PDF