[FLOW3-general] Preferred way / what is planned for FLOW3 on the Command Line

Bastian Waidelich bastian at typo3.org
Mon Aug 9 17:46:48 CEST 2010


Thomas Fritz wrote:

Hi,
I just realized, I haven't yet replied to this one

> What i do not understand is, what is the difference compared to know, when
> you say it is really slow with this patch. Because right now the argument
> list is created within the bash script OK, but when you call php and flow3,
> the framework has to start too, or do i miss something!?

I didn't mean that its slow compared to the current solution. It might 
be slower than a custom implementation: If you imagine a CLI command 
that clears the cache for instance. That could remove the cache files 
without starting FLOW3.
+ it would be faster
+ it work even if you have a fatal error in one of your PHP classes

- it would not be as flexible - e.g. if you want to support multiple 
caching mechanisms, you'd have to write multiple commands or somehow 
read the configuration

I still think, that the best solution is to implement the flexible 
solution and then provide some fallback mechanism if needed.

Bastian


More information about the FLOW3-general mailing list