bartvde/geoext — comment on commit 37e85a1a6c83ad719cbb514963788e9c98e5d0ad
File:  line 0
By ahocevar:

I may be missing something, but what's the benefit of using a protocol here? The most simplistic configuration I could come up with was

new Ext.data.Store({
reader: new GeoExt.data.CSWRecordsReader({}, Ext.data.Record.create(
['title', 'subject']
)),
proxy: new GeoExt.data.ProtocolProxy({
protocol: new OpenLayers.Protocol.CSW({
url: "data/cswrecords.xml",
}),
}),
autoLoad: true
});

which looks way more scary than the simple configuration with just the reader and a url.