Hi Hannes,

2011/4/27 Hannes Magnusson <hannes.magnus...@gmail.com>

> On Wed, Apr 27, 2011 at 14:58, Hannes Magnusson
> <hannes.magnus...@gmail.com> wrote:
> > All this takes us alot closer to be able to provide "live preview" in PhD
> OE..
> > The "whole shebang" (configure.php, phd indexing, phd rendering) for
> > one book (mysqli, for example) takes my laptop less then 7seconds[1]
> > :D
>
>
> Quick follow up.. Did some more optimizations... 25% extra :)
> The book.mysqli now takes 4second on my laptop.
>
> After that, I realized rendering one page would obviously be quicker
> so I tried that out..
>
>
> $ rm -rf output; time ( php doc-base/configure.php
> --generate=en/reference/mysqli/mysqli/real-escape-string.xml ; php
> ~/Work/OSS/php/phd/render.php --package PHP --format php -d
> doc-base/.manual.xml )
>

I haven't play so much with phd.. ;)

Could you give me some information about this command line ?

php doc-base/configure.php
--generate=en/reference/mysqli/mysqli/real-escape-string.xml ; php
~/Work/OSS/php/phd/render.php --package PHP --format php -d
doc-base/.manual.xml
What's the output of it ? inline html ? a file ?

In the online editor, when a file haven't been commited, it was saved in
.new file. Is it a problem to generate the output ? the command line will be
somethings like this :
php doc-base/configure.php
--generate=en/reference/mysqli/mysqli/real-escape-string.xml.new ; php
~/Work/OSS/php/phd/render.php --package PHP --format php -d
doc-base/.manual.xml

Where did you see the "view the output" button ? on each file ? for the
global manual ? ;)

Best,
Yannick



> [....]
> real    0m0.720s
> user    0m0.150s
> sys     0m0.100s
>
>
> I think thats acceptable for a live preview? :P
>
> Yannick or Kschan.. Could you implement it into PhD OE? :)
>
> -Hannes
>

Reply via email to