Do you use SVN? CVS?
Have you ever heard of GIT? If you want a short but good description why you should use GIT check this link
Monday, February 6, 2012
Wednesday, December 7, 2011
test your http posts
Recently, I write an HTTP client for making post requests. Then I search for a way to test it. It's possible to write unit tests of course but that would be great if I see the real deal. Then I find 'Henry's HTTP Post Dumping Server'. Using his server you can easily test your post request and see its content.
Saturday, December 3, 2011
mongodb is evil?
NoSQL databases were quite popular (with cloud computing and scala) at this year's devoxx and one of these databases was MongoDB. The way you define your models with json-style and the performance benefits seemed like the real power of MongoDB but the following article states that you should reconsider your choice if you choose MongoDB in something other than a toy project. See if mongoDB is evil.
Monday, November 28, 2011
flex likes surprises
Recently I got an odd error while working on flex.
While debugging, I saw that the following code seems to have a value in "container.eGrid.selectedItem" part. It's populated with an object of type MyObject.
But "e" of type MyObject is null. Seems nonsense right? I'm just setting what's in right to left.
A bit later, I saw that I mapped MyObject to a wrong java remoteclass. When I fixed this issue my "e" variable got populated.
While debugging, I saw that the following code seems to have a value in "container.eGrid.selectedItem" part. It's populated with an object of type MyObject.
But "e" of type MyObject is null. Seems nonsense right? I'm just setting what's in right to left.
A bit later, I saw that I mapped MyObject to a wrong java remoteclass. When I fixed this issue my "e" variable got populated.
var e:MyObject = container.eGrid.selectedItem as MyObject;
Tuesday, November 22, 2011
flex surprises again (this time with datefield)
In my "update" screen (in flex), I'm getting the actual date value from the model and showing it to the user. If the user changes this date value in the screen, no problem; it's working. But if he doesn't touch this date field then the value of it is null as far as I can see while debugging.
In my update screen this is the part I define the datefield.
The datefield is displayed correctly but when I try to save the new model I saw no value in debug. "parentPanel.endingDateDatefield.selectedDate" is null.
So I changed my code to:
Now I set the selectedDate field instead of text in DateField component which fixes the issue.
In my update screen this is the part I define the datefield.
< mx:DateField id="endingDateDatefield" text="{formatDate(myModel.endingDate)}"
formatString="{FORMAT_STRING}" width="50%" height="25"/>
Notice that formatDate() returns String.The datefield is displayed correctly but when I try to save the new model I saw no value in debug. "parentPanel.endingDateDatefield.selectedDate" is null.
So I changed my code to:
< mx:DateField id="endingDateDatefield" selectedDate="{myModel.endingDate}"
formatString="{FORMAT_STRING}" width="50%" height="25"/>
Now I set the selectedDate field instead of text in DateField component which fixes the issue.
Subscribe to:
Posts (Atom)
