tag:blogger.com,1999:blog-28215292.post5312281198594322047..comments2024-01-25T00:21:38.018+01:00Comments on DragonBe's PHP blog: Zend Framework context switching for HTML contentM. van Damhttp://www.blogger.com/profile/12610668749799675317noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-28215292.post-41633789550603491802012-03-26T14:20:52.979+02:002012-03-26T14:20:52.979+02:00Do this code runs under all PHP 5 modules.Do this code runs under all PHP 5 modules.Zend Frameworkhttp://techiesindiainc.com/noreply@blogger.comtag:blogger.com,1999:blog-28215292.post-65801886015801717012010-07-06T20:43:12.547+02:002010-07-06T20:43:12.547+02:00There seems to be a simpler method
in init() of c...There seems to be a simpler method<br /><br />in init() of controller put<br /><br /> $AjaxContext = $this->_helper->getHelper('AjaxContext');<br /> $AjaxContext->addActionContext('index','html')<br />)<br /> ->initContext();<br /><br />Then write ajax request handling code in index.ajax.phtml fileRahulhttps://www.blogger.com/profile/09427045222410881528noreply@blogger.comtag:blogger.com,1999:blog-28215292.post-26649845729708546582010-05-25T19:05:14.571+02:002010-05-25T19:05:14.571+02:00@Hire PHP Programmer,
You're more then welco...@Hire PHP Programmer,<br /><br /><br />You're more then welcome to publish your services on my blog, but then we need to negotiate advertisement fees and stuff like that, for which I don't have the time for.<br /><br />If you have a true commitment to the community, post something valuable like code samples and add a link to your company at the bottom. But stay on topic.M. van Damhttps://www.blogger.com/profile/12610668749799675317noreply@blogger.comtag:blogger.com,1999:blog-28215292.post-58731017632718854902010-05-25T15:34:15.300+02:002010-05-25T15:34:15.300+02:00This comment has been removed by a blog administrator.Hire PHP Programmerhttp://www.cattechnologies.com/offshorePHPDevelopment.aspxnoreply@blogger.comtag:blogger.com,1999:blog-28215292.post-59417411436587941362010-04-19T10:37:56.035+02:002010-04-19T10:37:56.035+02:00@PHPGangsta,
Glad to have inspired you. Once you...@PHPGangsta,<br /><br /><br />Glad to have inspired you. Once you've build stuff yourself, blog about it and share the knowledge.<br /><br />@Shahar,<br /><br />Thanks for the jQuery load() hint, I didn't know about it but I'm sure going to use it from now on.M. van Damhttps://www.blogger.com/profile/12610668749799675317noreply@blogger.comtag:blogger.com,1999:blog-28215292.post-17069257456794764572010-04-17T15:22:01.345+02:002010-04-17T15:22:01.345+02:00Pretty useful article - thanks! I'm working on...Pretty useful article - thanks! I'm working on something similar these days and I think this will help me a lot :)<br /><br />BTW jQuery offers an even shorter API to AJAX-load HTML content into a container you could do something like:<br /><br />jQuery('#' + placeholder).load(link);<br /><br />Instead of most of the code in loadData()<br />- see http://api.jquery.com/load/Unknownhttps://www.blogger.com/profile/16467283378919943182noreply@blogger.comtag:blogger.com,1999:blog-28215292.post-44163592504523370902010-04-17T12:14:46.272+02:002010-04-17T12:14:46.272+02:00Thanks DragonBe for your article, I didn't kno...Thanks DragonBe for your article, I didn't know ZendX_JQuery yet and it seems to be a nice solution here. I also like your loadData() function, short and easy.PHPGangstahttp://www.phpgangsta.denoreply@blogger.comtag:blogger.com,1999:blog-28215292.post-51584040061479670342010-04-16T03:40:56.943+02:002010-04-16T03:40:56.943+02:00@Nate
Don't let Supreme Allied Commander @wei...@Nate<br /><br />Don't let <a href="http://weierophinney.net/matthew/" rel="nofollow">Supreme Allied Commander</a> <a href="http://twitter.com/weierophinney" rel="nofollow">@weierophinney</a> hear ya :-pM. van Damhttps://www.blogger.com/profile/12610668749799675317noreply@blogger.comtag:blogger.com,1999:blog-28215292.post-1715280058555467412010-04-16T03:22:24.356+02:002010-04-16T03:22:24.356+02:00So if you want cleanly-separated event bindings, d...So if you want cleanly-separated event bindings, don't use Zend Framework? ;-)Nate Abelehttp://lithify.me/noreply@blogger.com