Reuse PHP project in Eclipse / Aptana Studio 3

微笑、不失礼 提交于 2019-12-23 05:59:01

问题


I have a CMS project that I reuse in several sites.

Is it possible to add this project as Library for other PHP projects?

For development, I have the files of my CMS included in one site and not in the others. Then, from that only copy I upload the files through every site. I want to improve this.

I read Configuring a Project's PHP Build Path and Configuring a Project's PHP Include Path. However, I don't see how the project' files will be included in the site if I test it locally.

I use WampServer to test my sites, but all the files need to be in the site folder in order to run. So, how can I develop the CMS in one Project and avoid having the CMS files duplicate through all my sites?

I don't know if I was clear. Lets asume I have WordPress as a project and I'm developing multiple WordPress sites. How can I include the WordPress project in the sites and test them locally?

来源:https://stackoverflow.com/questions/25344771/reuse-php-project-in-eclipse-aptana-studio-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!