Welcome Guest, Not a member yet? Register   Sign In
PHP5 SoapServer and Controllers Practice
#3

[eluser]fitchwh[/eluser]
There are a couple of issues with this. First, it violates the design of MVC. Models are used to interact with controllers for data access. They should not contain business logic, as that's what controllers do. Second, you are essentially doing the same thing I did. You loaded a class (a model in this case) which requires the same effort. One could have easily loaded a library, helper, or just included any class. You are missing the point.

Ideally, their should be a SOAPController as a substitute for Controller that handles the child requests. It should auto-generate the WSDL, allow customization of complex types, etc.


Messages In This Thread
PHP5 SoapServer and Controllers Practice - by El Forum - 03-18-2008, 12:57 PM
PHP5 SoapServer and Controllers Practice - by El Forum - 10-06-2008, 07:48 AM
PHP5 SoapServer and Controllers Practice - by El Forum - 10-06-2008, 08:02 AM
PHP5 SoapServer and Controllers Practice - by El Forum - 10-06-2008, 02:05 PM
PHP5 SoapServer and Controllers Practice - by El Forum - 10-06-2008, 03:03 PM
PHP5 SoapServer and Controllers Practice - by El Forum - 10-06-2008, 03:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB