Developing with Zend Framework on Windows..

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Developing with Zend Framework on Windows..

Post by onion2k »

Does anyone know of a good tutorial outlining some best practises for developing with Zend Framework on Windows, and then deploying to a shared environment running on Linux? All of the documentation on the official site appears to be for developing on Linux and then deploying to a dedicated server (messing about with httpd.conf things like DocumentRoot, usually impossible on a shared server).

If you don't know of anything like that, does anyone know of a tutorial outlining how to do it with a different framework (Cake, Symfony, etc).
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Developing with Zend Framework on Windows..

Post by Eran »

I've been developing using ZF on Windows and deploying to linux servers for years. I've deployed to shared hosting as well on occasion, and it never seemed an issue. If you have a particular question, I can try and answer.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Developing with Zend Framework on Windows..

Post by alex.barylski »

I've built a few applications with Zend, usually developed locally on a Windows machine and deployed to a Linux server, but I cannot say I experienced any portability issues. What has your experience been so far?

File permissions are obviously an issue, regardless of framework used though. Perhaps things like SHMOP or other Linux specific functionality, but again not framework specific.

If your asking of issues to be aware of, I think focusing the subject towards difference of OS'es in general would work better.

Of course, if you have any questions, ask here, pytrin has been a huge help for me when using ZF. ;)

Cheers,
Alex
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Developing with Zend Framework on Windows..

Post by josh »

All you should have to do is set up rewrite rules in IIS. There are examples. Ignore any documentation that tells you to configure the webserver. The only thing you have to do is rewrite all requests to index.php, and then create an index.php that dispatches the front controller.
Post Reply