BoltZ Posted November 9, 2008 Share Posted November 9, 2008 Ajax for the sake of Ajax eh? Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-685848 Share on other sites More sharing options...
Mchl Posted November 9, 2008 Share Posted November 9, 2008 I have an application, where the client wants as little reloading as possible. So there it goes. Client's ID is enetred into one field, and once the user tabs out, the rest of the client data is loaded into page. And I must say it is faster than reloading a page, and also provides more smooth (dekstop application-like) experience. Â Another thing is, there are some forms, that get information from literally dozens of queries. Luckily not all information has to be visible at one time, because some of the tables are tabbed etc. With Ajax I can load information only for those elements that are visible at any one time. Less load on database is always good Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-685860 Share on other sites More sharing options...
BoltZ Posted November 9, 2008 Share Posted November 9, 2008 I'm becoming a huge ajax fanatic and I recently googled ajax powered forum software and afterlooking through tons of pages I totaled the number of forum softwares powered by ajax to only 2! And one of them totally sucks, they are like freewebs type crap, and the other one the demo link was broken and to download it you had to sign up on some site. No thanks. I may code an ajax forum. Take a long time but I would learn alot Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-685869 Share on other sites More sharing options...
.josh Posted November 9, 2008 Share Posted November 9, 2008 Just remember: all you have to do is disable javascript and then ajax no longer works. So when coding a site with ajax rich features, you are doing double the work, because you have to also code it the traditional way so your site can gracefully fall back to it. Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-685957 Share on other sites More sharing options...
Daniel0 Posted November 9, 2008 Share Posted November 9, 2008 Just remember: all you have to do is disable javascript and then ajax no longer works. So when coding a site with ajax rich features, you are doing double the work, because you have to also code it the traditional way so your site can gracefully fall back to it.  It's possible to do so the extra work required will be minimal. Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-685959 Share on other sites More sharing options...
GingerRobot Posted November 9, 2008 Share Posted November 9, 2008 Does anyone bother to use AJAX to reproduce the fluid browsing you get in firefox for IE? Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686044 Share on other sites More sharing options...
Daniel0 Posted November 9, 2008 Share Posted November 9, 2008 What do you mean? Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686048 Share on other sites More sharing options...
GingerRobot Posted November 9, 2008 Share Posted November 9, 2008 Take this page for example: http://newsvote.bbc.co.uk/1/shared/fds/hi/business/market_data/overview/default.stm  If you use the tabs (Overview, Stockmarkets, share prices etc) in firefox, then you only see that part of the page reloading. Try it in IE, and the whole page reloads. Perhaps something's just broken, but I see this sort of thing all the time. I would guess that firefox is doing some comparison of the old page and the new one. Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686050 Share on other sites More sharing options...
Daniel0 Posted November 9, 2008 Share Posted November 9, 2008 The whole page does reload in FF for me. Your internet connection is probably too fast for you to notice and IE sucks so much that it creates a noticeable lag in comparison to FF. Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686057 Share on other sites More sharing options...
.josh Posted November 9, 2008 Share Posted November 9, 2008 I notice the same thing as GingerRobot. I clicked over and over and over again and saw absolutely no visible flickers other than the actual tabs switching (FF), but full page reloads for IE. Google Chrome will initially load the page from that link, but if I try to click any tabs, it takes me to an error page, claiming the page doesn't exist. Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686073 Share on other sites More sharing options...
.josh Posted November 9, 2008 Share Posted November 9, 2008 Anyways, it's definitely not ajax. Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686076 Share on other sites More sharing options...
GingerRobot Posted November 9, 2008 Share Posted November 9, 2008 Hmm. Perhaps it's caching options then. I regularly notice this difference though. Â Anyways, it's definitely not ajax. Â That was kind of my point. It would seem (to me at least) firefox often negates the need for ajax to create a site that looks good as it loads. Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686077 Share on other sites More sharing options...
Daniel0 Posted November 9, 2008 Share Posted November 9, 2008 Maybe if you've got 20 Mbps like CV, but if you've got 1 Mbps like when then you can notice it. Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686091 Share on other sites More sharing options...
.josh Posted November 9, 2008 Share Posted November 9, 2008 haha don't be jealous. Actually, I recently downgraded to 10mbps. Still a lot better than 1mbps though Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686093 Share on other sites More sharing options...
.josh Posted November 9, 2008 Share Posted November 9, 2008 But anyways, if my connection was the determining factor, then why the noticibility between FF and IE? I too will put my chips on Ginger's theory about FF having some kind of advanced page caching. Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686095 Share on other sites More sharing options...
Daniel0 Posted November 9, 2008 Share Posted November 9, 2008 I'm guessing it's because Trident renders slower than Gecko does. Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686097 Share on other sites More sharing options...
GingerRobot Posted November 9, 2008 Share Posted November 9, 2008 I'm not convinced on the speed theory. I noticed this back home where I was on a slow connection too. Â Perhaps it's to do with this? It's the only interesting thing i can find regarding caching anyway. Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686106 Share on other sites More sharing options...
Daniel0 Posted November 9, 2008 Share Posted November 9, 2008 Hmm... yeah I suppose that internet speed is not a factor when it's first in your cache. However, the entire screen does flicker for me in FF. The only browser it doesn't do that in is in Opera (it somehow didn't want to load in Chrome for me). I definitely think it has to do with the speed of the rendering engine and benchmarks of those always show Trident as the loser. Â Even then, you're forgetting that the majority of people do use IE so it does not mean that there is no use for AJAX. Furthermore, AJAX can also decrease the load on the server. What do you think takes up less bandwidth? Sending back an entire new page or a small piece of e.g. JSON? Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686109 Share on other sites More sharing options...
corbin Posted November 9, 2008 Share Posted November 9, 2008 Entire page reloads in Chrome for me..... Â Â Only part reloads in Firefox 3. Â Â Â Didn't mean to start a 2 page long AJAX conversation x.x. lol Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686116 Share on other sites More sharing options...
GingerRobot Posted November 9, 2008 Share Posted November 9, 2008 All good points Daniel and I wont try to argue with them. I wasn't, however, trying to say there wasn't a place for AJAX. I happen to - for the most part - like AJAX rich websites; they generally feel much smoother and more like an application. I guess my point was that the browser has it's part to play in this too. Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686173 Share on other sites More sharing options...
BoltZ Posted November 9, 2008 Share Posted November 9, 2008 I just wish IE would die. Only thing I consider Microsoft good for is xbox Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686221 Share on other sites More sharing options...
corbin Posted November 9, 2008 Share Posted November 9, 2008 "Only thing I consider Microsoft good for is xbox" Â Â Â I think -- *doens't feel like getting into it.* Â Â Â Anyone else notice how often the "MS being crap" thing keeps coming up? Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686251 Share on other sites More sharing options...
Mchl Posted November 9, 2008 Share Posted November 9, 2008 I do. Well... they worked hard for it, but I must admit, that they show some progress Maybe some people think saying that MS is bad/evil/shitty/fat makes them look more "IT savvy" than average population? Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686258 Share on other sites More sharing options...
corbin Posted November 9, 2008 Share Posted November 9, 2008 "Maybe some people think saying that MS is bad/evil/shitty/fat makes them look more "IT savvy" than average population?"   Exactly. There's a group that thinks that badmouthing MS makes them cool. "M$ IS SHIT! Damn I'm cool! My linux friends must think I ownzor!"   Then there's the group that actually has reasons for not liking MS, which still are usually way overblowing things. That's the "Despite making very good and useful products that are used by millions of people daily, MS released 1 bad thing, so they suck. Ass."      *Bets 10 e-dollars that someone in response to my last statement says something like, "Yeah 1 bad product isn't bad, but Vista? That's an entire OS!"* Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686326 Share on other sites More sharing options...
ok Posted November 10, 2008 Author Share Posted November 10, 2008 Yeah i want to master AJAX too... Â That's one of my dream. Â Â Quote Link to comment https://forums.phpfreaks.com/topic/131289-aside-from-php-what-else-do-you-want-to-master/page/3/#findComment-686346 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.