Calendar Widget - feedback on a past attempt
Posted: Fri Nov 25, 2016 11:48 am
I've just have a look to the Eleanor's calendar widget in comparison to my attempt, one year ago.
Creating a calendar widget was my second exercice experience with widgets and here is a feedback in case it would be useful for the Team.
1. First I found the com.livecode.date library really poor for the exercice and I filed this suggestion in the qcc:
http://quality.livecode.com/show_bug.cgi?id=15172
2. But this not stopped me, and I tried the "execute script" command for doing date calculation.
Unfortunately the "convert" command is not returning something in the result, and I was never be able to get something from it in LCB.
Here I stopped my project with a poor grid of 42 cases and I waited for an addition in the date library.
Now I have the Eleanor's widget in hand, it appears I should have managed all by hand by creating my own date and hour lib. In my opinion dates and times operations should be included in the com.livecode.date. Have to create such a library appears to an attempt to reinvent the wheel. This is in the same level than to have no arithmetic operators available in a language.
This is probably a specific need about the projects I would have had in term of widgets and librairies, but really I would have preferred to not have to code the basic part (with the risk to introduce bugs), before to be able to drive my widget ferrari on the track.
Creating a calendar widget was my second exercice experience with widgets and here is a feedback in case it would be useful for the Team.
1. First I found the com.livecode.date library really poor for the exercice and I filed this suggestion in the qcc:
http://quality.livecode.com/show_bug.cgi?id=15172
2. But this not stopped me, and I tried the "execute script" command for doing date calculation.
Unfortunately the "convert" command is not returning something in the result, and I was never be able to get something from it in LCB.
Here I stopped my project with a poor grid of 42 cases and I waited for an addition in the date library.
Now I have the Eleanor's widget in hand, it appears I should have managed all by hand by creating my own date and hour lib. In my opinion dates and times operations should be included in the com.livecode.date. Have to create such a library appears to an attempt to reinvent the wheel. This is in the same level than to have no arithmetic operators available in a language.
This is probably a specific need about the projects I would have had in term of widgets and librairies, but really I would have preferred to not have to code the basic part (with the risk to introduce bugs), before to be able to drive my widget ferrari on the track.