Birthday Info

Discuss your custom applets, calculation tools

Birthday Info

Postby oliver » Sun Oct 20, 2013 8:04 pm

A very simple applet, requiring no coding and using the WolframAlpha(tm) website (not requiring the CAS).

Look:
bday.png
Calc in action
bday.png (90.32 KiB) Viewed 7797 times


After Show Info is pressed:
bday_result.png
Web Result
bday_result.png (133.84 KiB) Viewed 7797 times


Definition:
bday_definition.png
Definition
bday_definition.png (90.08 KiB) Viewed 7797 times


How it works:

label is a simple text label, the text in parentheses is the label's text

pickDate is a date picker object, in parentheses is how the picked date should be textually represented.
The function part of the object says under which name, date, the result should be accessible by other components.

Get Info is a button (everything that's not a special element is a button)
Its function is to call the given URL. $$ designates variable content and in parentheses is the variable (date) that will provide that content. That is, this part of the URL will be filled with the textual representation of the picked date we chose above.

Done.

When the user taps Get Info, the picked date is used to format a URL that is invoked and subsequently displayed. In this case, a WolframAlpha® page about a given date. The info there, then, tells you stuff about what happened on the picked date. (For example, anniversaries of important events or known people.)
oliver
Site Admin
 
Posts: 433
Joined: Sat May 01, 2010 2:11 pm

Return to Applets / Calculators

Who is online

Users browsing this forum: No registered users and 1 guest

cron