CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Peter's Gekko

public Blog MyNotepad : Imho { }

Never name your table "project"

I was working on two project management apps. For the same customer. In both apps I named the main table project. Dumb !!! Now the two apps are merging. The two project tables represent two different views on a (part of a) project. The code still works, namespaces and databases have to point out which view on a project I'm dealing with. But sometimes it's quite confusing. Lesson learned : “Don't give your tables general names”. Should be an open door :>

Peter



Comments

Peter van Ooijen said:

Something less general as "ProjektMOC" and "ProjektUitvoering" as the one deals with the "MOC" of the project and the other with the "uitvoering" of the project. But that's looking back. And later on the "uitvoering" might just as well split into several processes.
A real project table is emerging, it's glueing all the differnet aspects of a project together. But I couldn't name that one "projekt" as that name had allready been given out.
# June 16, 2004 6:05 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Check out Devlicio.us!

Our Sponsors

Free Tech Publications

This Blog

Syndication

News