Hi I am writing an application where the form data needs to be stored as xml file. I cannot use data base as I want to provide version management for this data (currently planning on SVN). The form data is a perl script file. Users write the perl script in the form and save it to the server (which gets saved as .pl file). The web UI also provides a way to execute that file by clicking the execute button. On the server the file gets executed and output is stored into a log file. I would like to manage these log files using the web UI
The UI wireframe looks some thing like this Add New Script (button) Show current Scripts 1.pl Edit Execute Manage-Versions Delete Rename Copy 2.pl Edit Execute Manage-Versions Delete Rename Copy . . . Please help me on how I can create a model for this. Model is not a data base (I will eventually create a database to store the list of scripts and their metadata, but the content of the scripts is going to be in a file) I need a config variable, that defines where the data can be stored on the file system. Where can I put this config and how can I access it DATA_STORAGE = /opt/perlscripts/ How can I use this model to write a CLI program, along with the webUI (for CLI fans) thanks a lot in advance Kiran -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.