[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: PDT2: Source / Public folders, how do they work?

This is a good question, I'll try to be short and explain why the PDT team has decided to reuse the buildpath mechanism from Java.

on most projects (like in Java) there should be a logical separation between applicative code (php code) and other external resources (images, javascript, css, etc). Since it is a good practice to separate these two kinds of resources to make your project more modular, there is a point in marking a folder as source folder or as a resource folder. This separation also helps to be make your code more modular and to reduce the overhead of Eclipse that is scanning and parsing files to provide editing capabilities (like code assist and other modeling stuff)

hope this helps,
Roy



Michael N. Madsen wrote:

Hi, I know Java and when src files are compiled the files are stored in the public folder. Since php isn't compiled locally, what is the point of having php projects set up this way?

-Michael