Big plugin - CakePHP

I'm about to start working on my new project. It'll be an eshop. Problem is, that I want to run it on my already created 'core cms' (containing users, user groups, acl, custom pages, upload plugin and so on). I'd like to create eshop plugin, because of hierarchical structure. But, my eshop is going to have about 50 different controllers. For example I want to create ChartsController that will be shared by 2 or 3 other eshop controllers (statictics of sale, stats of traffic ...). It seems to be nicer as plugin for me, but (and here is the problem) I can't have plugin in plugin according to CakePHP structure. Or can I ? And is there a chance for this big plugin to slow down page loading ? Thank you for your answers


You can't have a plugin within a plugin, but you can have a plugin that depends on another plugin. Any plugin can use other plugins that are alongside it in the same plugins folder. You have to be careful to avoid things getting messy, but it's definitely possible.

If your page is slow, then your page is slow. I don't think the fact that it's a plugin will significantly affect page speed.

Need Your Help

Cross-Database information_schema Joins in SQL Server

sql sql-server data-migration

I am attempting to provide a general solution for the migration of data from one schema version to another. A problem arises when the column data type from the source schema does not match that of ...

How do you deal with lots of small files?

windows-xp filesystems ntfs

A product that I am working on collects several thousand readings a day and stores them as 64k binary files on a NTFS partition (Windows XP). After a year in production there is over 300000 files ...