If you are looking for DotKernel 3 related posts, go here.
1.What is a framework ?
(a)a standard library of components that you can drop into your application
2. What is Zend Framework(ZF) ?
(a)is a PHP library for building PHP web applications
(b)is really a hybrid framework and as such can be used in a much larger range of projects than strict “application frameworks”. While many components in Zend Framework can be used stand-alone like a component library; it is, at its core an implementation of the “Model-View-Controller” (MVC) pattern.
3. Why is ZF different from others frameworks ?
(a) ZF is the only major framework for PHP 5 that uses the very business-friendly New BSD license.
4. Why use ZF ?
(a) The key features of the Zend Framework are as follows:
i. Everything in the box
– it includes a robust MVC component along with other components for authentication, searching,
localization, PDF creation, email and connecting to web services.
ii. Modern design
– it is written in object-oriented PHP5 using the modern design techniques, known as design
iii. Easy to learn
– the design of each component is such that you do not need to understand how it works in its
entirety before you can use it and benefit from it.
iv. Simpler Development
v. Rapid Development
Testimonial: “We chose Zend Framework because it had a committed company behind it, a strong community, and because it would continue to evolve and become an increasingly standard code base.”
5. Advantages of ZF
(a) ZF allows you to pull out some of its pieces and use them independently (FLEXIBILITY);
(b) ZF is designed to have very little interdependence between its components, especially to support alternative solutions like Smarty, ADODB (an alternative database access solution);
(c) the ease to embed ZF into another framework:
Q: Sounds like if I use Symfony, I could start adding Zend Framework components and slowly migrate over to Zend Framework, is that right?
A: Yes, that’s right. It’s easy to employ individual components from Zend Framework. There is no requirement to do it all at once. In the case of MVC, you should use one MVC solution throughout your application. But many people utilize some other individual components of ZF like the database access, search engine, or feed client, even if they haven’t integrated their application with Zend_Controller yet.
(d) Can use another template system
Q: Regarding templates, can ZF be adapted to use other template system like Dreamweaver DTW templates? The problem we have here is that our designers like to work with that and we developed our own template (in fact a complete framework) using DWT.
A: Zend_View is an interface, so you can write your own view class implementing that interface, which reads DTW templates. See http://framework.zend.com/manual/en/zend.view.scripts.html
6. Disadvantages of ZF
(a) ZF requires PHP 5.1.4 minimally. This is because ZF uses some object-oriented interfaces that weren’t finished in earlier PHP releases. ZF uses the PHPUnit testing tool extensively, which requires PHP 5.1.4. It would probably be to your great benefit to upgrade to at least PHP 5.2.1 or later versions, for the additional performance and security improvements available in the recent versions.
7. Why create a new framework (DotKernel) ?
(a) Create a new framework that will have that will be simply to use. Easy to develop new application inside the company. All the team will work after the same standard of the new framework
8. Advantages of a new framework (DotKernel)
Not sure if we can find a pertinent list of advantages…
9. Disadvantages of a new framework (DotKernel)
(a) every new arrived in the company will have to learn the new framework
(b) may not be very tested, and some bugs (of projection) may escape in the large product
(c) Loose of time and money
10. Can they combine? dK+ZF
(a) Yes, It’s easy to employ individual components from Zend Framework. There is no requirement to do it all at once. In the case of MVC, you should use one MVC solution throughout your application. But many people utilize some other individual components of ZF like the database access, search engine, or feed client, even if they haven’t integrated their application with Zend_Controller yet.
11. Combined advantages (dK+ZF)
(a) the simplicity of dK and the power, flexibility, community support of ZF
12. Combined disadvantages (dK+ZF)
Loose of time and money
2. “php|architect’s Guide to Programming with Zend Framework” by Cal Evans
3. “Zend Framework in action” by Rob Allen, Nick Lo