ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Set-up Questions Regarding Templates/Groups

April 12, 2012 11:42am

Subscribe [2]
  • #1 / Apr 12, 2012 11:42am

    wbdzynr

    137 posts

    Hi All - I’m working on a fairly large “replacement” site that will have both an elaborate public and member’s only section.  I have been coming up with a list of template groups and templates, but wanted to get some feedback from my colleagues and friends on what would be the best route. 

    SCENARIO ONE:
    - /site ** this would be the “public” portion
      - (t) index
      - (t) blog
      - (t) join
      - (t) calendar
      - (t) contact
      - (t) search
    - /members ** this would be the “member” portion
      - (t) index
      - (t) library (for downloads and resources)
      - (t) alerts
      - (t) dashboard
      - (t) calendar
    .....

    The templates would contain Switch-ee statements that would show the “main” content (blog listing), or the “view” content (individual blog).

    SCENARIO TWO:
    /site ** this would be the “public” portion
    /blog
      - (t) index
      - (t) view
      - (t) results
    /calendar
      - (t) index
      - (t) view
      - (t) results
    ......

    BOTH SCENARIOS would also have a store - open to both the members and public

    My gut says/wants to use scenario one because I think it would be cleaner and keep designs and features separate from public/members (Yes, there are two separate designs).  Yes, the Switch-ee statements could make things confusing but I think I have planned through that.

    Anyway, I wasn’t sure if there is a performance reason to use one over the other. So I would appreciate ANY thoughts on this.

    As always, thank you in advance!!

    Todd

  • #2 / Apr 13, 2012 11:20am

    Man With A Peg

    124 posts

    My gut says/wants to use scenario one because I think it would be cleaner and keep designs and features separate from public/members (Yes, there are two separate designs).  Yes, the Switch-ee statements could make things confusing but I think I have planned through that.

    If I have learned one thing from my years of development, it is to (nearly) always take the cleanest approach possible. Project Creep is going to find you somewhere, someday.

    Even if the clean approach takes more time up front, it will save hours, days, weeks, and maybe months, later.

  • #3 / Apr 13, 2012 4:23pm

    wbdzynr

    137 posts

    Thanks Chris.  I know there are 101 ways to do something in EE, so I appreciate someone else’s opinion.

    Todd

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases