Easy Way to Create Dynamic Flash Charts

For the Javascript Framework performance comparison I needed a good quality bar chart so I got my Microsoft Excel to do the work (as you can see quite good) however if you need to do some quick changes or to dynamically generate charts the answer is Open Flash Chart. It has a good API including .Net, PHP, Java, Perl and other languages support. Documentation is not great but enough to do your work. I played around with it loading data from .txt file and got the performance chart bellow easily done

Cool huh !!!

February 26, 2008 · Peter

Xedunism is Alive – My Second WordPress Theme

Finally this blog has some decent look. After 2-3 days of coding xhtml/css and playing around with the few graphical elements this theme went public under the name Xedunism – Cheerz! I know it is not very colorful but I wanted a nice, clean and easy to read layout. I hope you like it and if you have any comments please drop me a line :)

Legal stuff:

There are still bits and pieces from Kubrick Theme so – http://binarybonsai.com/wordpress/kubrick/

Floral element (top right) comes from – http://ro-stock.deviantart.com/art/Floral-Deco-Brushes-2-54001452

RSS Icons are from the Oxygen Icon Theme – http://www.oxygen-icons.org/

If there are any licenses i have broke please contact me and i will take the needed measures.

Thanks

February 25, 2008 · Peter

Dojo vs JQuery vs MooTools vs Prototype Performance Comparison

Updated: (MooTools vs JQuery vs Prototype vs YUI vs Dojo Comparison Revised)[/javascript/mootools-vs-jquery-vs-prototype-vs-yui-vs-dojo-comparison-revised]

As part of my Mootools lecture at Codecamp I showed a brief speed comparison between the most used Javascript Frameworks running in the major browsers. Now as the Mootools team has extended their performance test tool (slickspeed) it is time to revise my benchmarks and extend them over more browser/platforms.

Test results (Lower is better):

Speed Comparsion Graph

*For example FF (XP-NA) is Firefox 2.0.0.12 with no addons (extensions) enabled running under Windows XP

You can check the actual numbers (in ms) and the full browsers information in the table bellow:

Dojo 1.0.2 JQuery 1.2.3 MooTools 1.2beta2 Prototype 1.6.0.2
Mozilla Firefox 2.0.0.12 – no addons – winxp 128 266 115 259
Mozilla Firefox 2.0.0.12 – winxp 144 290 127 260
Mozilla Firefox 2.0.0.12 – linux 253 438 255 384
Opera 9.26 – winxp 32 136 148 194
Opera 9.26 – linux 110 188 238 364
Internet Explorer 7 – no addons – winxp 263 330 662 1563
Internet Explorer 7 – winxp 264 334 674 1583
Internet Explorer 6 387 600 945 2279
Internet Explorer 6 – linux (wine) 692 978 1310 2616
Safari 3.0.4 Beta 3 – winxp 36 76 84 116
Konqueror – linux 324 450 X X

Conclusions:

  • Safari under Windows XP is really blazing fast
  • Mootools and Prototype JS do not work under Konqueror (KDE’s default browser)
  • Dojo performs great. If we take only these test into consideration it safe to say it is the fastest Javascript Framework
  • Linux browsers are relatively slower against their Windows versions
  • Prototype is insanly slow under Internet Explorer

Disclaimer: This benchmark is somehow subjective because the test results depend on the current OS load and other factors. If you have any corrections or comments on this topic I will gladly review them and will revise the results if needed.

February 24, 2008 · Peter

Codecamp Sofia, Bulgaria Coverage

On 15-th and 16-th of February in a mountain hut(near Sofia) took place the first **CodeCamp** meeting in **Bulgaria.**I took part in it as a speaker and it was great experience for me. Thanks for inviting me!

Organization: Generally we had all we needed for good discussion-based seminar with few areas we can improve:

  • We need a better place because this hut proved as not quite comfortable for living. Also connectivity wasn’t great.
  • For more attendants we will have to think about organized transportation.

Speakers and topics: People were one of kind! Even for me as designer/html-css-javascript-web3.0-geek there was plenty of interesting topics like virtualization, developing .NET applications with Mono and continuous integration with CI Factory. Basically because of the format of the event (a bit less formal with many discussions) it also covered many topics that were not included in the agenda and that made the event so interesting.

People who attended CodeCamp:

Emil Stoychev, Hristo Iliev, Ivaylo Bratoev, Vladimir Dimitrov, Stefan Dobrev, Deian Varchev, Martin Kulov, Jordan Dimitrov, Svetlin Nakov, Peter Velichkov (me), Radi Buhleva ;)

and many other friends (you know who you are)

My topic was introduction to Mootools Javascript Framework and nevertheless that I’m not quite experienced speaker as most of the people there I think it came out very good. In the next couple of days I will translate the slides from Bulgarian and will put here. Also updating and fixing couple of bugs on the site is in the plan too.

You can find more information on Codecamp’s site

It was fun and interesting with lots of knowledge gained. For the next time I wish only warm weather and no accidents

February 17, 2008 · Peter

New features expected in KDE4.1

Just checked out an interview with Sebastian Kuegler (KDE developer) about the upcoming features in KDE4.1 :

I think the part that most people — just like me — are really looking forward to is an improved Plasma desktop shell. It really is the most visible part of the desktop. The good news here is that Plasma, a relatively young subcommunity within KDE is really alive and kicking. We’ve already been able to fix most of the problems that were still there in 4.0.0, and if we continue to keep the current pace of development, it looks like we have exceeded feature parity in those part with the 3.5 series already by summer.

Then of course, I’m looking forward to KDE-PIM in 4.1. It will make use of the Akonadi storage framework and as such be more stable and usable as the 3.5 series. Then, just recently, Dragon Player has been merged into our 4.1 tree. Dragon Player is a very simple but powerful video player, which of course makes use of Phonon, our new multimedia framework. For non-Linux/UNIX users, 4.1 will also bring the first stable applications to Mac OSX and Windows, which is another very big thing in my eyes.

Other features include more scripting support, newly ported applications (Amarok for example seems to be aiming for a summer release as well), performance improvements all over the place, new plugins for the KWin window manager with its nifty compositing features, and many more.

This really suggests what I expect from the KDE 4 series, new, innovative and really exciting features and improvements at a steady pace. With the KDE 4
series, we’ll simply outperform our proprietary competitors in terms of speed of innovation and user orientation.

More information on this topic can be found on Sebastian’s blog

Full interview link
February 8, 2008 · Peter