Monthly Archives: November 2010

BannedComboItems: ComboBox with disabled items

Combos are beasts. Beasts for developers (400 lines of ugly configuration) and beasts for customers. For some business logic, you may not select some elements. What to do in these cases? If you do not put unselectable items in the … Continue reading

Posted in ExtJS extensions, User experience | 1 Comment

Git tips and tricks

Display the active branch in the terminal prompt Add this line to ~/.bashrc PS1=’\u@\h:\w$(__git_ps1 ” (%s)”)\$ ‘ Automatic add during commit git commit -am “message” It automatically adds already versioned files to the index before commit. This will automatically remove … Continue reading

Posted in Git | Leave a comment

Ext.Ajax on steroids [AuthorizedAjax]

In the company I work for we use ExtTop, the Windows-like desktop environment which provides icons, taskbar and start menu. It is a single page web application. You can open all the windows you want, but you will never reload … Continue reading

Posted in Domain specific languages, ExtJS extensions | Leave a comment

Once upon a time…

This post is all about testing. If you are already testing your code, you can skip it. Imagine PHP without theĀ in_array() function: you need it, so you have to write it: function inArray($needle, array $haystack) { foreach (…) { … … Continue reading

Posted in Things you must know | Leave a comment