Van Daele, Koen wrote: > Never heard of it (can't say I know much about Ruby either). How do you > bridge the gap from php to ruby? Is that just a command line script that you > run and then you return a link to the generated file? > > Koen > > Well, specifically where I do that, the rest of code was written in Ruby too, because it was the backend. However, PHP and Ruby do share the database, shell script glue and command line syntax, and some configuration files. Basically, user clicks something in the Agavi application, an action is scheduled for midnight, and cron kicks off the recreation of PDF files in the queue. Sometimes I have PHP collect feeds and convert them down to CSV, and then post-process them with Ruby. Or the other way around: Ruby brings in some CSV files and imports them, and the front end builds pretty reports for the users. There are some make files and convenience stuff such as an one-liner to pretty up XML, and the whole thing is living in a bunch of separate source trees and even machine accounts. >> -----Oorspronkelijk bericht----- >> Van: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Namens Mike Seth >> Verzonden: vrijdag 3 augustus 2007 18:08 >> Aan: Agavi Users Mailing List >> Onderwerp: Re: [Agavi-Users] Better way to generate a PDF >> >> salva wrote: >> >>> Van Daele, Koen escribió: >>> >>> >>> I use FPDF from http://www.fpdf.org/ >>> >>> >> Personally, I quit on trying to generate PDFs in PHP. I use >> Ruby PDF::Writer >> >>> _______________________________________________ >>> users mailing list >>> [email protected] >>> http://lists.agavi.org/mailman/listinfo/users >>> >>> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.agavi.org/mailman/listinfo/users >> >> > > _______________________________________________ > users mailing list > [email protected] > http://lists.agavi.org/mailman/listinfo/users >
_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
