Tuesday, July 19, 2011

Working with JavaScript frameworks

Currently working on extjs4 for a project at work. I have to admit that though extjs4 is pretty, the documentation really drives me nuts. I had contemplated dropping down to extjs3 as the tutorials seem to be more common, but in terms of the pretty factor, extjs3 can't compare. Also, the code required to do something similar in extjs 3 vs extjs4 is quite different in some cases. As in less lines of code. I love that sort of thing.


I guess I will try to document the problems I face here, and perhaps later will write a mini tutorial(maybe contribute to the examples in sencha?) We'll see.


Some quirks here:


- When passing my data as json, I had to remove the quotes from the data that I meant as numbers, in particular for my case, float. And how I did that was to force the type in my php code before I spat out the data. Not sure why that behaviour, but this caused me a lot of trouble in my chart. I just couldn't get the points to map correctly until I did that.


-  When using the type 'Time' for my chart, I have to define my fields in the model as
fields: [{name: 'date', type: 'Date'}, {name: 'close',type:'float'}]
vs just 
fields: ['date', 'close']  (This worked for my other models.)


So the above is what I can remember offhand, Will add to it when I have time again.

Friday, June 10, 2011

Another of my nonsense drawing... 
Well I know in my last post I said that I would write more about my development with Android... I did do up a couple of apps, but well, documentation, have not really gotten down to it :p

Anyways, I'd just like to really say wow about Audacity. I know its been around for a long time, but have not really used it... till lately when I needed it for a small project. It's just way cool and really kudos to those who have contributed to that project. I'm not an expert in sound, but the folks at Audacity have made it so easy to use. Do try it out if you need some kind of a sound editor. http://audacity.sourceforge.net/

I've also been using this other software called MediaCoder ( http://www.mediacoderhq.com/ ). Been using it to convert formats and also to extract the sound from videos. Pretty cool.

Tuesday, April 26, 2011

So I've gotten my hands dirty on the android phone, and think I might be writing a little tutorial on it. I used phonegap, jquerymobile, html5, and eclipse as the IDE. Also been messing around with Mr Android drawings :D well till later when I have the time to write the tutorial!