i have looked into design patterns and mvc and understand the basics of it.
but i don't understand if these classes that these patterns are constituted of are library classes or model classes.
i'm using codeigniter and don't know if i should put the classes in models folder or libraries folder.
the classes could be:
- observers and observable
- abstract factory class and all its concrete classes
- decorator, its core-component and the decorators
- adapter classes
- proxy classes
could someone shed a light on this.
i still don't understand how to "glue" these design pattern classes with the mvc framework.
btw, im using Doctrine ORM so my models folder have all data models for my database.
thanks.