<ponder>
Did some philosophical pondering about finding helpful ZF examples over
the weekend after my latest round of trying to cull a problem via a
multitude of searches.
At present, it seems to me, there are so many sources attempting to
resolve basic problems that a working solution amongst many that don't
work, once found, has some doubt attached until the developer proves it
works. For a recent example, I tried a simple dojo form with a button
that provides an onClick event which gets data via an action: the
solution came from one example out of 107: sevaral examples were proven
not to work, and it wasted 2-3 days for what in non- framework coding is
a trivial matter. Many sources are old (2008/9) and often irrelevant to
V1.10. With the coming of v2.0, greater use of HTML5 and AJAX, and the
obvious speed of ZF's evolution it doesn't seem the scenario will get
any better. This scenario can be especially off-putting to those trying
to enter ZF based development.
Although ZF documentation continues to improve it also continues to
suffer from small time-wasting absences - like the file example code
belongs to (as do many forum posts and third-party examples). Not a big
issue for ZF gurus and fans but often irritating for others.
I wondered if a simple fix would be to provide a place for third-party
examples. Contributors could enter full examples duly categorized within
a hierarchy (say, ZF->getting-started->non-modular-start-up;
ZF->getting-started->modular-start-up; ZF->Dojo-getting
started->applying AJAX...). With each third-party example listing
applicable ZF versions, a full explanation and following a structure
including folder hierarchy (not simply "place x in Bootstrap.php" -
useless between non-modular and modular projects), it would provide a
one-stop source of great assistance to "newbies" and a regular reference
for more seasoned developers. Of course, variations of a theme will
arise but the point is that a central place for examples will save lots
of frustration and enhance the take-up of ZF.
Sure, there are some good example site's like that of MWO - but sorting
the wheat from the chaff from all the sites available can be somewhat
difficult. A central place would fix that.
</ponder>
Mike A.
- [fw-general] Would a contributor ZF examples/tutor... Mike A
-