Skip to content

Commit

Permalink
posted one more of theo's questions
Browse files Browse the repository at this point in the history
  • Loading branch information
seanhess committed Oct 21, 2009
1 parent 8df5f8b commit a30de5d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/FAQ.mdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

No. MVC is a _pattern_ that helps you design an application in a time-tested way of separating concerns. MVC _frameworks_ help you implement the pattern in a particular way. Zero is a set of tools that could be used to follow MVC easily, or to create an MVC framework. You could also use an entirely different approach.

### From Reviewers
### From Reviewer A

> I've read through the Zero readme a few times now, and I don't get it. I'm not trying to be rude, I really, truly don't understand what you are trying to do. I don't get what problem Zero solves, I don't get what it does and I don't get how I should use it.
Expand All @@ -35,6 +35,10 @@ Yes, you're right. But you can give `DLibrary` something much more complicated t

The second reason is that in `DLibrary`'s case, it is getting a singleton-esque instance (like a mate manager). You use `Factory` instead of `Implement` to create a new instance every time.

> There seems to be some idea of doing interfaces without interfaces, which I don't understand the motivation behind at all. If this is (and I'm not sure it is) a way to avoid using interfaces, it's extremely convoluted. If you just want to destroy type information * already does that.
I'm trying to add features to interfaces. I want to keep type information. If I wanted to destroy it, I could just type everything as * and be done. If you think of DependencyInterfaces as replacing interfaces, they're not that hard to use.

### What do the following terms mean?

* _interface_ - An interface is a way to describe _what_ an object does, without describing _how_ it does it. Object-oriented languages usually have an `interface` keyword that lets you define an interface explicitly. Zero allows you to describe an interface a different way, using another object, called a DependencyInterface.
Expand Down

0 comments on commit a30de5d

Please sign in to comment.