SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Spirit Coder allspiritseve's Avatar
    Join Date
    Dec 2002
    Location
    Ann Arbor, MI (USA)
    Posts
    648
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Directory structure questions

    The usual /controllers /models /views directory structure doesn't really work for me, and I'd like something more fine-grained. For instance, do data mappers go along with domain objects in /models? Do templates go along with views in /view? Should there be module structures within each MVC folder (as I believe rails does?), or should each module be broken down into MVC (as I believe ZF does?). Is admin a module inside the main application, or is it a separate application with its own equivalent directory structure?

    I realize there are no best answers for these questions... maybe people could just respond with their own directory structure so I can get some ideas.

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    Spirit Coder allspiritseve's Avatar
    Join Date
    Dec 2002
    Location
    Ann Arbor, MI (USA)
    Posts
    648
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks... guess I missed that one.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •