[TYPO3-Solr] Overload ext_autoload value

Peter Ruijter peter.ruijter at gmail.com
Tue Aug 23 10:11:54 CEST 2011


Hi Olivier,

I'm sorry that I have confused you, it was not my intention to blame
someone, I just like extensions that can be expanded or changed from outside
the extension. In this situation I would like to overwrite/ overrule/
overload the Service.php class of the SolrPhpClient, because I need to
connect through a proxy to reach our Solrserver. With the current inclusion
setup it's impossible for someone to overwrite these SolrPhpClient classes
and create a risk that the changes I had made inside a class will be
overwritten when the extension is upgraded with a higher extension version;
I think we have two options to solve this problem.

1). Include the phpsolrclient classes using include() statements inside the
ext_localconf.php of the Solr extension. If someone would like to overwrite
one of these classes, he/she could put a include statement to a specific
class inside the ext_localconf.php of its own extension. This isn't typicaly
the way Typo3 would like to see it, but I don't know either an other good
option to include thirth party classes.

2). I will give you (the Solr team) the tested code that make it possible to
connect via a proxyserver (if available) to a Solrserver. You can include
this code inside the free version of the Solr extension to make this basic
functionality available to the crowd.

-- 

Best regards,

Peter Ruijter
*Peter Industries*
www.peterindustries.com

On Mon, Aug 22, 2011 at 9:35 PM, Olivier Dobberkau <olivier.dobberkau at dkd.de
> wrote:

> Am 22.08.11 21:08, schrieb Jigal van Hemert:
>
> > In typo3.english Peter posted a more elaborated, yet more technical
> > version of his question.
>
> ok. how mainstream is this requirement? and you know that we do not want
> to rewrite something that has been already written.
>
> oth if someone has a better solution for the used classes.
>
> regards,
>
> olivier
> _______________________________________________
> TYPO3-project-solr mailing list
> TYPO3-project-solr at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr
>


More information about the TYPO3-project-solr mailing list