Case in point:
EE 2 gives me an API for creating entries. I would rather use that than a SAEF for a few reasons.
1) More control over validation. I could use a framework like Zend_Form to control those forms and validation.
2) I want errors to be displayed *on* the form, instead of displaying a box with a list of errors. Do in case of a validation error, I would have the render the template out with the errors on it.
3) Would prefer this than to mess around with extension hooks. Those suffer from the same flaw that I’m trying to get away from.
The cleanest way to handle this in EE 1.x is to create a module action. But I would rather post to a URL than a meaningless ACT=xxxx. Also I don’t have to add something to the database everytime I need a script which accesses the EE environment.
Hooks have the same problem. It’s annoying to add a hook to the database everytime I need one. I just want to write code.
I overcame this in 1.x by writing a EE which hooks on to the earliest point (session_start maybe?) and added in hooks from a config file, but obviously I can’t use that for hooks at the point.