Feeds:
RSS
Atom

If you are interested in the TYPO3 coding guidelines, you can download unofficial version in the end of the article. This version is not released officially by the core team. This is the same version that was approved by the joint meeting of TYPO3 community and TYPO3 core team at TYPO3 Developer Days 2008.

This is a draft document. While I did my best to make it correct English, there can still be typos and grammar errors. However they should not create any problems for reading.

The rest of this articles describes what happened to the coding guidelines and why they are not available officially to the community. You can skip the rest and proceed directly to the download below.

Why do I release CGL on my blog?

During TYPO3 Developer Days (T3DD08) TYPO3 community and TYPO3 core team discussed a new version of TYPO3 coding guidelines (CGL). Ingo Renner took responsibility to write and release coding guidelines ASAP. After half year time nothing happened despite many questions from the community. CGL is still not released.

I sensed that this work will never be done and prepared a draft of coding guidelines myself.  This draft was submitted to the TYPO3 core team for review on August 4th. There were few reviews. Notes mainly came from Ingo and they were like the following:

  • change "developer" to "you"
  • we done need to say bla-bla-bla because it is obvious to everyone

I disagreed to those points because:

  • technical documentation must use 3rd form. It is never “you” but always “he”, “she” or “user” or “developer”
  • CGL is normative. It is like a law. There is no such thing as obvious in this case. Everything must be stated clearly

There were other remarks from people but were more like spelling or grammar. But nevertheless CGL was never approved by core team for publishing. Discussion just faded away leaving community without CGL.

I decided to publish CGL here because people ask for it very often. Also it is not really fare to ask people to follow CGL without providing CGL to public.

Download

Click below to download unofficial version of the TYPO3 coding guidelines.

CGL.pdf

Like it? Then bookmark it! digg.comdel.icio.usgoogle.comMyLink.deYahooMyWebTechnoratiFurllive.comnetscapeTagThatWebnews

8 Comments

  1. on Tuesday, 21-10-08 09:05 Ingo
    Thanks Dmitry, you are a gem for the t3 community. BTW I like the book.
  2. on Tuesday, 21-10-08 09:21 Andy
    Why there was created new coding guidelines?
    TYPO3 coding guidelines already exists (http://typo3.org/documentation/document-library/core-documentation/doc_core_cgl/4.1.0/view/).

    Wh[..] is the reason?
  3. on Tuesday, 21-10-08 13:33 Fedir RYKHTIK
    Thank You Dmitry, this version is much more shorter :) Probably, it's possible to add some details.
  4. on Tuesday, 21-10-08 13:46 Fedir RYKHTIK
    PS As I understood, the document has another function than "Project Coding Guidelines", here it's more concentrated on development of Typo3-system/core.
  5. on Wednesday, 22-10-08 00:00 Dmitry Dulepov
    Andy, existing CGL document is old. We do not use it any more.

    Ingo, thanks ;)
  6. on Wednesday, 22-10-08 00:40 reto
    thanks for publishing ;)
  7. on Tuesday, 28-10-08 17:28 Patrick
    Dmitry, make this a RFC in sxw format and send it to CoreList.

    :)
  8. on Wednesday, 29-10-08 19:11 Dmitry Dulepov
    Patrick, it was send to core developers for review months ago. It is still there and no one knows when they will reach an agreement :(

Leave a Reply