Re: AJAX and PHP
| From: | Nathan Rixham | Date: | Mon, 06 Oct 2008 13:29:27 +0000 |
| Subject: | Re: AJAX and PHP | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281477@lists.php.net to get a copy of this message | ||
Alain Roger wrote:
yes, flex is "flash for developers"; the main language is AS3 and it outputs swf's; flex is basically a program which allows you to use mix of pre-made ui elements & classes, css and AS3 to quickly make great RIA's. -- nathan ( nathan@kraya.co.uk ) { Senior Web Developer php + java + flex + xmpp + xml + ecmascript web development edinburgh | http://kraya.co.uk/ }Alain:The only difference the user experiences between having AJAX, or not, is refreshing the page. If page refresh is not a problem, then don't complicate your life. On the other hand, if page refresh is annoying, or not wanted, then AJAX is you're only solution.But as it has been said before, not all users have javascript turned on and as such AJAX will not work -- after all, it javascript.However, there are way to degrade gracefully from a AJAX site to a normal site. Google javascript graceful degradation" for references.Please note, going the AJAX route does not make your coding simpler -- it's a different critter. But it does (with help from jQuery et al) offer exciting new ways to present data.Cheers,teddthis is a standard response for me recently; but have you looked in to using flex 3 to build the clientside?additionally ajax's main benefit (in my mind) is that it allows you to pull down/update only the data you need, and not the whole page - often this means you can skip out a large part of the templating and make the php server side scripts so much lighter; very beneficial when polling. Other than that, as everyone has mentioned - it's mainly a cosmetic thing.-- nathan ( nathan@kraya.co.uk <mailto:nathan@kraya.co.uk> )Without mixing themes (flex in PHP forum) flex is similar to AS3, no ?