[TYPO3-50-general] Common namings for variables with path-content

Robert Lemke robert at typo3.org
Wed Jan 14 15:11:46 CET 2009


Am 14.01.2009 um 14:51 schrieb Ingmar Schlecht:

> I agree with all of your suggestions, but what's missing is a name for
> "filename with path".
>
> So how would you call "/path/to/the/file.php". Would it be a  
> "filePath"?

Yeah, that's a difficult one I tried to circle around ;-) In my other  
scripts I would usually write something like "fullPathAndFileName" if  
it was an absolute file name.

But yes, why not take "filePath" - it could even be combined as in  
"absoluteFilePath" or "relativeFilePath".

And finally we have "URI" (as in http://www.ietf.org/rfc/rfc2396.txt)  
which eventually can also be just a file path.

robert


More information about the TYPO3-project-5_0-general mailing list