Diwanee-FE / Diwanee-Boilerplate

3 stars 0 forks source link

Structure order suggestion #18

Open LollaManolla opened 8 years ago

LollaManolla commented 8 years ago

Based on files inside of Diwanee-Boilerplate

1. LIB or CONFIG folder name Should house this files:

2. SETTINGS or VARIABLE folder name Should house this files:

3. BLOCKS folder name / at the moment I don`t see anything that could go here

4. LAYOUT folder name Should house this files:

5. COMPONENTS folder name Should house this files:

5. PAGES folder name Not sure if it should have folders STATIC AND ARTICLES, but for now, leave it like that STATIC - all static pages (not sure why we need this but ok for now) ARTICLES - diaporama, vertical, horizontal, video, expert

5. TRUMPS or HACKS or OVERWRITES folder name

7.TRUMPS/HACKS/OVERWRITES Should house this files:

aleksandarbatin commented 8 years ago

Moj predlog za strukturu foldera :

  1. CONFIG / - sve ono sto sluzi za globalna podesavnja (reset, typography, baseConfig...)
  2. SETTINGS/ ili UTILITIES/ - svi pomagaci koje ti nudi sass (variables, mixins, helpers, functions)
  3. LAYOUTS/ - makro stuktura sajta (header, footer, container, sidebar...)
  4. BLOCKS/ - mikro struktura building blokcs gradivni elementi (teaser, article, media-objects, flags, mozaic...)
  5. WIDGETS / - dodaci u obliku nezavisnih za sebe postojecih preuzetih, dodatih komponenti (slider, pagination, breadcrumb, button...)
  6. PAGES/ main.scss