Giter Club home page Giter Club logo

artsy2's Introduction

artsy2

A suggestion of how the artsy folder structure could be

This project does not "run" it's just copy paste of code to showcase structure

Palette

We want to swift toward a less copy paste approach and have things developed once and reuse them.

You may be thinking:

"But why is copy and pasting a bad idea? My code works and I don't need to go around different folders, I can just quickly define things locally"

So, why is this a bad idea?

  • It does take up extra developer time to create components from scratch when we could just reuse them
  • It makes our code more prone to errors since all the component definitions need to be debugged in a case of a bug/error. Maybe we fix the component in one place where it's currently breaking but we forget to fix it in another place?
  • Same goes for Design changes. Let's say the Designer decided to change something we then need to go and find every locally defined component and update it, while we could just update it one time if it was defined in a central place of information

In sort: Extra development time, more errors, harder to update designs. Less cohesion between the project.

Solution: Atomic Design

We want to define components once and import them to whenever we need to use them.

Using an Atomic Design Pattern can help us structure that in an intuitive way instead of defining everything in a flat higherarchy.

How to think about atoms, molecules and organisms?

If it uses an atom, it's a molecule.

If it uses a molecule, it's an atom.

And so on.

These definitions are just there as a guideline and not supposed to be super strict.

Design as a Guideline

We also want to follow the same idea as we have on the Design, in Figma

Atoms: Buttons, radios, checkboxes, dropdown menus, input, icons, banners, tiles, pills

Molecules: headers, carousels, content, editorial

Atoms and Molecules are the suggested ones, but if we want to take it a step further we can also consider Organisms, Templates and Pages

Templates: auctions, fairs, galleries

Pages: Home, Fairs, Auctions, Sell With Artsy

artsy2's People

Contributors

patrinoua avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.