﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on Atlas weight issues: what am I missing?</title><description>Just to point out, you don't have to install anything to the GAC to use MS Ajax.
  
You just need to put System.Web.Extentions.dll in the bin folder.
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment15</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment15</guid><pubDate>Thu, 01 Mar 2007 09:57:00 GMT</pubDate></item><item><title>Ivan Porto Carrero commented on Atlas weight issues: what am I missing?</title><description>I have evaluated a lot of the ajax frameworks out there. Atlas lost my intrest in september because of the number of bugs.
  
  
I agree but it's a javascript library :) not something to get really excited about in general.. What I look for is collection handling, response times for ajax requests, possible date handling etc.
  
A good point for ms ajax is the way it can localize things properly and the fact that it adds a lot of value to the datetime object. As stated before the tight integration with json if you use their webservices. They extend a couple more types than prototype does.
  
And yes I also agree that there are far too many libraries out there that all do exactly the same.
  
  
Both libraries do the collection handling properly. 
  
  
My biggest problem is that I need to install something in the GAC to get ms ajax fully working.
  
  
I won compare with jquery for example because their way of doing things is just asking for trouble later on. They make it a little to functional in my opinion. Dojo is like an elephant that doesn't always work btw.
  
The library from yahoo is the one that i've used to extend prototype with controls or I wrote my own.
  
  
I will try to create a benchmark page over the weekend because it really interests me to know which one is the most interesting. For me the library doesn't matter it's the end product that has to benefit from it. And I want to get the best tool for the job.
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment14</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment14</guid><pubDate>Thu, 01 Mar 2007 09:29:21 GMT</pubDate></item><item><title>Ayende Rahien commented on Atlas weight issues: what am I missing?</title><description>Ivan,
  
You didn't offend me. And I would like to start a discussion. In the subject of ajax libraries, I am certainly would not consider myself an expert, and I would welcome any input.
  
  
About the several calendar controls, that was more an issue with the way I presented the information. Think about something like Outlook's calendar, where you have to display many items inside a calendar, not a date picker.
  
  
I generally don't have an issue with building my own stuff, I just want to make sure that I am not doing an NIH.
  
  
I much rather like it when people disagree with me, because then I can understand why. A world with a single point of view is a very boring world.
  
  
I would be the first to admit that I am probably biased. It is not that I don't think that MS Ajax isn't a good java script library, I find that is has some nice features, but I just don't see anything there to get excited about. Once again it goes back to "why do we need it over XYZ?"
  
The server side stuff is nice, but I am doing a lot more in the client side, and there I am running into limitations because the way I work and the way Atlas is designed are different. There is a lot more emphasis on events than on control flow, for instance.
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment13</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment13</guid><pubDate>Thu, 01 Mar 2007 09:01:51 GMT</pubDate></item><item><title>Ivan Porto Carrero commented on Atlas weight issues: what am I missing?</title><description>I would really have loved a delete button for the comments right after I made my first one
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment12</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment12</guid><pubDate>Thu, 01 Mar 2007 08:50:30 GMT</pubDate></item><item><title>Ivan Porto Carrero commented on Atlas weight issues: what am I missing?</title><description>Ayende,
  
  
I use prototype most of the time. I even put up a couple of widgets based on prototype.
  
I used the atlas client library long ago before I discovered castle. For me prototype has gotten to the place where I gather all the scripts with a handler compress them and render them out as one big javascript file because firefox takes ages to load otherwise.
  
  
I just found your dismissal of the atlas library pretty harsh and uncalled for. And I think you hold a lot of weight in the community so I wanted to give a counter weight.
  
I didn't mean to offend you or anything. And if I can quote you from one of your older posts where you defend the fact that in a project you were working on at that time you had a couple of different calendar controls because the ones out of the box don't do what you would like them to do. I didn't think it would make a difference for you to have to roll your own but a proper one then, one that fits your needs. Also I thought that comparison was also true for javascript components.
  
  
The calendar from the control tookit sure looks a lot like the one from component art which is also pretty heavy :)
  
  
I didn't really mean to start a discussion ;)  In general I take in what you write like cookies and milk.
  
  
Anyway I've been meaning to try atlas with castle.. hopefully i can get to it quickly  and I can get some homegrown benchmarks, I wouldn't hold my breath as I'm swamped for the moment. It made me curious as to which is faster and better.
  
I should have kept my mouth shut until I took the time to explore the ms ajax rtm library properly. And for that I apologize
  
  
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment11</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment11</guid><pubDate>Thu, 01 Mar 2007 08:48:45 GMT</pubDate></item><item><title>Ayende Rahien commented on Atlas weight issues: what am I missing?</title><description>Ivan,
  
Talking about the richness of the javascript library, I am liking prototype much better.
  
I am not seeing much in MS Ajax that excites me, to tell you the truth. The server side extenders are nice, but they are very focused on their scenarios, and I tend to find their limitations very quickly.
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment10</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment10</guid><pubDate>Thu, 01 Mar 2007 08:10:25 GMT</pubDate></item><item><title>Ayende Rahien commented on Atlas weight issues: what am I missing?</title><description>Thanks for letting me know about it, I posted the new finding here:
  
http://www.ayende.com/Blog/archive/2007/03/01/Atlas-Weight-Issues-Take-2.aspx
  
  
As far as I can see, the CalendarExtender is the one to blame here, and I have decided to drop it.
  
