[TYPO3-core] RFC #14184: Bug: Scheduler: Scheduler cannot handle large Exceptions

François Suter fsu-lists at cobweb.ch
Tue Jun 15 21:28:44 CEST 2010


Hi,

> +1 on reading and testing.

Thanks for the review and the updated patch.

> BTW: We found it's good practice to not implement the tasks business
> logic in the task class itself, but instead let the execute() method
> just makeInstance() some other class and feed it with the additional
> field values (eg. by constructor arguments). This way you are not forced
> to delete & add or resave a task if the business logic code has own
> class variables (which are otherwise serialized in the task instance,
> and must be refreshed upon code change). So, encapsulating the task
> logic in an own class simplifies development and deployment of changes a
> lot. Maybe this could be documented somewhere?

That makes sense. I have planned to do some improvements to the 
Scheduler's manual, so it could go in there, but I'm not sure I will 
have time until June 22. I'm a bit overwhelmed by things to do these days...

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list