Login | Register
My pages Projects Community openCollabNet

Discussions > dev > class prefixing > Reply to message

propel
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author hlellelid
Full name Hans Lellelid
Date 2006-11-21 07:57:47 PST
Message Hi guys,

I'm copying propel-dev on this email, as I'd like linguafranca
convention to be adopted for Propel 2 also.

We had a brief mention of this before, but I think we should probably
prefix the classes in the LinguaFranca project. I think Sven proposed
using lf_. That works, but I think the underscore is not a good idea
since it means specific directory structure system for the Pear classes
-- a directory structure system that I don't think we plan to implement.

So, I see a few options:

    1) lowercase "Symfony-style" prefix: lfDatabase, lfObject
    2) uppercase initials: LFDatabase, LFTable
    3) single letter "Prado-style" prefix: LDatabase, LTable
    3) Full project prefix: LinguaFrancaDatabase, LinguaFrancaTable (I
think we probably agree that's too long)
    4) Shortened project name prefix: LinguaDatabase, LinguaTable

Personally, I lean toward 1,2, or 3. Other suggestions? Opinions on these?

Hans