Link Details

Link 123274 thumbnail
User 226998 avatar

By polterguy
via ra-ajax.org
Published: Oct 08 2008 / 12:25

And finally we have an Ajax TreeView Control :)
  • 7
  • 8
  • 1996
  • 438

Comments

Add your comment
User 152955 avatar

Gregg Bolinger replied ago:

0 votes Vote down Vote up Reply

I think it is interesting a) how slow the demo is (might be server, not code) and more importantly b) a POST is used to GET the tree data from the server.

User 226998 avatar

polterguy replied ago:

-1 votes Vote down Vote up Reply

Hi Gregg, first of all Ra-Ajax is a Managed Ajax Framework which means that everything goes to the server. And it always uses POST requests to get its stuff. This might have some disadvantages like for instance creating larger requests and so on, though it also has a lot of advantages like for instance being able to retrieve the value from any control in any event handler for any widget. Effectively this is the reason why it is possible to create a stateful server-side Ajax Framework.

Second of all the server is in Norway and I know for a fact that according to some figures I've seen it will spend roughly about 180MS more in e.g. US to retrieve data than in Norway.

Though what *I* find really interesting is why you wanted to spend time telling us all this...?
If it was such a crappy TreeView why didn't you just "move on" and let others figure that out from themselves...?
What's your story?
Did you invest the last two years in jQuery,ExtJS, GWT or Silverlight?
Is Ra-Ajax in some way a "threat" to your profession or obsessions...?

Now when that's said on my laptop running against the server which physically is 170 Kilometres away from me I get when I expand all nodes in the treeview in order of appearance these figures according to FireBug;
58MS
48MS
46MS
46MS
58MS
49MS
And for the last one (which returns 500 nodes)
665MS

The last one is slow I can agree with you in regards to (though still only slightly slower than 0.5 seconds), but it is also by far the largest TreeNode sample I have ever seen in any online demo for an Ajax TreeView in my entire life.

And if you expect the first 6 nodes to be faster than its current average of roughly 55 milliseconds (0.05 seconds) then I really think you have unrealistic expectations...

And even if you add 180 milliseconds to the picture to accommodate for the fact that you might be far away from our server which is in Norway it is still by far faster than e.g. ExtJS, Telerik, Infragistics, Zapatec and every single online TreeView sample I have seen so far in my life...

Might be you can point me to some TreeView samples which is faster though...?

User 226998 avatar

polterguy replied ago:

0 votes Vote down Vote up Reply

Oh yeah, I almost forgot. The *ENTIRE* JavaScript size on that page (including Google Analytics) is 31KB. There is 13./KB of CSS and in total (including that HUGE image at the top) 84KB of download in total for the client...

Also according to FireBug it loads with a fresh cache in less than 2 seconds on my laptop (which though have a fast internet connection and is close to the server, but still...)

The last time I checked any online TreeView sample I couldn't find one TreeView implementation which had less than 150KB of JavaScript embedded, and the average was about 0.5MB of JavaScript...

So Gregg, I find it *really* interesting how you can say something like that when I can scientifically PROOF to you that it's one of the fastest TreeView implementations on the entire face of the Earth...
Though after following your profile at DZone I can understand it by looking at the stuff you're mostly (obviously) involed in, JME, Java, Struts, JavaFX, Spring, Griffon, Griffon, Griffon, PHP5, Sending mail with Java, SpringRPC etc...

I just hope everyone reading this understands your motives for lying about frameworks written in a programming language which is not "your programming language of choice"...

But show me a faster Ajax TreeView implementation written for Java (in fact ANY language) with less JS and a more robust code-model being more responsive on the same server configuration with the same amount of hops over the wire to reach the IP and I will EAT MY WORDS! In fact I will even give you $100 out of my own pocket if you manage to do this!

User 152955 avatar

Gregg Bolinger replied ago:

0 votes Vote down Vote up Reply

Wow, I didn't realize I lied. I said 2 things:

