Solved

using WDDX to save data for later use.

Posted on 2006-06-18
1
236 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
1 Comment
 
LVL 7

Accepted Solution

by:
aseusainc earned 25 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now