Recently I got a job to work for a company that makes apps for social network photo printing call hotprints.. I dusted off the 2 applications I wrote to be run in facebook nearly 4 years ago to remind myslef what I done and get reacquainted with my virtual social well being. I see how [...]
Archive for the ‘Uncategorized’ Category
Getting Grails, GWT, appengine to work.
Posted in Uncategorized, tagged appengine, GWT, grails on July 24, 2009 | Leave a Comment »
The GWT grails plugin is great. I really like GWT and what it can do, plus the promise of Wave integration on both client and appengine should present some interesting possibilities. Working with grails is a breeze once there is a understanding of how it works setting up a site is fast fast fast [...]
Quickly get Maven2 to work with Google Eclipse Plugin
Posted in Uncategorized on July 22, 2009 | 1 Comment »
Trying to use maven2 and google eclipse plugin (for appengine and GWT) can be a little tricky. As the plugin insist to create a project structure that is not very maven like. The problem is in the ‘war’ dir that is created under ${basedir}, maven need it to be in under src/main/webapp, if you force [...]
Configuring MUC room with XIFF
Posted in Uncategorized on May 10, 2009 | Leave a Comment »
XMPP allows you to create new room on demand. In openfire set the service setting to allow anyone or a list of JID to do this. Then in XIFF create a new Room object with a JID that don’t exist on the server and do a room.join(). There you have yourself a new room with [...]
Bug in XIFF disco#items node queries
Posted in Uncategorized on April 10, 2009 | Leave a Comment »
The current beta release of XIFF has a problem in performing a valid disco#items node query as per XEP-0030 spec. When specfying a node using Browser.getNodeItems the node is not pended in the query tag as per spec. The problem is in DiscoExtension.serviceNode. To fix this do change that 1 liner from:
getNode().parentNode.attributes.node = val
to:
getNode().attributes.node = [...]
The code behind factory pattern
Posted in Uncategorized, tagged actionscript 3, asMock, Code behind, Factory, flex, flexunit, unit testing on April 6, 2009 | Leave a Comment »
I have been using code behind in flex for a while now (weather using framework or not) and using Flex unit + asMock for as tools for unit testing. All works pretty well but I found at some point in my code I have a bunch of method postfixed with Set/GetForTest which makes it all [...]
Careful using the Hybrid Auth Provider when writing a custom Openfire Auth Provider
Posted in Uncategorized, tagged Auth provider, ConnectionException, java, openfire on January 31, 2009 | Leave a Comment »
We were writing a custom auth prodider for our chat server http://www.igniterealtime.org/projects/openfire/index.jsp. We want the connection from clients to use a special token where using the Default Auth provider from its Admin console. Openfire provide a plugable authentication provider mechanism and provides one call HybridgAuthProvider http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/javadoc/org/jivesoftware/openfire/auth/HybridAuthProvider.html. This auth provider allows us to chain up a [...]
UIComponent Dictionary
Posted in Uncategorized, tagged actionscript 3, Components, flex on January 31, 2009 | Leave a Comment »
When you make a composite component that extends a existiong one such as Canvas. This component have a varity of VBox’s with HBox’s before you get to the data component. Now you want to access the them your code can get very smelly very quickly, cuz now you have to do a getChildByName(“”).getChaildByName(“).doSomthing. So I [...]
EventDispatcher singleton my Flex UI best friend
Posted in Uncategorized, tagged actionscript 3, event dispatching, flex on January 24, 2009 | 2 Comments »
One thing for sure when you start writing Flex based flash apps. Sooner or later you get into a point where you want to talk to components next to each other on the screen but yet they are hardly ever related in a parent/daugther way oftern have differents parents. Now for the sake of clean [...]
Estimate your velocity cautiously
Posted in Uncategorized, tagged Agile, Scrum, XP on January 8, 2009 | Leave a Comment »
Just back from my 2 weeks holiday and have that the team were really productive. They have finished all the assigned stories few 1 week earlier then expected. So they went and added 2 more stories into the sprint (we run a 2 week sprint starting from Monday ends on a Friday). Come Tuesday I [...]