Thanks for the response.

Regarding "repurposing" the PHP-generated HTML, do you mean
statically, eg. copying the page source into a template?

If not, how can this be accomplished dynamically? Is there a way to
get the raw HTML output of a PHP-based URL programatically and then
plug that into a template, so as to avoid having duplicated HTML?

Ken....


On Sep 28, 10:27 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote:
> megrez80 wrote:
> > Hello,
> >     I'm currently prototyping a web application using Django which
> > must be integrated into an existing PHP-based site. Can anyone comment
> > on, or provider a pointer to documentation for, the issues involved.
> > In particularly, how to go about inheriting the existing look-and-
> > feel.
>
> The look and feel will be the easiest part-- you just need to take the
> HTML generated by your PHP app, and repurpose it as a Django template.
> This shouldn't take long.
>
> Things like changing a menu bar that need to be common between the PHP
> and the Django side would probably need to be maintained and updated in
> tandem.
>
> You'll probably run into issues other than the look and feel, but there
> is no reason that you can't have both Django and PHP running on one server.
>
> If you need to have both Django and PHP access the same database, you
> can do that. Look in the Django documentation for "legacy db" stuff to
> get Django working with your existing tables.
>
> Jeff Anderson
>
>  signature.asc
> < 1KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to