10-05-2009, 03:00 PM
|
#10 (permalink)
|
|
how quixotic are you?
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
|
Yes I liked how you accessed the libraries in CI, $this->lib->func() so I used that method in Dingo rather than static classes or $lib->func().
Other than that and the fact that is uses the MVC pattern, it doesn't have very many similarities.
Has anybody checked out the Dingo Talk library or the XSS helper? I know the XSS helper is not currently documented, but basically you can use it like this:
PHP Code:
$this->load->helper('xss'); $xml = 'test <a href="javascript:window.alert" title="wow. this /is/ awesome!">Link</a> <i onclick="alert(\'xss\')">test</i><p class="wow">Amazing</p><wow></wow>';
$d = xss::clean($xml);
var_dump($d);
The talk library is kinda an experimental way to easily add an API to your sites.
Also note that there is an issue with the email helper in version 0.3.0. I have fixed this issue and the new email helper will be included with version 0.4.0. If you want the fixed version before then (probably a month) just send me a PM.
|
|
|
|