Is there a PHP equivalent to AJAX.NET for ASP?

Well lately I have been learning C#.NET and I just came across a framework called AJAX.NET or ASP.NET AJAX. This framework is very powerful in a way that it allows you to write everything in C#, even for client side code for user interaction/events. In a typical PHP application though, even with advanced PHP frameworks like Zend, Symfony and Laravel, you still need to write both PHP and Javascript, which is somewhat inconvenient for some programmers like me who aint good at using more than one programming language jointly in the same application. Okay I know for some of you this may seem strange, but think of a situation in which you are both the backend and frontend developer, rather than owning a large team consisting of both backend and frontend developers so this is not an issue…

If you do not know what AJAX.NET is, take a look at this wiki page. I’ve also provided two examples of AJAX event, which are coded in C#, not javascript:
http://en.wikipedia.org/wiki/ASP.NET_AJAX
http://ajax.net-tutorials.com/controls/updatepanel-control/
http://ajax.net-tutorials.com/controls/timer-control/

So I wonder, is there an equivalent AJAX framework for PHP so that you can write code in PHP rather than javascript, just like AJAX.NET? I know there is one called CJAX, its decent but still lacks some functionality. Another is Tigermouse, which has more features but is no longer under active development. Do anyone know anything other than these? If so, would you provide a link for me to take a look at? Thanks.

You can use cURL if you want your PHP script to function as a client of another server. It’s easy to install, and is probably supported by your hosting company. The hardest part is setting your request’s options using curl_setopt.

I dont think you understand what I was asking at all, but thanks anyway. Can anyone else help?

I did some searching using GWT a jumping off point, which is probably similar and more widely used to AJAX.NET.

I found these 2:

http://www.chipwreck.de/blog/software/coda-php/

I know nothing about them, other than what I skimmed through.

But, there are probably better ways to do your AJAX using jQuery. I don’t see any need in these web toolkits and dislike them quite a bit for adding a extra, unneeded, layer of nonstandard complexity.

Thanks for your comment. Its very interesting. The first one kinda looks like tigermouse, I dont know if its still under active development though but it looks good no matter what. The second is a bit more complex, I think its probably more suited for large commercial apps. Still, I appreciate your post, thanks again.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.