Hi,
We are going to integrate EE with an existing website. We are using Structure. Expression Engine will handle the general CMS work, whereas a pre-existing php files will handle login to existing user accounts and e-commerce process - inc. SSL. These two areas do not need EE2 control, as they will only be edited by web devs.
Does anyone have any advice on how to incorporate the two, whilst try to maintain the DRY principle?
In terms of the EE setup all, templates are external, all JS and CSS too.
Current setup of files is:
/ (all EE2 files in root)
/my-account/—old account code integrated—(SSL)
/shop/ (SSL)
I have currently come up with 2 options:
1. create folders for the my-account and shop and re-use css/js, but recreate EE tag driven elements like menus etc.
2. create the my-account & shop sections within EE2 and use php includes to incorporate the needed existing code
I see both having benefits, but also limitations. These are:
1. would need to recreate menu and other ee tag driven elements, meaning duplication of logic/code
2. client has ability to modify/delete key files. SSL supported for these two sections?
I’d love to hear thoughts from people who have had similar situations or any advice in general when integrating non-EE driven content.
Thanks for your time!
Ben