简体   繁体   中英

Generating PHP pages from an asp.net MVC application

We have an MVC 3 application that we use internally, and we need to generate a set of static web pages for our external website using our business data. Our external site is running Drupal, so we would like to use PHP templates to render the pages. That way our web designers can make cosmetic changes to the pages by editing the templates without learning a new templating language.

Is there a PHP library we could call to generate the pages? We don't want to run a PHP server, and certainly not a Drupal server.

there's a PHP module for IIS so you could render php templates with it

PHP module for IIS

for the template system you could use smarty or build your own to make the easiest for your designers. building your own template system is not complicated and you'll get better performance.

hope this helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM