About Phritz | [WiwiHome] |
What is Phritz?
Phritz is a lightweight, extensible MVC (Model View Controller) framework for web application development. The main goal and purpose of Phritz is to allow developers to create display independant, standard-compliant programs in PHP.
How does it work?
Phritz works by parsing incoming requests to determine the format of the request. These requests are then wrapped in a simple Request object that is passed to a specified Controller which then passes that request to the requested method. Responses are returned in a simple Response object that is passed to the View object that corresponds to the type of request made (i.e. SOAPView,RPCView, HTMLView, etc). The View object formats the response variables appropriately and displays the finished result.
What display types does Phritz support?
Currently, Phritz supports output in xHTML, WML, SOAP, XML-RPC, and AJAX(XML). I am also planning on supporting JSON and RSS.
What's the point?
The trends toward non-standard access of web data (i.e. not through a browser) are undeniable. The use of Web Services is increasing, creating "mash-up" websites that people can use to access the content of any number of other sites. Desktop gui applications such as Flock, Firefox, Thunderbird, etc. are increasingly utilizing the web services of sites to allow users to obtain data without ever loading a web page. In addition, the use of mobile browsers is increasing, forcing companies to rewrite entire applications to output WAP format instead of standard HTML. The goal of Phritz is to facilitate the move toward these trends by allowing developers to create applications that offer these web services and WAP compatible content without having to go through the hassle of coding them manually.
Don't Zend and other frameworks offer web services capability?
Yes and no. Like the Zend framework, many MVC frameworks have built-in SOAP and XML-RPC parsers that developers can use to code Web Services. However, The developer is still responsible for utilizing the library within the business logic of the application. Phritz is different in that no references to the type of request being executed exist within the business logic (i.e. the part of the application that's fulfilling a request such as view/edit a wiki, read a forum post, etc.). The business logic only knows the method called and the parameters passed, whether they are passed by GET/POST arguments, XML-RPC parameters or SOAP messages.|
Last modified: 21.09.06 by mrfritz379
|



