I am kicking an idea around in my head right and I would really like
to do this in RoR due to the speed and ease of deployment especially
on the data collection end. Anyway, the application has to be able to
pull data from a SQL database and populate Adobe PDF forms with the
data. Anyone know if such a thing is possible right now with ROR?
I am kicking an idea around in my head right and I would really like
to do this in RoR due to the speed and ease of deployment especially
on the data collection end. Anyway, the application has to be able to
pull data from a SQL database and populate Adobe PDF forms with the
data. Anyone know if such a thing is possible right now with ROR?
That should give you a good place to start looking.
If you are using RoR, you can already pull objects from your database
(you
should be writing this code in the model). You can also set up a rake
task
that loads the RoR environment (check out Ryan B.’ Railscast on it #66 Custom Rake Tasks - RailsCasts). To execute your
code,
then, you can either run the rake task, if that method works best for
you,
or you can interract with your code through the console, or through some
MVC
structure you have defined, in a web browser. That might make for a nice
easy gui, if that is your plan, then you might check out the member and
collection routing options, depending on whether you’re trying to write
a
record or a class of records to the PDF, here is a good resource for
that Rails Routing from the Outside In — Ruby on Rails Guides.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.