I am new to php zend framework, I think I can get zend worked in my local computer but I am not sure how to deploy zend on line. if I have a web sever and filezilla ftp transfer tool, what I need to do to be able to get zend work online like i did locally? any help will be greatly appreciated.
The beauty of Zend Framework is that it is very non-intrusive by nature. It is more a class set than a framework but you can use the MVC framework too to build awesome apps. My knowledge of the Zend Framework is that you simply have to upload your source on the server like it was in your original site on your machine.
If you are using a non-conventionnal way to detect or set the path of the autoloader then you MIGHT have issues to fix. But if you use the define(APPLICATION_PATH, realpath(dirname(FILE)) strategy and set the includepath correctly, there should be no problem at all.
Related
We are resurrecting some old code that used the Zend framework. The old code extends several Zend classes, invokes getOptions() and uses some other Zend functions. We tried installing Zend Framework with XAMPP (click here) without the Zend Server. We have loads of errors that prevent the legacy site from rendering properly.
Is Zend Server necessary to use all the methods, etc. of Zend Framework?
Yes, you can run Zend Framework without Zend Server (and I'd guess this is a much more common setup than using both together). The only thing I can think of in ZF that would require Zend Server would be the Zend Server Cache Backend.
It's more likely that your issue is down to a difference in configuration between your old server and new. If you can give examples of some of the errors you're getting we might be able to suggest where to look.
I am considering to use Zend Framework in a future project in a Linux Environment. I did the introduction tutorial and quite liked the framework. Yet there's one question i couldn't really find an answer around.
What is the benefit of using Zend Server CE , besides that it wraps up MsSQL and PHP and Apache? As far as i figured out , you still need to include or link zend framework in your application. I couldn't find any facilities which will make deployment any easier either.
It would be nice if someone could give some pointers / resources about pros/cons of using Zend Server.
Thanks
If the plan is to set up a live server my tip would be to not use the Zend Server CE. It is quite heavy, I would use apache/mysql and then add your ZF dir to include path in the php.ini
I used Zend Server CE on my Mac earlier, just for development, but i throw it out and now i use MAMP instead.
What I liked about Zend Server CE is the admin interface, read more about it here http://www.zend.com/en/products/server-ce/
I have to convert a site in zend framework. Site is big I can't convert the site at a time in zend It will take abt 6 months. Is it possible that I update it module by module (parts) and keep on uploading in live site so some module of my site will run on zend and some on core php. Can I do any setting for url in zend framework so both on my url can work.
partially migrating onto a/another framework is strongly discouraged. Don't mess with live-sites (especially not big ones) unless you really(!) need to. You should better set up a testing/migration site in your local office and do a full migration, and thorough testing, before you release anything into the wild.
If you really want to do this you should start looking into .htaccess conditional request rewriting to redirect the request either to zend or to your proprietary PHP application.
Cheers,haggi
Hello my fellow Stackoverflownians :),
I just came across this thing called Zend. And it looks pretty cool and i wanna get my hands on it, but I have a question. So if anybody knows anythin about Zend, I would really appreciate your advice.
I am using Winhost as my hosting provider (http://www.winhost.com/) and they are a Windows Hoster, but they also include PHP hosting aswell in their windows packages.
Can Zend be used with WinHost? Or does Zend only work on one of those server apps that you download like Apache or Apremlium etc?
From what I have found its beginning to look likle I cant use it with winhost.
Thank you
If you're able to use php on your host, you can use zend framework. That's all it is.
Also, if you think Zend is cool, make sure and take a look at codeigniter. I've used them both a little, and they both have their advantages.
I am just wondering if I could run CodeIgniter applications on Zend Server Community Edition without any issues.
I don't want to mess everything up by experimenting. Please let me know if you have faced any problems running CI on ZendServer CE.
Thanks
Zend Server isn't really a server. It's just a preconfigured PHP installation for Apache/IIS. When deploying a Zend Framework application, you have to include the Zend Framework libraries along with your application as if you were deploying it on a regular Apache/PHP server.
You can treat it as a stock installation of PHP.
I don't know enough about Zend Server to say for sure (e.g. I've seen someone manage to wedge CI into Joomla before), and while I'm sure it's possible, I imagine it would require a lot of tinkering. What you can do is pick and choose your favorite bits of CI or Zend and reuse the code as libraries. Are you being forced to use Zend but would prefer to use CI? If that's the case, I feel for you, but I'm not sure the best solution is to use two entire frameworks with all the overhead that comes with them...it would probably end up being really unwieldy.