That's what Ajax is for. Call your server side code and return JSON data and
insert the data into your timeline.
Depending on your language platform, there are many Ajax framework out there,
php, java, asp.net.
Hope that helps
LIming
Jumptree Project
www.jumptree.com
João Miguel Neves <[EMAIL PROTECTED]> wrote: Good morning,
Hopefully not. I don't think javascript has a database interface, but
even if it did, I wouldn't advise to have the database exposed to the
internet (timeline is a javascript application that works on the user's
browser - to get data it must get it from somewhere available directly
to the user).
The way I do it is by providing a webpage which results from a query to
the database. Depending on the cases, the webpage is public or protected
with password+SSL, depending on the cases. The format is either in XML
or JSON format. Then timeline uses that data.
I hope this was of some help,
João Miguel Neves
Sáb, 2007-03-17 às 17:53 +1000, Abdul Salam escreveu:
> guys,
>
> firstly, thankyou for your supurb work on timeline project. quick
> question. Does Timeline supports loading events from Database (Derby /
> MySql / SQL SERVER ...? ). i know from the documentation provided
> below in url
>
> http://simile.mit.edu/wiki/How_to_Create_Timelines
>
> and below link showing xml event file creation
>
> http://simile.mit.edu/wiki/How_to_Create_Event_Source_Files
>
> Instead of creating XML event source
> file, is it possible to load events from the database in timeline ...?
>
> tl = Timeline.create (document.getElementById("my-timeline"),
> bandInfos);
> Timeline.loadXML("example1.xml", function(xml, url)
> { eventSource.loadXML(xml, url); });
>
> if loading from database is possible, can you please provide the
> procedure ?
>
> basically, we have hundreds of clients details stored in database, who
> view their daily budget & customer schedule information on daily
> basis. wanted to know if it is possible to display these on timeline getting
> these events from database.
>
>
> Many Thanks in Advance
> Mohammed Gollapalli
> MCAD, MCP, MIT, BIT
> www.diamondcodedesign.com.au
>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games._______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general