View Full Version : Parsing/searching large XML (13MB)

25 Oct 2010, 12:11 AM
Hi guys,

I am new to sencha and would like to develope my first WebApp.
My Problem is that I have about 12000 products I would need to parse / search. The XML file is about 13 MB large what is pretty huge for an XML.
My Question would be if there is a possibility to search such a big XML using Sencha Touch?
I also thought of doing the parsing on the server so I could split the XML using php. Anyways how can php work together with Sencha? Is this even a possibility?

Thanks for your help


25 Oct 2010, 2:39 AM
hi !
I'm kind of a newbie to, but from my point of view, you have to split and slice you xml in small pieces.
The app I'm working on is using small json files, and sometimes it can takes seconds to load. Moreover, if you are using a cellphone with only EDGE and not 3G, the data download could be really slow.
What I would try is to clarify and simplify my data in to categories and list. Then doing ajax call to retrieve the DATA.

Using SENCHA + PHP, on your server, I suggest you take a look at how work the Ext.data.scripttag : ScriptTagProxy.js (http://dev.sencha.com/deploy/touch/docs/source/ScriptTagProxy.html#cls-Ext.data.ScriptTagProxy)

I would also read this :

and finally try that :

27 Oct 2010, 3:14 AM

Thanks for your reply I'll try that out on weekend...