rskuipers / RK_TypeCMS

Magento module, allows you to easily define page types with custom fields/templates for the CMS.
MIT License
19 stars 7 forks source link

FR: Use database (EAV) to manage page types & attributes #8

Open adamj88 opened 9 years ago

adamj88 commented 9 years ago

Appreciate it is a big change, but what about using the database to manage page types and attributes assigned to each page type? Could use an EAV model with an indexer to reduce the number of DB queries if performance is a concern.

Reduces the dependancy of creating another module or modify the config XML to add page types and attributes and would make them all be able to be updated in the admin section.

This would open the module up to more end users in my opinion.

rskuipers commented 9 years ago

@adamj88 I love this idea! I would love to hear your thoughts on Magento 2 and whether we should instead port this module to Magento 2 and switch to that strategy instead.

adamj88 commented 9 years ago

@rskuipers definitely do it! If you wanted to refactor the code down it would be a great opportunity to support Magento 2 too.

I think it's a great extension and adding the EAV feature and getting on V2 early would make it hugely popular in the community imo.

rskuipers commented 9 years ago

@adamj88 Do you have any experience building Magento 2 modules? I have been a little bit out of the loop regarding Magento 2 development. I'll do some research.

adamj88 commented 9 years ago

@rskuipers not much to be honest as it's not officially released yet - would be a learning curve for me. I may be able to find some help though :)