Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1772 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Other Programming Languages :

Your thoughts on AJAX? Is it worth it?

Thread title: Your thoughts on AJAX? Is it worth it?
Reply  
Page 1 of 2 1 2 >
    Thread tools Search this thread Display Modes  
07-06-2008, 10:44 PM
#1
HBZSoftware.com is offline HBZSoftware.com
Status: I'm new around here
Join date: Jul 2008
Location:
Expertise:
Software:
 
Posts: 6
iTrader: 0 / 0%
 

HBZSoftware.com is on a distinguished road

  Old  Your thoughts on AJAX? Is it worth it?

We've been developing with CakePHP and have considered using AJAX to improve usability.

However, for something like AJAX comments, is it really worth the 150kb of AJAX libs the user must load? (jQuery, Scriptaculous, Prototype)

Reply With Quote
07-07-2008, 04:07 AM
#2
cpf is offline cpf
cpf's Avatar
Status: I'm new around here
Join date: Dec 2007
Location: Canada
Expertise:
Software:
 
Posts: 23
iTrader: 0 / 0%
 

cpf is on a distinguished road

Send a message via MSN to cpf Send a message via Skype™ to cpf

  Old

I'm guilty of indulging in scriptaculous, and I believe that, if used well, it is worth the extra downloads. I'm thinking just for AJAX comments, you could do the same thing with about 1/10th of that file (most of the effects, etc you do not use).
However for pages with more extensive use of AJAX/JS in general, the full library would be justified. Pages that, IMO, are justified for prototype (and such) are pages with many tedious fields to fill (password...) like signup forms, where the user doesn't want to wait for the page to reload to know that the username is took, or that their passwords do not match.

Reply With Quote
07-16-2008, 02:00 AM
#3
v-a-l-o-r is offline v-a-l-o-r
v-a-l-o-r's Avatar
Status: Member
Join date: Jul 2008
Location:
Expertise:
Software:
 
Posts: 100
iTrader: 1 / 100%
 

v-a-l-o-r is on a distinguished road

  Old

Definitely. Alot of web users (not developers) are drawn to the factors and thats one of the main factors that makes a site popular. Additionally they can save you alot of code writing.

For example if you want to have input values change and such (i.e. like the login panel in the left when you are logged out), in html the long code will look like the following:
Code:
<input value="username" onfocus="if (this.value == 'username') {this.value = '';}" onblur="if (this.value == '') {this.value = 'username';}" type="text">
Now if you are using jQuery lets say, the html is shortend to the following:

$(document).ready(function() {
$('.field').click(
function() {
if (this.value == this.defaultValue) {
this.value = '';
}
}
);
$('.field').blur(
function() {
if (this.value == '') {
this.value = this.defaultValue;
}
}
);
});


HTML:
<input type="text" class="field" name="username" value="username" />
Ofcourse you have to declare it prior but cleaner HTML code.

In todays day and age, almost everyone has fast internet and if they don't, then most likely they aren't worth the trouble, thats my take on it.

Anyways libraries can be used to add effects that make a site more interesting.

Reply With Quote
07-19-2008, 02:01 AM
#4
infinivert is offline infinivert
infinivert's Avatar
Status: Junior Member
Join date: Jul 2008
Location: Abilene TX
Expertise: Design, PHP, JS, HTML5, CSS3
Software:
 
Posts: 37
iTrader: 0 / 0%
 

infinivert is on a distinguished road

Send a message via AIM to infinivert

  Old

I just spent a good bit of time building a custom simple CMS system, and I used a good bit of AJAX (Prototype / Scriptaculous) in the back-end interface, and it has made a huge difference in usability.

You have to think that your users aren't really worried about how much data they're downloading. They're thinking about time. So a page with some strategic AJAX controls may take a few extra seconds to load initially, but the way AJAX lets users continue to work on other parts of a page while form data is submitted actually saves them time.

I've definitely seen AJAX misused, but I think that if it is used wisely, it can make life easier on your users, and that's the point.

--Josh

Reply With Quote
08-26-2008, 07:53 PM
#5
Raphy is offline Raphy
Raphy's Avatar
Status: Member
Join date: Aug 2008
Location: Boca Raton, FL
Expertise:
Software:
 
Posts: 146
iTrader: 4 / 100%
 

Raphy is on a distinguished road

Send a message via AIM to Raphy Send a message via MSN to Raphy Send a message via Skype™ to Raphy

  Old

AJAX stopped being a nice thing to have but a necessary web platform that needs to be used otherwise your left behind the curve. Reloading / refreshing is old.

Reply With Quote
08-26-2008, 08:25 PM
#6
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

The correct and proper use of AJAX (and the recognition of using such a combination of technologies) was indeed a worthwhile step forward (introducing a number of backward stumbles as well!) for the web and it would be silly to ignore its place in today's web technology sphere. That said, perhaps the original poster could do with a little sideways thinking (or, indeed, directly under your feet thinking) since the main cited problem against using AJAX is simply that one "must" (over)load the web site with large libraries. The solution? Just don't use those large libraries! (Not really an inspired piece of advice but worth making note of.) There are countless alternatives (including the old home-brew approach) available to provide a firm base for rapid AJAX development which might require a couple of kilobytes or less cf. those larger frameworks.

If you really want to make use of the larger frameworks, there are a whole heap of performancing steps which can be undertaken to help reduce some of the problems encountered in the past (large library size included) if you're interested.

Reply With Quote
08-29-2008, 07:28 PM
#7
ditch182 is offline ditch182
Status: Junior Member
Join date: Jul 2008
Location: NC
Expertise:
Software:
 
Posts: 70
iTrader: 0 / 0%
 

ditch182 is on a distinguished road

  Old

I tend to think that AJAX is overused. Certainly it has it's place, and can make real improvements to usability. But, I think it's just become another buzzword, and people throw it in anywhere they can. I've actually had clients say they want AJAX, even though they don't know what it is.

Reply With Quote
03-02-2009, 03:14 AM
#8
doltter is offline doltter
doltter's Avatar
Status: I'm new around here
Join date: Nov 2007
Location:
Expertise:
Software:
 
Posts: 24
iTrader: 0 / 0%
 

doltter is on a distinguished road

Send a message via MSN to doltter Send a message via Yahoo to doltter Send a message via Skype™ to doltter

  Old

infact, the ajax is very simple. why you use the lib of jquery or something? I just use myself ajax framework. simple and easy.

Reply With Quote
04-04-2009, 05:13 PM
#9
djdeth is offline djdeth
Status: I'm new around here
Join date: Apr 2009
Location:
Expertise:
Software:
 
Posts: 5
iTrader: 0 / 0%
 

djdeth is on a distinguished road

Send a message via AIM to djdeth Send a message via MSN to djdeth Send a message via Yahoo to djdeth Send a message via Skype™ to djdeth

  Old

If you are concerned about file size, then don't use a framework. Otherwise I would recommend jQuery.

Reply With Quote
04-10-2009, 06:48 AM
#10
vipdistinct is offline vipdistinct
Status: I'm new around here
Join date: Apr 2009
Location:
Expertise:
Software:
 
Posts: 14
iTrader: 0 / 0%
 

vipdistinct is on a distinguished road

  Old

Yeah, I don't think it's necessary that you have AJAX on there. But then again it really depends on what the website is for and who your target audience is. If this audience is someone who is used to seeing and using websites with AJAX then you might consider it.

Reply With Quote
Reply  
Page 1 of 2 1 2 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed