?
Solved

using WDDX to save data for later use.

Posted on 2006-06-18
1
Medium Priority
?
247 Views
Last Modified: 2013-12-24
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
Comment
Question by:stacey14
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
aseusainc earned 75 total points
ID: 16931142
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

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question