资 源 简 介
A small yet powerful framework for building ajax-enabled widgets using HTML templates and the Prototype Javascript framework.
PWF helps you build reusable widgets using nothing but standard HTML, CSS and Javascript.
Features
A set of easily extendable widget templates
Built in server actions using asynchronous Javascript and JSON
Widget UI design using html templates and CSS
A server-side reference implementation of widget actions for PHP
Requirements
Any dynamic server side scripting language capable of returning the following JSON response (implementation for PHP is provided):
Successful outcome of Ajax action
{"outcome": 1}
Unsuccessful outcome of Ajax action
{"outcome": -1, "errorMsg": "unable to perform action"}
Pros