Re: (X)HTML5 + SMIL?
Ted Han <[email protected]> Mon, 8 Mar 2010 06:39:00 -0500
| Newsgroups | gmane.comp.web.smil |
|---|---|
| Message-ID | <[email protected]> |
--000e0cd6b2cae926cd0481488200 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ah neat, i'd not seen LimSee3. Do you find that browser behavior is markedly different between browsers that natively support HTML+TIME/XHTML+SMIL and browsers that use JS to implement timing behavior? On Mon, Mar 8, 2010 at 6:04 AM, C=E9cile Roisin <[email protected]>wro= te: > You can also have a look at our Timesheets implementation based on > Vuorimaa's one. > > http://limsee3.gforge.inria.fr/public-site/timesheets/scheduler.html > http://limsee3.gforge.inria.fr/public-site/timesheets/timesheets.html > > > C=E9cile > ------------------------------- > > Le lundi 08 mars 2010 =E0 12:41 +0200, Petri Vuorimaa a =E9crit : > > David, > > > > > > Thanks for pointing out also my Timesheets implementation. I haven't > > been working on it for a while. However, if I remember correctly I was > > able to implement all the major features in the SMIL Timesheets > > document [1]. Even, prefetcing and animations work [2]. Implementing > > the missing features [3] shouldn't be a big problem > > > > > > The layout is taken care by the browser CSS layout engine, which is > > pretty efficient in most modern browsers. The Javascript part is > > rather simple, and thus I didn't find any real performance problems. > > > > > > I hoping to see some real life use cases. Then, it would be possible > > to do more detailed performance analysis using, e.g., Firebug [4]. > > > > > > Yours, > > > > > > Petri Vuorimaa > > Aalto University > > > > > > [1] http://www.w3.org/TR/timesheets/ > > [2] http://www.tml.tkk.fi/~pv/timesheets/tests.xhtml > > [3] http://www.tml.tkk.fi/~pv/timesheets/features.xhtml > > [4] http://getfirebug.com/ > > > > On 8.3.2010, at 12:06, David Leunen wrote: > > > > > > > > I'm curious what your experience implementing this in JS has > > > been, whether there are particular performance issues you've > > > encountered, or things that were particularly difficult that > > > you may have had to hack around or anything? > > > > > > > > > > > > > > > I tried to introduce the least hacks possible. Nevertheless, I > > > consider the entire script is a hack. > > > I haven't stress tested it, so I don't know where are the > > > performance bottlenecks. I guess it depends on the JS engines. > > > The main difficulty is implementing additivity. The script need a > > > major rewrite for that (i.e it doesn't strictly follow the model > > > SMIL defines : aka sandwich model). > > > Another bug is that animations' starts are not strictly calculated, > > > but relies on events. So they may become out of sync, if they are > > > repeated many times. > > > Apart from that, everything was pretty straightforward, if I > > > remember well. > > > > > > > > > > > > > > > (There's also that timesheet implementation : > > > http://www.tml.tkk.fi/~pv/timesheets/ ) > > > > > > > > -- > C=E9cile Roisin > Universit=E9 de Grenoble - Laboratoire LIG INRIA-UPMF > tel INRIA : 04 76 61 53 60 - tel IUT2-UPMF : 04 76 28 45 69 > > --000e0cd6b2cae926cd0481488200 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ah neat, i'd not seen LimSee3. =A0Do you find that browser behavior is = markedly different between browsers that natively support HTML+TIME/XHTML+S= MIL and browsers that use JS to implement timing behavior?<div><br><div><di= v class=3D"gmail_quote"> On Mon, Mar 8, 2010 at 6:04 AM, C=E9cile Roisin <span dir=3D"ltr"><<a hr= ef=3D"mailto:[email protected]">[email protected]</a>></span> = wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord= er-left:1px #ccc solid;padding-left:1ex;"> You can also have a look at our Timesheets implementation based on<br> Vuorimaa's one.<br> <br> <a href=3D"http://limsee3.gforge.inria.fr/public-site/timesheets/scheduler.= html" target=3D"_blank">http://limsee3.gforge.inria.fr/public-site/timeshee= ts/scheduler.html</a><br> <a href=3D"http://limsee3.gforge.inria.fr/public-site/timesheets/timesheets= .html" target=3D"_blank">http://limsee3.gforge.inria.fr/public-site/timeshe= ets/timesheets.html</a><br> <br> <br> C=E9cile<br> -------------------------------<br> <br> Le lundi 08 mars 2010 =E0 12:41 +0200, Petri Vuorimaa a =E9crit :<br> <div><div></div><div class=3D"h5">> David,<br> ><br> ><br> > Thanks for pointing out also my Timesheets implementation. I haven'= ;t<br> > been working on it for a while. However, if I remember correctly I was= <br> > able to implement all the major features in the SMIL Timesheets<br> > document [1]. Even, prefetcing and animations work [2]. Implementing<b= r> > the missing features [3] shouldn't be a big problem<br> ><br> ><br> > The layout is taken care by the browser CSS layout engine, which is<br= > > pretty efficient in most modern browsers. The Javascript part is<br> > rather simple, and thus I didn't find any real performance problem= s.<br> ><br> ><br> > I hoping to see some real life use cases. Then, it would be possible<b= r> > to do more detailed performance analysis using, e.g., Firebug [4].<br> ><br> ><br> > Yours,<br> ><br> ><br> > Petri Vuorimaa<br> > Aalto University<br> ><br> ><br> > [1] <a href=3D"http://www.w3.org/TR/timesheets/" target=3D"_blank">htt= p://www.w3.org/TR/timesheets/</a><br> > [2] <a href=3D"http://www.tml.tkk.fi/~pv/timesheets/tests.xhtml" targe= t=3D"_blank">http://www.tml.tkk.fi/~pv/timesheets/tests.xhtml</a><br> > [3] <a href=3D"http://www.tml.tkk.fi/~pv/timesheets/features.xhtml" ta= rget=3D"_blank">http://www.tml.tkk.fi/~pv/timesheets/features.xhtml</a><br> > [4] <a href=3D"http://getfirebug.com/" target=3D"_blank">http://getfir= ebug.com/</a><br> ><br> > On 8.3.2010, at 12:06, David Leunen wrote:<br> ><br> > ><br> > > =A0 =A0 =A0 =A0 I'm curious what your experience implementing= this in JS has<br> > > =A0 =A0 =A0 =A0 been, whether there are particular performance is= sues you've<br> > > =A0 =A0 =A0 =A0 encountered, or things that were particularly dif= ficult that<br> > > =A0 =A0 =A0 =A0 you may have had to hack around or anything?<br> > ><br> > ><br> > ><br> > ><br> > > I tried to introduce the least hacks possible. Nevertheless, I<br= > > > consider the entire script is a hack.<br> > > I haven't stress tested it, so I don't know where are the= <br> > > performance bottlenecks. I guess it depends on the JS engines.<br= > > > The main difficulty is implementing additivity. The script need a= <br> > > major rewrite for that (i.e it doesn't strictly follow the mo= del<br> > > SMIL defines : aka sandwich model).<br> > > Another bug is that animations' starts are not strictly calcu= lated,<br> > > but relies on events. So they may become out of sync, if they are= <br> > > repeated many times.<br> > > Apart from that, everything was pretty straightforward, if I<br> > > remember well.<br> > ><br> > ><br> > ><br> > ><br> > > (There's also that timesheet implementation :<br> > > <a href=3D"http://www.tml.tkk.fi/~pv/timesheets/" target=3D"_blan= k">http://www.tml.tkk.fi/~pv/timesheets/</a> )<br> ><br> ><br> <br> <br> <br> </div></div><font color=3D"#888888">--<br> C=E9cile Roisin<br> Universit=E9 de Grenoble - Laboratoire LIG INRIA-UPMF<br> tel INRIA : 04 76 61 53 60 - tel IUT2-UPMF : 04 76 28 45 69<br> <br> </font></blockquote></div><br></div></div> --000e0cd6b2cae926cd0481488200--