[thelist] PHP, ASP.net, AJAX

Barry Woolgar barry at burnthebook.co.uk
Tue Aug 19 06:32:08 CDT 2008


Hello

No worries, although I'll admit up front that I've only recently got into
AJAX myself recently!

> Does this kind of interface slow down websites much?

Short answer is no. 
You're not reloading an entire page (which could entail several HTTP
connections, even if they just return "304 Unmodified"), just rewriting a
very small portion of it. Obviously you could introduce a bit of overhead
with the javascript - especially if you decide to go with one of the rather
large libraries that provide excellent AJAX interfaces - but this isn't
going to be noticeable except perhaps for the initial download of the
libary.

I really wouldn't worry about it until you start getting seriously large
traffic, or massively complex javascript :)

Of course, you should bear in mind that your site should continue to
function if javascript is disabled, which could mean having a manual form
submission route that gets disabled by a bit a javascript which then goes on
to tie all your function AJAX calls to the various elements.

Enjoy

Barry



-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Kevin Timmins
Sent: 19 August 2008 12:18
To: thelist at lists.evolt.org
Subject: Re: [thelist] PHP, ASP.net, AJAX

Hi Barry,
Thanks for your reply, yes that does help thanks, least I don't have to
learn a different server side language.
Does this kind of interface slow down websites much? mind you it will just
be one static page that updates small segments of itself right?
I am only just discovering AJAX and JavaScript today.
Thanks again
Kipper

--------------------------------------------------
From: "Barry Woolgar" <barry at burnthebook.co.uk>
Sent: Tuesday, August 19, 2008 12:09 PM
To: <thelist at lists.evolt.org>
Subject: Re: [thelist] PHP, ASP.net, AJAX

> Hello
>
>> I want to apply this to is my CMS that I am planning on building
>
>> which language in your opinion is better suited to this [the 
>> server-side
> portion of AJAX]
>
> It sounds like it would make the most sense to do the AJAX backend in 
> whichever language you code your CMS in. All your server-side code 
> will do is receive a POST/GET request and return some XML - the 
> javascript code won't know or care how the XML is created, just that 
> the response if a properly form chunk of XML.
>
> Hope that helps
>
> Barry
>
>
> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Kevin Timmins
> Sent: 19 August 2008 11:56
> To: thelist
> Subject: [thelist] PHP, ASP.net, AJAX
>
> Hi folks,
> I am looking to find out which language (or maybe another if you 
> happen to recommend one which is better) is better to use with AJAX 
> (or some other client side scripting better than AJAX if you happen to 
> know of one), PHP, or ASP.net I have prior experience with php, and I 
> also have experience with java if this helps at all, but I am looking 
> to create some really dynamic web pages. one thing I want to apply 
> this to is my CMS that I am planning on building, specifically the 
> design templates that I want to implement.
> sorry I am unclear on the information and what I want to do, but which 
> language in your opinion is better suited to this. I have no 
> experience of C, C# or C++.
> if you have any book suggestions that go from basics then that would 
> be good, Thanks in advance Kipper
> --
>
> * * Please support the community that supports you.  * * 
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester and 
> archives of thelist go to: http://lists.evolt.org Workers of the Web, 
> evolt !
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 270.6.5/1619 - Release Date: 
> 18/08/2008
> 17:39
>
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 270.6.5/1619 - Release Date: 
> 18/08/2008
> 17:39
>
>
> --
>
> * * Please support the community that supports you.  * * 
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester and 
> archives of thelist go to: http://lists.evolt.org Workers of the Web, 
> evolt !
> 
-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester and archives
of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! 

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.6.5/1619 - Release Date: 18/08/2008
17:39
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.6.5/1619 - Release Date: 18/08/2008
17:39
 




More information about the thelist mailing list