Garethp Posted December 6, 2011 Share Posted December 6, 2011 Okay guys, so I'm going to start a large program for work soon, which we expect to have to expand the servers we're running it on quite a bit. So the Senior Technician that's working on the server side wants to put the view on another server from the controllers and models, so that if need be we can scale the one or the other. So one set of servers would just be serving the HTML and another set of servers would be handling the business logic. Does anyone know of an efficient and not overly complicated way to do this? Quote Link to comment https://forums.phpfreaks.com/topic/252620-zend-framework-having-the-view-on-another-server/ Share on other sites More sharing options...
trq Posted December 7, 2011 Share Posted December 7, 2011 All request to Zend framework go through a single entry point. Your bootstrap. The views are pulled into your response internally. No one ever actually requests a view. Quote Link to comment https://forums.phpfreaks.com/topic/252620-zend-framework-having-the-view-on-another-server/#findComment-1295126 Share on other sites More sharing options...
gizmola Posted December 7, 2011 Share Posted December 7, 2011 What people often do seperate is static assets from dynamic assets. For example, css, javascript, images etc. can be served from a static server infrastructure, and people will often use a low footprint webserver like lighttpd or nginx for those requests. Quote Link to comment https://forums.phpfreaks.com/topic/252620-zend-framework-having-the-view-on-another-server/#findComment-1295136 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.