[TYPO3-core] RFC #15542: Frontend rendering should use prepared queries (1st step)

Xavier Perseguers typo3 at perseguers.ch
Tue Aug 24 08:36:09 CEST 2010


Hi,

This is an SVN patch request.


Type: feature

Bugtracker reference:
http://bugs.typo3.org/view.php?id=15542

Branches: trunk

Problem:
As prepared queries are now available, prepared queries should start to 
be used in Core.


Additional information:
Purpose of this patch is to start having prepared queries with TYPO3 4.5 
alpha1 and have an example on how converting existing queries to 
prepared ones.

I cleaned up visibility of some methods to be compatible with the phpDoc 
and allow future enhancement of prepared queries (having method adding 
further parameters in the prepared queries).


Additional information 2:
Unless prepared queries are used in Core, DBAL won't be quicker as I 
only plan to cache prepared queries (it would not make any sense to 
cache lots of queries with parameter values being used only once).

DBAL caching is not yet part of the Core, a dedicated branch is 
available for this. I plan to integrate code in Core once

1) Prepared queries start being used
2) I made some further tests to be sure it works as expected

Cheers
Xavier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15542.diff
Type: text/x-diff
Size: 8101 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100824/60795b36/attachment-0001.diff>


More information about the TYPO3-team-core mailing list