Hi gurus,
I am planning an application that involves pulling XML data from the server side and manipulating it on the client side before allowing the user to save it as CSV.
On the server side, I will use Apache and PHP as the primary service interface, and the data source could be coming from MySQL server and/or Exist database server.
Then, on the client side, I am thinking of using ExtJS to allow users to 'limit & view' the data and further format it in that table grid. Then, ExtJS would 'POST' the formatted table grid data and POST it to a second PHP controller that simply takes the data and convert and save it to a CSV attachment.
My question is, given the stack involved, is this the best way to do this? If there is a way for ExtJS to directly output the data as a CSV file, should I use it? I mean, Javascript is not supposed to write to the HD, right?
In case any of you are wondering, why the manipulation could not be done first, I am trying to use a limited number of stored queries only (on both MySQL and Exist), to serve frequently requested and updated data.
Thank you in advance for any comments and suggestions.