Symfony Coding standard

Discussion in 'PHP' started by helphelp, May 13, 2010.

  1. #1
    Where do I find symfony coding standard documentation?

    Please let me know if you have the doc
     
    helphelp, May 13, 2010 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    What version? It's hard to answer that question without knowing exactly what you are referring to. Realistically with any framework, you should work within the framework and not try to go outside of it unless there is some missing functionality.

    With MVC (related to symfony in this description), the standard is basically, put your html related files in the templates folders. Handle querying and logic in your actions. Handle your database abstraction in the model (Propel or Doctrine takes care of this). Handle your back-end authentication, security, routing etc, in your controller. This is like the 50,000 foot view of it. If you are wanting to know something specifically, post it up.
     
    jestep, May 13, 2010 IP
  3. Panzer

    Panzer Active Member

    Messages:
    381
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #3
    The symfony documentation for 1.X is located here. Documentation for 2.x is located here.
     
    Panzer, May 14, 2010 IP