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!
Related
Since Zend 1.xx and in new Zend 2.2.4 yesterday I found that Zend had removed Command Line interface and instead in their tutorials they had referred to a skeleton Application.
I had investigated and found that Zend had now focused on their documentation quite a good way like never before.
In their initial tutorials I was having some questions in section "Routing and controllers" where I am having difficulty on understanding the configuration scopes in "module.config.php" file located in module/Album/config/module.config.php (as per Zend's official User Guide)
Based on my shared above details I need two items of help from you.
A clear clarification on the configuration used and available in "module.config.php" as detailed as possible. Any external tutorial can be helpful a lot.
Any additional tutorial where I can see and understand creating my own Skeleton Application using Zend framework.
As far as your first question is concerned, please check out my Blog about Understanding ZF2 Configuration.
As far as your second question is concerned, I'd question your reasoning. The sense of the ZendSkelettonApplication is to be the starting point for all your applications. Understanding what happens under the hood inside the Skeleton you pretty much have two options:
You use a Debugger like xDebug and basically follow the Applications workflow starting public/index.php and you understand that
You take the Zend Framework Fundamentals Course - the internals of ZF2 will be described in that.
Are there any good resources for learning PHP/Zend (perhaps specifically) for a Ruby/Rails dev? Some sort of crash course would be ideal!
I just need to know the basics so I can work on a PHP app that has been built with the Zend Framework.
If you are in the unfortunate position of having to use the ZF, they do have pretty good documentation here, though it's not on par with Rails' (it should be enough to let you work on a legacy app though): http://framework.zend.com/manual/en/.
The PHP documentation is very good. So is the previously mentioned Zend Framework Manual and to put it all together are a couple of good quickStart tutorials:
the first is Rob Allen's ZF 1.x tutorial
The second would be the ZF quickstart
These should get you up and running...
I found the Zend certification study guide was a good reference that covers what you're expected to know. It will give you some perspective: http://www.zceguide.com/
I have finished writing my own web application now. It is written in PHP with MYSQL DB and I did not use any MVC framework at all. Now I want to add a local search functionality for my app and from looking at the other posts here, Zend_Search_Lucene seems to be a good option for me.
Now if I want to use Zend_Search_Lucene do I have to install the whole Zend framework then re-write my app and adapt them into its MVC framework ?
I am looking to use just the search feature of the framework, and right now I probably do not really mind installing the whole framework, but I surely do if I have to make large-scale changes to my app..
appreciate any answer-suggestion, thx
You can just use the Zend_Search_Lucene package, you don't need to use the whole framework and/or MVC aspect of it. If you don't want to install the whole framework, you have to check package dependencies that Zend_Search_Lucene has. There are some automatic ways of doing this, here are some:
ZF dependency manager
Zend Framework Automatic Dependency Tracking
If you google it you'll sure find more.
For the answer to the question: no, you won't have to change it, you may use Zend Framework libraries independently.
I won't give you any tutorials on Lucene, though.
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.
Do you know others frameworks like PEAR (http://pear.php.net) ? I want to use reusable PHP components without using the famous PEAR.
I already use a framework (Zend Framework) and i want to use php components who doesn't exists in ZF like payment, encryption, math...
Check out EZ Components. It is a very loosly coupled set of libraries that I always see as sitting somewhere between something like PEAR and Zend Framework. Superbly coded and up to date, it is something to take a close look at.
I don't really do that much php, but I've worked along side php developers for some time and I've heard comparisons between PEAR, SMARTY and Zend Framework all the time. I can't really tell you how much alike they are, but these are the ones I've heard about the most. I've also heard some saying they work with Cake PHP or Symfony, but not as many.
I also found two nice comparisons that might help, here and here. That's about all the help I can be. Good luck. :)
As a Zend Framework fan myself I don't see why you don't extend Zend Framework based to your needs. I use a rather simple method by having a classes folder inside my application folder which you need to set up in bootstrap or load with Zend_Loader and there you can define your own logic or import different modules you're interested in ( phpClasses might be also very helpful).
You also can find a lot of helpers made by Zend Framework's community which might be helpful at any given time. If you like to go and strip off pieces of code from different sources you might also want to try to import some of the modules from other frameworks like Code Igniter or CakePhp into Zend Framework and that probably would be a fun and useful thing for you and if you'd like to share, maybe for all the community based around ZF
And I should warn you about Symfony (that evilpenguin wrote about), if you're willing to try it just don't forget it's the "laziest" of them all.