Hi,
Flex can't access your database directly; you will need some
intervening service code on the server written in something like PHP,
Java, Ruby, ASP etc.
Your service code needs to query the database and output an XML
document representing the result. For example:
<calendar>
<event>
<name>Christmas</name>
<date>2006-12-25</date>
</event>
<event>
<name>New Year's Day</name>
<date>2007-01-01</date>
</event>
</calendar>
Flex can read in the XML with the HTTPService object. You can use the
result event on the HTTPService to do what you want with the data,
like binding it to your view.
I'm not sure what you have in mind as far as visualising the
information.
Hope that is of help.
Cheers,
Lach
On 10/12/2006, at 10:27 PM, ahmedemara1984 wrote:
Hi everybody
I'm very new in flex and asking you to help me
I have some events recorded in database I want to display this events
in date chooser or if a calendar component is available via
HTTPService
I want the simplest way to accomplish this task
Please help