Note that there are some explanatory texts on larger screens.

plurals
  1. POObject-oriented design / architecture for a simple CRUD application
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COUnfortunately there's really no "correct" way to answer this. At best, I can recommend a book or two on object-oriented development. "Domain Driven Design" by Eric Evans is a good one for conceptualizing your business objects, for example. "Design Patterns" by Erich Gamma, et al (also known as the "Gang Of Four" book) is an in-depth examination of re-usable patterns in object-oriented designs. These are a _bit_ heavy for a beginner, but are great material. There's a _lot_ to learn and it can't really be encapsulated within a Stack Overflow question/answer.
      singulars
    2. COIf you try out a few things and identify what you think might be problems with those approaches, we can definitely recommend better approaches or help fix problems. Not just plain old code reviews, mind you. But things like: "Here's how I've written this class, but it feels messy and difficult to maintain. Is there a pattern that can improve the design?" or "This function is a serious performance bottleneck. What I'm trying to achieve is ___. Is there a more efficient way of doing it?"
      singulars
    3. CORight now I'm stepping back and defining the nouns. I have an user, a reviewer (who is a special kind of user), an expense header, and expense lines. I'm defining properties and methods on these. Since they have properties and methods, are these going to be objects in the application?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload