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.
Related
We have a customer with an existing PHP app running on Zend server. Don't have a lot more info yet, about what version of the server it is, but there is not a lot of documentation and no way to talk to the original devs.
It looks like it runs on the old community edition of Zend, and there is no such thing anymore. We are going to move them to AWS for hosting. We have zero experience with Zend. How difficult would it be to migrate off Zend? As I understand it, they have their own framework, so I'm assuming we would have to rewrite a bunch of code to another framework, or not use a framework, and rewrite to that. Originally we were thinking this would be a simple migration, but I'm not so sure that will be the case now. If anyone has any thoughts on migrating the CE of Zend along with the code, that would be great, as well.
I'm going to be reviewing the code shortly. Are there any things I should look for that would indicate how deeply they are using the framework now, that I'll have to think about converting?
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.
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.
Hai
I want to create a project in Zend framework, but I don't know any idea about how to include this zend framework in to wamp server.
Any one please helps me...?
Thanks in advance..
It seems you need a tutorial to start from scratch, I'd say.
Here are a couple of links that could interest you :
Survive The Deep End! : a free electronic-book about ZF
It's still work in progress,
but the Chapter 4. Installing The Zend Framework is finished, and gives several way to use ZF
Don't forget to read to other chapters too, btw ;-)
The official Quickstart
Those might be helpful, for you to start.
And here are some other resources :
The official Reference Guide -- not quite perfect as a starting point, but contains the documentation of every classes ; you'll work with this one pretty often, I guess !
A couple of screencasts (including one about Installing ZF)
There are also webinars, and a couple podcasts
More advanced, there are interesting articles about ZF on devzone
Of course, you can find books about ZF, too. For instance :
Beginning Zend Framework
Zend Framework in Action
All you need to do is ensure that the Zend/lib directory from the framework download is in your include path.
That should work just as well on WAMP as it does anywhere else.
I haven't configured an IIS server in ages... but it's probably just as easy as a nicely crafted "ini_set('include_path",'..') in your bootstrap script.
Once you've got Zend/lib in your include path, you can include (or autoload) Zend things as needed.
i used this tutorial when i started to work with zf:
http://www.ibm.com/developerworks/library/os-php-zend1/
It's from 2006 but you should get the clue.
Have fun!
I've read a couple of Related questions by the site, but can't find what I'm looking for.
After having done normal PHP without much extra(by which I mean a templating system) for a year now, I feel like trying Zend. Simply because it's the biggest name. I wanna try CakePHP too later.
I've been looking into the examples, but these are all inline-code examples.
In learning PHP, I've used a template system, in order to keep the PHP and the HTML completely separated. Is this possible with the Zend Framework, or should I use a template system alongside it?
Also, what's the deal with executing several .bat files? Is there really so much work in setting up folder-structures with the correct files in them should you did it manually?
Zend Framework is a quite good solution to use as separate modules or complete package as well. You can use only it's templater system (but it's not so super) or you can put on a whole system using Zend_Application, Zend_Controller, Zend_Db, Zend_View, etc.
The .bat (or .sh) file is for the Zend_Tool. It's an experimental command line tool to build modules and applications easier.
I guess you can use zend's built in template solution that comes with Zend View, roll your own, or even integrate something like Smarty. At the end of day, its your call. Zend is fairly flexible in terms of which of its component you want to use and which you don't.
frankly for me these components do the most of work and i dont think i will need more than
(Zend_view , Zend layout , Zend navigation ,Zend breadcrumb)
it's most likely to keep the PHP and the HTML completely separated
about zend tool : its just tool to make Zend development much easier
I highly recommend you take a look at the online tutorial found here. It's a step by step walk through the framework showing you the basics of how you'd build a small Zend Framework app, and shows you how to integrate things like access control, interface with the database, etc. It's written in really understandable language with great source code included.
As for the batch files, you may want to download a demo copy of Zend Studio. It allows you to create a ZF project and does all of the setup for you without requiring you to mess with the command line.
Good luck!
I highly recommend you must first understand the basic directory tree of Zend Framework including all setup needed and familiarization with bootstrapping and setting configurations with a .ini file.