Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zend Framework plugins/modules

The symfony framework has a lot of plugins for adding functionalities like a user system (login, registration, authentication, etc..), so users won't have to invent the wheel from scratch, as a user system is a basic need for most applications (for example).

I have tried finding an equivalent in Zend Framework, and though there is the concept of plugins in Zend Framework, I couldn't find any plugins out there, which one can download and add to his project.

Is it possible Zend Framework does not have this wonderful community feature such as the vast amount of plugins available in symfony ?

like image 473
Doron Avatar asked Dec 09 '22 17:12

Doron


2 Answers

A Plugin isn't the same as what you are thinking. The terminilogy betwen Symfony and ZF are completely different.

A Plugin does not mean "Plug me in" I will work on your website. It is basically the name given to something which the developer uses in his applications which are called every page load. Rather then creating a base controller, or some other kind of helper, a plugin is used to kind of create a new abstraction from your controllers. When you create a plugin, your reason should be that the code used therein needs to be used on each page load.

On my site here are examples of some plugins

  • My ACL
  • My template manager. (I built a unique template engine)

Some people might even use it for caching.. however, to answer your question, you would not use plugins in the way you want.

In answer to your comment below: No, a module is just a way of creating different layer of features on your site, which is seperate from the default module.

ie.. Example Modules - a Blog - a Fully fledged online store - an administration suite

These naturally want to be seperate from your default module..

If I were you, I would implement a plugin. However you need to create your plugin yourself. Readily available ones aren't really.. provided anywhere. Fortunately however, the documentation shows you exactly how to implement something.

I would definately recommend using ZF, it is the best thing I have ever experienced in my coding career. I love it.

like image 175
Layke Avatar answered Dec 25 '22 13:12

Layke


There is ZFSnippets. A full fledged user administration would be a module in ZF terms. I am not aware of a ready-to-use modules download page.

like image 34
Gordon Avatar answered Dec 25 '22 11:12

Gordon