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&#39;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">&lt;<a hr=
ef=3D"mailto:[email protected]">[email protected]</a>&gt;</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&#39;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">&gt; David,<br>
&gt;<br>
&gt;<br>
&gt; Thanks for pointing out also my Timesheets implementation. I haven&#39=
;t<br>
&gt; been working on it for a while. However, if I remember correctly I was=
<br>
&gt; able to implement all the major features in the SMIL Timesheets<br>
&gt; document [1]. Even, prefetcing and animations work [2]. Implementing<b=
r>
&gt; the missing features [3] shouldn&#39;t be a big problem<br>
&gt;<br>
&gt;<br>
&gt; The layout is taken care by the browser CSS layout engine, which is<br=
>
&gt; pretty efficient in most modern browsers. The Javascript part is<br>
&gt; rather simple, and thus I didn&#39;t find any real performance problem=
s.<br>
&gt;<br>
&gt;<br>
&gt; I hoping to see some real life use cases. Then, it would be possible<b=
r>
&gt; to do more detailed performance analysis using, e.g., Firebug [4].<br>
&gt;<br>
&gt;<br>
&gt; Yours,<br>
&gt;<br>
&gt;<br>
&gt; Petri Vuorimaa<br>
&gt; Aalto University<br>
&gt;<br>
&gt;<br>
&gt; [1] <a href=3D"http://www.w3.org/TR/timesheets/" target=3D"_blank">htt=
p://www.w3.org/TR/timesheets/</a><br>
&gt; [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>
&gt; [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>
&gt; [4] <a href=3D"http://getfirebug.com/" target=3D"_blank">http://getfir=
ebug.com/</a><br>
&gt;<br>
&gt; On 8.3.2010, at 12:06, David Leunen wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0 =A0 =A0 I&#39;m curious what your experience implementing=
 this in JS has<br>
&gt; &gt; =A0 =A0 =A0 =A0 been, whether there are particular performance is=
sues you&#39;ve<br>
&gt; &gt; =A0 =A0 =A0 =A0 encountered, or things that were particularly dif=
ficult that<br>
&gt; &gt; =A0 =A0 =A0 =A0 you may have had to hack around or anything?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I tried to introduce the least hacks possible. Nevertheless, I<br=
>
&gt; &gt; consider the entire script is a hack.<br>
&gt; &gt; I haven&#39;t stress tested it, so I don&#39;t know where are the=
<br>
&gt; &gt; performance bottlenecks. I guess it depends on the JS engines.<br=
>
&gt; &gt; The main difficulty is implementing additivity. The script need a=
<br>
&gt; &gt; major rewrite for that (i.e it doesn&#39;t strictly follow the mo=
del<br>
&gt; &gt; SMIL defines : aka sandwich model).<br>
&gt; &gt; Another bug is that animations&#39; starts are not strictly calcu=
lated,<br>
&gt; &gt; but relies on events. So they may become out of sync, if they are=
<br>
&gt; &gt; repeated many times.<br>
&gt; &gt; Apart from that, everything was pretty straightforward, if I<br>
&gt; &gt; remember well.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; (There&#39;s also that timesheet implementation :<br>
&gt; &gt; <a href=3D"http://www.tml.tkk.fi/~pv/timesheets/" target=3D"_blan=
k">http://www.tml.tkk.fi/~pv/timesheets/</a> )<br>
&gt;<br>
&gt;<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--