New JavaScript FX library from Vienna, Austria: script.aculo.us is past, scripty2 is the future!

image.png

Thomas Fuchs is the pioneer of the first FX JavaScript library script.aculo.us and as he and his work reside in Vienna (which is more or less my hometown) I have to support his new open source product called scripty2 which is a successor of script.aculo.us.

To keep things short: It’s a first release and therefore still in Alpha. It looks promising, especially because it’s only 5KB of size (gzipped & excl. PrototypeJS).

Check out the demos to see if it’s something you gonna need for your future work or not.

image.png

Create a multi languaged domain model with NHibernate and C#

Recently I’ve been developing an enterprise asp.net application with NHibernate which was required to fully support multi language (localization) on UI side as well as on data side. Whereas the former is easily implemented with .net resources the latter is not that straightforward as it seems. That articles talks about it and the solution I have chosen as I have never done it with NHibernate before. Continue reading

Recommendation for classic ASP fans/gurus

Today I’ve found a nice site where someone called Fabio Zendhi Nagao is blogging a lot about classic asp. Nice to see it’s not only me who is still dealing with that technology :)

Just recently he has started an interesting series of advanced articles talking about Microsofts legacy scripting technology:

1. ASP, a misinterpreted technology
2. Event-Driven-Programming and lambda function in ASP/VBScript.
3. TDD (Test Driven Development) in ASP/VBScript.
4. Languages: Based on Objects and Object Oriented.
5. Object Oriented in ASP/VBScript “Hackers way”.
6. “Scripting Components”, the ace in the role.
7. Caching: the concept of DRY (Don’t Repeat Yourself) applied to ASP.

Enjoy! I will definitely follow it….

bit.ly, tinyurl & co. Does the planet really needs short URLs?

Over the last couple of years I was wondering almost everyday why the hell someone would want to use a short URL. Although I consider myself as a geek, freak & nerd I’ve never had the desire to create a short URL. Why? Maybe it’s laziness :) Maybe I am not web 2.0 enough…

However, today I’ve found someone (no one less than Jeff Atwood from Codinghorror) who seems to share the same thoughts though. He’s even calling them the web destroyers and writes about how Twitter made them more popular than ever. Enjoy the read!

Read error messages, understand them and write your own

Over the past years I have seen that many developers don’t really read error messages nor do they try to understand them. That’s not a good thing! Error messages are here to help us find the problem. Each error tells us exactly what’s wrong.

Instead of trying to think what the interpreter/compiler tries to tell us people start copy&pasting errors and posting them on forums. The forum “experts” do nothing else than reading the actual error message (as that’s the only information they have) and answer the question. Why can’t a developer do that in first place?

I recommend following these steps on each error you encounter:

  1. Read the error
  2. Read the error again!! Character by character. (I know you have seen the error 1000 of times but probably you never fully read it)
  3. Try to understand what the error wants to tell you. Think of the developer who wrote the framework, lib, programming language, etc. and ask yourself what was on his mind. They try to help you (us)
  4. If you did not understand the error you probably don’t have enough knowledge about the tool you are working with:
    1. Improve your knowledge on that field where the error happend and get to understand why it happend and what it exactly means (then go to step 1)
      That’s the point of time where you start to improve dramatically as a developer!
    2. If you are too lazy and just want to get thing done. Google it
      That’s the point of time where you should ask yourself if programming is really the right job for you!

You will notice how happy you will be about error message in the future. You’ll start hoping for error messages popping up and get the feeling how to write your own meaningful errors.

First Jelly in Bangkok

As I am currently chilling (and working) in Bangkok I have decided to bring the Jelly into that great metropolis.

Jelly is a semi-weekly work-together, and you’re invited!

IMG_0460
The first session two weeks ago was definitely a successful event. Locals and expats were joining and sharing all kind of stories. Apart from development talk the probably hottest topic was SEO.

Wanna join our next Jelly too?
Bring your notebook and some work ;)
Jelly in Bangkok, Thailand

Thanks everybody for coming! Here are some pics.
Continue reading

Ruby Development Toolkit for Eclipse IDE | RDT

I’ve been looking into Ruby and Rails recently since I deployed Redmine at my company to support our software development projects. For those who don’t know Redmine, this is a great piece of open-source software, offering a complete web collaborative solution for project management including source control, wiki, issues tracking, ldap authentication…

Today, I just found out there is a Ruby Development Toolkit (RDT) plugin for my favourite IDE… Eclipse! Sweet! The toolkit is downloadable via Eclipse Software Update, the remote site URL is:

http://updatesite.rubypeople.org/release

Features supported are syntax highlighting, on the fly syntax check, graphical outline, Test::Unit view/runner, Ruby application launching, content assist, source formatter, Ruby debugging, Type Hierarchy view, Ruby specific Search, Refactoring, and much, much more…

How to render HTML in code.google.com

Update: see latest article Publishing Flex applications to Google Code SVN repository

If you are hosting or contributing to an open-source project on code.google.com using SVN as source control, there is small trick to render .html source files as HTML and not raw text (default). Make sure you set the following SVN property for each file: svn:mime-type "text/html". I find this quite useful for showing examples or demos (using it for Flash/Flex).

Style binding support for custom Flex components

I’ve been developing a lot of custom Flex components recently using Degrafa, and too many times got frustrated at the fact that Flex only supports inline binding for CSS style attributes. Besides that, the only way to listen to style changes is to override:

UIComponent.styleChanged(prop:String):void

I was finally happy to find out that Josh already shared a nice Proxy implementation that allows me to automatically bind style attributes to degrafa properties/styles. Makes my code more readable and maintainable. Thanks Josh!

Update: I posted a small example here and the source code can be download from there.