Hi Björn! On 01/31/2008 10:59 PM Björn Dieding wrote:
> I think other output formats should be included too. > > http://en.wikipedia.org/wiki/JSON JSON Buildin for Ajax Since the output will completly be abstracted, you can easily create a view-manager that spits out JSON. > Also if the MVC can handle web services we should also think about > WDSL http://en.wikipedia.org/wiki/Web_Services_Description_Language I don't see, why we should have a requirement to looks at WSDL here. If you want to implement a view-manager that renders a webservice output, you can write that. If you need a router for WSDL this should be possible to write on basis of the input abstraction, too. Any reason I missed for looking at WSDL? > What about forwarding from one module to another or this job of a > controller/action? Yes. There are no modules. What you refer to as a "module" is called "controller" in terms of MVC, I guess. "Module" is a term from procedural programming, AFAIK. > Please make sure that module have easy access also to the http > response header. Maybe the response header can be it`s own php object > that follows the rules of the RFC. I attached a patch I had once for > eZ Publish. This is also a point for a view-manager. We won't provide any complex implementation of the design we are going to be created, but you should easily be able to implement something that fits your needs on the architecture basis. > Hmmm I am also thinking about http streams I think a module should be > also able to either support buffered or unbuffered responses. This is a point we should discuss. What do you exactly have in mind here? Modules should currently only generate an abstract output object and rendering should be left to the view-manager. However, you could put a stream into you output object and write a view-manager, that performs (un)buffered output. Is that in your sense? > When a module returns output we should also try to set something like > the content length header automaticly. That is usually done by your webserver. Regards, Toby -- Mit freundlichen Grüßen / Med vennlig hilsen / With kind regards Tobias Schlitt (GPG: 0xC462BC14) eZ Components Developer [EMAIL PROTECTED] | eZ Systems AS | ez.no -- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
