nerVo schrieb:
But in a more advanced way of using ZF for developping web application,
soon or later, some components like automatic datagrids or automatic
forms will emerge.
And that's not the only reason.
If you think about it, in most cases, a web application consists in
manipulating datas from user to database, and from database to user.
But database is not the only data connector in the scene. I think about
xml, rss, php arrays, csv files, etc...
I was pondering similar things, but I am not really sure if having all
those adaptors extend from a common base class is the way to go. I'd
rather define an interface that includes methods most commonly used in
data retrieval / updating, like search(), save() and the likes... you'd
also need some means of iterating over the collections, thus a
collection object returned by, for example a search() method could just
implement a standard SPL iterator.
What do you think?
CU
Markus