xoops forums

Mamba

Moderator
Posted on: 8/17 19:25
Mamba
Mamba (Show more)
Moderator
Posts: 11171
Since: 2004/4/23
#1

AJAX with Smarty

After experimenting with CRUD with AJAX, couple more experiments on AJAX with Smarty:

1) Using Smarty templates to generate JSON, XML, and HTML responses for Ajax requests

https://github.com/mambax7/ajaxsmartyibm

based on this IBM article: https://github.com/mambax7/ajaxsmartyi ... docs/wa-aj-smarty-pdf.pdf

2) AJAX-enabled Smarty plugins
https://github.com/mambax7/ajaxsmartyplugins

based on these two articles:
https://kpumuk.info/php/ajax-enabled-smarty-plugins/comment-page-1
https://kpumuk.info/php/ajax-enabled-s ... plugins-part-2-ajax_form/

I'm not sure how much it will be of use to XOOPS going forward, but it was an interesting exercise

Go fork them, improve them, and contribute back!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs