[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

using WDDX to save data for later use.

I trying to figure out the best way to go about saving data that is entered into a form for later use...Here's the senerio...I have a form that the user (our analyst) will use to fill out certain information that needs to go out to our clients in the form of correspondance. What I want to do is have the analyst fill out the form fields, then have it laid out and saved as a PDF to either print or email to our clients...

There is, however, instances where the analyst will need to go back and add more information to the same 'template' (if you will) and resend it to the client...I'm looking for the best way to somehow store the data that the analyst enter for the client so I can recall it when they have to add more information. My boss would rather I didn't store it in tables in the database so I've read a little about WDDX and was wondering if this might be a viable solution.

With WDDX can you save the data into an XML file and store it on the server for later use or is it (WDDX) just for saving data into a variable for later use during the user's session.

All help and/or suggestion for using the right approach is appreciated.
0
stacey14
Asked:
stacey14
1 Solution
 
aseusaincCommented:
It was always my understanding that WDDX is used to serialize/deserialize data to an XML based format for ease of transfer.  You can in fact dump the WDDX packet inside <xmp> tags and then dump it to a text file.  But reading/writing from the hard drive to and from text files is kind of slow.  And really, all you're really trying to do is mimic a database by finding another way to do it.  Why not just do it right the first time?

>All help and/or suggestion for using the right approach is appreciated.

Store it in tables!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now