mlange Posted March 30, 2006 Share Posted March 30, 2006 I have been working on a PHP MVC framework for a while and have come across some questions that I can't seem to answer for my self.Now ... here is an explanation of the basis of the framework.Model:Handles all of the data manipulation -- DB abstraction, retrieving remote xml feeds, crypto and so on.Control:Pipes all the requests to the proper places and data back to the proper View parsers. For the most part it's all gateways such as an HTML gateway, AJAX/JSON gateway, AMFPHP gatewayView:This is very broken up because it can be handled by PHP templates, Flash, JavaScriptNow here is where things get fuzzy :)XML output from the PHP framework. Technically in the grand scheme you would think this was Data from the model being sent thru the controller to whatever view will end up using it (for example Flash/AJAX). But it leaves the PHP system in the same manner as html would from the server side.So what is this? Is it model data or view?I believe hearing other points of view may help me design this better. Thanks in advance for the input Quote Link to comment Share on other sites More sharing options...
mlange Posted April 2, 2006 Author Share Posted April 2, 2006 no one has any feed back on this? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.