technically, PHP cannot do widgets on its own. To create widgets and use PHP to process requests between the client and server, you must use a Javascript structure (for example, JQuery UI). I personally use Zend / ZendX with jQuery and it works great. This is a great structure for small projects, but still uses good coding techniques.
In short, I would suggest you use the JQuery UI and just write the query handlers manually. It is much simpler and concise.
source
share