DEV Community

Discussion on: Adding Front-end framework to existing PHP project

Collapse
squigglybob profile image
squigglybob

Do you know of any example repos which have used this approach and have a good file structure?

I'm interested in potentially using this method in a legacy WP project as a precursor to going whole hog into SPA

Collapse
dasdaniel profile image
Daniel P πŸ‡¨πŸ‡¦ Author

I'm not aware of any, but it's tricky to find examples because such a change would be a transitory state. It is also frequently project specific.

You can look up more about the strangler pattern for updating legacy systems gradually. But I suspect that "theory" might not be that helpful in implementation of things like structuring your files, which are usually project-specific.