Just a note about prototype, after javascript clean (stipping comments, etc) the library is ~25Kb, and compressing that put me at ~15Kb.
  
It is then cached, both on the client and on http.sys
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment9</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment9</guid><pubDate>Thu, 01 Mar 2007 08:02:33 GMT</pubDate></item><item><title>Ayende Rahien commented on Atlas weight issues: what am I missing?</title><description>I would like to take exception to this:
  
  
&gt; Also nobody tells you you have to use the control toolkit.. you can do it the prototype way and build your own versions of them if
  
&gt; those aren't what you were looking for. Nobody says you have to use control extenders etc.
  
  
Um, if I am going to do it myself, what is the _point_ of using atlas?
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment8</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment8</guid><pubDate>Thu, 01 Mar 2007 07:00:39 GMT</pubDate></item><item><title>Ivan Porto Carrero commented on Atlas weight issues: what am I missing?</title><description>I have to agree with Scott here.
  
Atlas does add overhead to your page but not nearly as much as prototype and definitely scriptaculous.
  
I'm a prototype/scriptaculous user by the way.
  
I'm rather dissapointed that prototype is becoming such a slow beast and on top of it all it breaks other libraries like fvalidate for example.
  
  
IMHO ms ajax is a far better product than prototype is. But prototype is bundled with most of the popular MVC frameworks. Try handling json as easily in prototype as in ms ajax for example.
  
If you have a page that relies as heavily on prototype as the controls from the atlas controls toolkit do you will see that the prototype page is far slower than the atlas page.
  
  
I don't think your comparison is fair. Definitely with the calendar because that comparison should have been made with an equivalent prototype calendar.
  
  
MS does make a lot of mistakes but ms ajax isn't one of them.
  
Also nobody tells you you have to use the control toolkit.. you can do it the prototype way and build your own versions of them if those aren't what you were looking for. Nobody says you have to use control extenders etc.
  
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment7</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment7</guid><pubDate>Thu, 01 Mar 2007 04:07:30 GMT</pubDate></item><item><title>scottgu commented on Atlas weight issues: what am I missing?</title><description>If you have the &lt;compilation debug="true"/&gt; switch set in your web.config file, ASP.NET AJAX will send down debug scripts to the browser.  This has much more diagnostic information in them, and they will not be cached in the browser - which means they will be downloaded on each request.
  
  
When you set &lt;compilation debug="false"/&gt; the scripts will be both compressed and cached on the client.  The debug diagnostic spew is also turned off.
  
  
If you add a &lt;asp:scriptmanager/&gt; control's core script is about 14-16k compressed (and cached forever for your site).  You shouldn't see any slow-down with this (note: prototype's core library is now 75k).
  
  
Note that if you use FireFox to measure download size, it reports uncompressed size numbers and not the compressed versions - so that can throw you off.  JavaScript typically compresses to ~20% of the origional size.
  
  
One last thing to check - make sure the CalendarExtender was built in retail mode, and not debug mode.  In the current AJAX Control Toolkit drop it generates its JavaScript at build-time, and so if you have a debug version of the assembly you will have the uncompressed scripts.  I believe the update later this week of the toolkit switches this (since this is a common gotcha).
  
  
Let me know if you still have issues after this and I'd be happy to help.
  
  
Thanks,
  
  
Scott
  
  
  
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment6</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment6</guid><pubDate>Thu, 01 Mar 2007 03:34:37 GMT</pubDate></item><item><title>El Guapo commented on Atlas weight issues: what am I missing?</title><description>I am having the same problem.
  
  
It kind of defeats the purpose of being all ajaxy if the website is now slow.
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment5</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment5</guid><pubDate>Wed, 28 Feb 2007 21:38:15 GMT</pubDate></item><item><title>Andrex commented on Atlas weight issues: what am I missing?</title><description>CalendarExtender very strange control. We put 4 this controls on a page... It's nightmare. Page on load eat 100% processor for 10-30 sec. Each popup call eat processor for 5-20 sec. 
  
As result, I replace a CalendarExtender with simple javascript popup datepicker. 
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment4</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment4</guid><pubDate>Wed, 28 Feb 2007 20:58:45 GMT</pubDate></item><item><title>Symon Rottem commented on Atlas weight issues: what am I missing?</title><description>Do you have debug disabled in your web config?  We found that performance was way slower with Atlas scripts because it doesn't cache the scripts but instead downloads them again for every page.
  
  
May or may not be relevant.
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment3</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment3</guid><pubDate>Wed, 28 Feb 2007 20:56:59 GMT</pubDate></item><item><title>Ayende Rahien commented on Atlas weight issues: what am I missing?</title><description>This is the page size with the scripts, and I am certainly getting the debug scripts, I though that enabling compression would drop the size, but it didn't.
  
I also tried recompiling in release, and I didn't see any difference.
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment2</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment2</guid><pubDate>Wed, 28 Feb 2007 20:34:20 GMT</pubDate></item><item><title>Jesse commented on Atlas weight issues: what am I missing?</title><description>Is that the actual page size or page size including scripts? If that includes the scipts, you may be seeing the debug scripts.
</description><link>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment1</link><guid>http://ayende.com/2151/atlas-weight-issues-what-am-i-missing#comment1</guid><pubDate>Wed, 28 Feb 2007 20:25:38 GMT</pubDate></item></channel></rss>