Plugging In (Part 3)

Just a note to say that after testing the new extension method in Garden, I haven’t noticed any slowdown in performance at all. All you Vanilla addon developers out there are going to love this.

Just a note to say that after testing the new extension method in Garden, I haven’t noticed any slowdown in performance at all. All you Vanilla addon developers out there are going to love this.
tease!
Does Garden have a dedicated Data layer. Motivation for this question is this link http://code.google.com/apis/gears/architecture.html forth image.
Essentially a data switch decides is the data is to be routed to the server data layer that then communicates with the server or it should be routed to the local data layer that communicates with the local server.
An architecture with a dedicated data layer is ideal for implementing Google gears offline functionality.
Well, that’s sort of a nebulous concept. Of course there are objects that handle data access. The Model in MVC, for example, handles most of the loading/saving of data. There are times, however, when the Control in MVC will get data as well for the sake of simplicity. I didn’t want to create a specific model for every single bit of db access like I did in Vanilla 1.
Beneath all of that, there is a database class that handles all requests to and from the database, so you could plug in at that point, too.