1) it seemed slow, and I even admitted that it was probably just the server
2) POST is used instead of GET

Which of those are lies? I was hasty with my down vote, I'll give you that, but after your nice little tirade, I think I'll leave it.

User 226998 avatar

polterguy replied ago:

-1 votes Vote down Vote up Reply

Sorry if I "tilted" it's just I am very used to people which for some reason dislikes .Net or loves x, y or z (put in favorite NON-Ra-Ajax framework) are spreading lies about Ra-Ajax for some reasons...
PS!
http://ra-ajax.org/comparing-the-performance-of-the-different-ajax-treeview-controls-in-this-world.blog
Have a nice day :)

User 90512 avatar

whartung replied ago:

0 votes Vote down Vote up Reply

You have GOT to be kidding me.

Gregg says "I think it is interesting a) how slow the demo is (might be server, not code) and more importantly b) a POST is used to GET the tree data from the server."

Commenting, obviously, on his subjective experience using this control.

But no, you don't take "how slow the demo is" as a commentary of Gregg's experience running this demo, but rather as some kind of attack on you.

From "how slow the demo is" you intuit that Gregg has an agenda. A secret, evil agenda, and that every word he says is really nuanced and laced with double meaning in that light. From this little message you seem to have discovered that Gregg hates RIAs, Ajax, JavaScript, The Internet, TCP/IP, .NET, Windows, Microsoft, Bill Gates, Washington State, the ENTIRE Northwest of the United States, YOU, your family, your ancestors (your Mom especially, it's always about Mom), your dog, the main course you had for dinner last night, and whatever heap you drive for a car.

Oh, and Gregg is probably a Climate Change denier and Flat Earther as well.

And, of course, Gregg is a liar. Mustn't forget that detail. He's deranged, perhaps uninformed, maybe midguided and, oh yeah, a liar. Bald face liar. He lies for profit. He lies for fun. Specifically, he lies about you and your work. He woke up this morning and surfed all of the internet, because he had a lie all dreamed up -- just for you. Today you're the lucky one that Gregg chooses to lie about. How fortuitous for Gregg that you posted today, being as he had the lie all set up and burning a hole in his pocket.

Boy, I bet he's sorry now, what with that kettle of blogging whoop-ass you just poured out in rage.

Because we all know that there is no reasonable explanation for what Gregg experienced. Nope. None whatsoever. The beauty of the Internet is it's the Same Everywhere, so whatever you see is what I see and what Gregg sees. I love the internet for its perfection. Just as I love all of the other perfect pieces that mesh and work perfectly for that perfectly perfect Tree Control experience that you so perfectly constructed, using the most perfect of tools and code and servers and $500 "Audiophile quality" network cables, triple purified perfect power in that perfectly climate controlled data center.

Thank you for showing the truth of the Darkness that is Gregg.

Have a perfect day....

User 226998 avatar

polterguy replied ago:

0 votes Vote down Vote up Reply

Interesting profile you've got ... ;)
For those not seen it Whartung has three activities where the comment above probably counts for 98% of his dzone life... ;)

User 152955 avatar

Gregg Bolinger replied ago:

0 votes Vote down Vote up Reply

Well, thanks for taking the time to write a blog entry and making me the point of focus on a number of really false accusations about how I feel towards other languages. I don't appreciate that at all. Again, I made two small comments that had absolutely nothing to do with your chosen technology (.NET). I would have made the same observations about it regardless of if it were Java, PHP, .NET, etc.

You are choosing a very hateful path and have chosen to lash out on me, for whatever reason. You said that I said (because you put it in quotes) "he couldn't believe how slow". I never said that. My exact words were:

"I find it interesting a) how slow the demo is (might be server, not code)..."

You know what. Just stop. And I'll stop. And we'll call it a day.

User 111696 avatar

bloid replied ago:

1 votes Vote down Vote up Reply

I'm voting this down mostly due to polterguy's appalling attitude

Still no improvement from when you were pimping Gaia AJAX controls eh?

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.