Hi Matthew, Thanks for the detailed info here. Now its time to dig more into details of ZF and do some learning on my own and hopefully start using its full potential. Thanks to all here. If i get into deep water ill ask this great community again for help.Thanks.
Regards, Ataulkarim Matthew Weier O'Phinney-3 wrote: > > -- ataulkarim <[email protected]> wrote > (on Saturday, 12 September 2009, 07:55 AM -0700): > <snip> >> I've seen MVC tutorials of the framework (although old ones), but find >> the >> concept appealing. Zend server Community Edition provides with an user >> interface to work with, great. The only thing that confuses me is the >> aspect >> of CACHING. >> >> Caching >> >> Zend framework and Zend Community Edition come with the Zend Optimzer (to >> my >> understanding does not do opcode caching) and the Zend Server provides >> with >> opcode caching. > > Wrong on several accounts here. > > First off, Zend Framework does not come with Zend Optimizer; the two are > completely separate products. > > Zend Optimizer is an opcode cache included in both Zend Server and Zend > Platform, which are separate products from Zend Framework. > > Based on the above and other comments below, I think you are a bit > confused about what an opcode cache actually does and where it acts, so > let me explain that a bit here. > > An opcode cache caches bytcodes generated by the PHP interpreter upon > parsing and compiling PHP code. As such, opcode caches are extensions to > the PHP engine. Engine extensions are written in C or C++, and then > compiled and installed against your PHP installation. APC and Zend > Optimizer are examples of opcode cache extensions. > > Zend Framework is a library of PHP code -- code that is executed via the > PHP interpreter. As such, if you have an opcode cache installed on your > PHP interpreter, ZF code will then be cached by the opcode cache. But > they are essentially two very different things -- one is an engine > extension, the other is PHP code. > > Now, to make things more confusing, Zend Framework has a component, > Zend_Cache, which is used to cache code or output generated by Zend > Framework. For example, you might want to cache the results of database > queries or actual markup generated in your views. To do its work, > Zend_Cache can communicate with a number of different backends. Both APC > and Zend Optimizer allow you to cache not only opcodes but also > arbitrary key/value pairs -- and Zend_Cache can utilize these as > backends for doing exactly that. > >> I've read alot of APC caching possibilities and capabilites which to >> some people is faster then Zend Optimzer. Andi Gutmans commented >> somewhere that Zend Server has opcode caching capabilities and >> performance tests should be done with zend server. > > Zend Server's version of Zend Optimizer has some significant > improvements over the version included in Zend Platform. In my own, > informal, testing, I've found it competes favorably with APC. > Regardless, ZF works fine with both opcode caches. > >> Now, here are my questions: >> >> 1. If i install Zend Server Community Edition can i still make certain >> manual changes i would be able to do with Zend Framework? > > I'm really not sure what you mean here. If you mean the ability to > modify ZF code, of course -- though it's not recommended (extend ZF, > don't modify it). > >> 2. Are opcode caching capabilites present in Zend Framework / Zend Server >> CE >> - other than Optimizer? (if not -> Can i use zend framework to manually >> overcome this deficit?) > > See above. ZF does not have an opcode cache; Zend Server CE does. You > can even install APC on Zend Server CE if you want (though it's not > something I've found necessary). > >> 3. If the only Opcode caching is possible with Zend Server(which i would >> have to buy)- is there a possibility to integrate APC with Zend >> Framework? > > Again, Zend Server CE has opcode caching, and is a free product. APC is > also a free extension to PHP, and may be installed on your PHP > installation. Zend Framework works fine with both opcode caches, and can > use either as a backend for Zend_Cache. > >> 4. Why does Zend has a http://framework.zend.com/docs/screencasts >> Screenacst Tutorial about "Getting Started with Zend Framework" with >> 1.0.3. >> Ok i know Zend is a 'Company' and would concentrate more on the buy side >> of >> products, but essence of PHP is i guess Open Source(free) and any help >> regarding that would be appreciated even if its in the getting started >> video >> - 1.8 would also be OK :-) . > > Funny enough, I decided a few weeks ago to take down that video with our > next site refresh (which will be in a little over a week). > > The various screencasts on our site were created by a community member, > but were done not long after the 1.0 release. They're very out of date > at this time, and as such, we need to take them down. I'm not sure if > we'll post new ones or not; in the meantime, another community member > has been creating screencasts recently and posting them to > http://www.zendcasts.com/. > > (Internally, at Zend, we only have 3 full-time employees on the project, > and our time is stretched thin as it is currently.) > > -- > Matthew Weier O'Phinney > Project Lead | [email protected] > Zend Framework | http://framework.zend.com/ > > -- View this message in context: http://www.nabble.com/Clarification-needed-about-%22Zend%22-and-its-products-tp25415258p25425844.html Sent from the Zend Framework mailing list archive at Nabble.com.
