Date: 2009-08-06 18:14:40 Created: 2009-08-06 14:00:08
Yesterday was code-less again, I was too tired and had too many other things on my mind. Today I am back, this time dabbling with Sproutcore. I have a very small application I call Motion in which I can register my runs, calculate my time per kilometer and colour them based on wether the kilometer time is above or below an entered time.
In any case, it was a long time since I looked at Motion last. In the beginning I got everything to work the way I wanted it, except it did not save any data. As I have all my times in a text file, this was a minor problem to begin with. But of course I want to get everything into a database eventually, so once everything else was working I started on that part.
And this is where it all gets a little bit annoying. Because now I seem to have my backend php and database quite working, but I have managed to break something about my main controller. What is happening is that the (very much required) observer functions are not being invoked anymore and there is no evident reason why. No errors either, for that matter, they simply never get invoked.
Adding to the annoyance, I know for sure I have ran into the very same problem working in Sproutcore at work. Several times, even. Worst of all, I can not remember if I solved the problem or worked around it somehow.
I hope it is the former, and I hope that it will not take too long before I rediscover my solution ...