[Seaside] Best way to embedding Seaside in static HTML?

Ruben Bakker ruben at mailplaneapp.com
Mon Jun 25 14:54:37 UTC 2007


Thanks Lukas, this sounds interesting! I understand the stripping to the
html body and including it at some point in the PHP page. I don't understand
the anchor and action rewriting, yet: What would be URL? The PHP page with
some parameters?


On 6/25/07, Lukas Renggli <renggli at gmail.com> wrote:
>
> > It works. However, some users experience problems:
> > - the back key doesn't work correctly
> > - the seaside app is rendered after the static contents
> >  - some browsers don't support the iframe tag
> > - Refresh the page doesn't refresh the iframe in some browsers
> >
> > Is there any better way to achieve the same goal?
>
> Certainly. I once consulted a project where a Seaside application was
> integrated into Typo-3. The trick was to perform a request to Seaside
> from PHP, to strip the response to the html-body, to rewrite the
> anchors and form actions using regex and to integrate the result into
> the Typo-3 template. All in all quite a hack, but it worked really
> well and didn't show any of the drawbacks you describe.
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Ruben
http://mailplaneapp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070625/0a29c214/attachment.htm


More information about the Seaside mailing list