Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Turbo Links

Received: by 10.68.242.68 with SMTP id wo4mr332982pbc.1.1350634820457;
        Fri, 19 Oct 2012 01:20:20 -0700 (PDT)
X-BeenThere: ruby-pt@googlegroups.com
Received: by 10.68.201.133 with SMTP id ka5ls5877060pbc.3.gmail; Fri, 19 Oct
 2012 01:20:19 -0700 (PDT)
Received: by 10.66.75.164 with SMTP id d4mr174524paw.10.1350634819339;
        Fri, 19 Oct 2012 01:20:19 -0700 (PDT)
Received: by 10.66.75.164 with SMTP id d4mr174523paw.10.1350634819325;
        Fri, 19 Oct 2012 01:20:19 -0700 (PDT)
Return-Path: <ivo.je...@gmail.com>
Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41])
        by gmr-mx.google.com with ESMTPS id m8si216321pav.2.2012.10.19.01.20.19
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 19 Oct 2012 01:20:19 -0700 (PDT)
Received-SPF: pass (google.com: domain of ivo.je...@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ivo.je...@gmail.com designates 209.85.220.41 as permitted sender) smtp.mail=ivo.je...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-pa0-f41.google.com with SMTP id fa10so188306pad.28
        for <ruby-pt@googlegroups.com>; Fri, 19 Oct 2012 01:20:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type;
        bh=b257lbOOU0r0rQAGfSb7YLAek8g9WAYelt0GAazokyY=;
        b=0Q25v5KTB/N/XkVICXT27FcQLEeHQ4EdezdifPjiEqmNHFDe0CSaXV09lnbVGVFhA8
         0jYlKFzz78HiGti/SKFTfuVkzPMlYXYHQD1cNTzptoSao0maWUvpBtYzF0afvfHAKjMf
         O/MSCwiOqWXkESolPjPWqvPpoXj4Z9Mp60Y5fM0SL+MIYZwp0AgYrLn/wUxDo7C1whV7
         zu8VfwJJf+NyfSbvJaxS9AJC2LYHx1isDkit0uN5m+eLHhai5rOHpeXI+1JU0uoKzUkG
         yuxetgCdgYkBFYfS8mp6uPo2xElv046IwCa0uWZz8qBd2/GSJYYhscq4Nzu89LjgAq5n
         IRRw==
Received: by 10.68.241.137 with SMTP id wi9mr2987295pbc.158.1350634818810;
 Fri, 19 Oct 2012 01:20:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.194.5 with HTTP; Fri, 19 Oct 2012 01:19:58 -0700 (PDT)
In-Reply-To: <CAFngC-8kqmc4EGrJRPPBxqhZQ6RxJM2XeJgWcSvQuifHfuR...@mail.gmail.com>
References: <CAFngC-8kqmc4EGrJRPPBxqhZQ6RxJM2XeJgWcSvQuifHfuR...@mail.gmail.com>
From: Ivo Jesus <ivo.je...@gmail.com>
Date: Fri, 19 Oct 2012 09:19:58 +0100
Message-ID: <CAGbHfvY33b8Vkn9MLc65r8oK+ZrMRu4mqTfukaJ-zcQNRtb...@mail.gmail.com>
Subject: Re: [Ruby-pt] Turbo Links
To: ruby-pt@googlegroups.com
Content-Type: multipart/alternative; boundary=047d7b339be998b1d204cc652cd8

--047d7b339be998b1d204cc652cd8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Luis,

  Muito longe de uma ideia "meia parva", eu diria uma ideia excelente! N=E3=
o
sei se j=E1 tiveste oportunidade de brincar com coisas como o pjax, que =E9
onde esta ideia de turbolinks vai buscar inspira=E7=E3o (segundo o pr=F3pri=
o
DHH), mas isto efectivamente ajuda num numero de coisas:
1) Mais r=E1pido,
2) menos "payload"
3) menos "compiling" de javascript no browser..

Claro que tem implica=E7=F5es na qualidade do javascript que vais colocar n=
o
browser, mas s=E3o implica=E7=F5es positivas na medida em que v=E3o obrigar=
 a fazer
c=F3digo menos "leaky"..

Eu tenho uma app onde fa=E7o algo semelhante ao que os turbolinks fazem e
efectivamente nota-se a diferen=E7a, agora, isto vai depender um pouco de
caso pra caso. Seja como for, sempre podes optar por n=E3o usar..

link_to ....., :"data-no-turbolink" =3D> true


Ivo Jesus


No dia 19 de Outubro de 2012 08:58, Luis Mendes <lmmen...@gmail.com>escreve=
u:

> Sou s=F3 eu ou tamb=E9m v=F3s parece que o turbo links =E9 uma ideia meia=
 parva?
>
> https://github.com/rails/turbolinks
>
> Podem ver uma explica=E7=E3o mais detalhada e um exemplo aqui:
>
> http://vimeo.com/51181496 (minute 9:30)
>
> Basicamente o que o turbo links vai buscar por Ajax o conte=FAdo da p=E1g=
ina,
> extrai o conte=FAdo do BODY da p=E1gina de resposta e substitui pelo BODY=
 da
> p=E1gina que est=E1 a ser exibida, evitando o reload de javascript e css =
do
> HEAD.
>
> Lu=EDs Mendes
>
> --
> You received this message because you are subscribed to the Google Groups
> "ruby << portuguese" group.
> To post to this group, send email to ruby-pt@googlegroups.com
> To unsubscribe from this group, send email to
> ruby-pt-unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups-beta.google.com/group/ruby-pt , or it's site :
> http://www.ruby-pt.org

--047d7b339be998b1d204cc652cd8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Luis,<br><br>=A0 Muito longe de uma ideia &quot;meia parva&quot;, eu diria =
uma ideia excelente! N=E3o sei se j=E1 tiveste oportunidade de brincar com =
coisas como o pjax, que =E9 onde esta ideia de turbolinks vai buscar inspir=
a=E7=E3o (segundo o pr=F3prio DHH), mas isto efectivamente ajuda num numero=
 de coisas:<br>

1) Mais r=E1pido, <br>2) menos &quot;payload&quot;<br>3) menos &quot;compil=
ing&quot; de javascript no browser..<br><br>Claro que tem implica=E7=F5es n=
a qualidade do javascript que vais colocar no browser, mas s=E3o implica=E7=
=F5es positivas na medida em que v=E3o obrigar a fazer c=F3digo menos &quot=
;leaky&quot;..<br>

<br>Eu tenho uma app onde fa=E7o algo semelhante ao que os turbolinks fazem=
 e efectivamente nota-se a diferen=E7a, agora, isto vai depender um pouco d=
e caso pra caso. Seja como for, sempre podes optar por n=E3o usar..<br><br>=
link_to ....., :&quot;data-no-turbolink&quot; =3D&gt; true<br>

<br><br clear=3D"all">Ivo Jesus<br>
<br><br><div class=3D"gmail_quote">No dia 19 de Outubro de 2012 08:58, Luis=
 Mendes <span dir=3D"ltr">&lt;<a href=3D"mailto:lmmen...@gmail.com" target=
=3D"_blank">lmmen...@gmail.com</a>&gt;</span> escreveu:<br><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">

Sou s=F3 eu ou tamb=E9m v=F3s parece que o turbo links =E9 uma ideia meia p=
arva?<div><br></div><div><a href=3D"https://github.com/rails/turbolinks" ta=
rget=3D"_blank">https://github.com/rails/turbolinks</a></div><div><br></div=
><div>Podem ver uma explica=E7=E3o mais detalhada e um exemplo aqui:</div>



<div><br></div><div><a href=3D"http://vimeo.com/51181496" target=3D"_blank"=
>http://vimeo.com/51181496</a> (minute 9:30)</div><div><br></div><div>Basic=
amente=A0o que o turbo links vai buscar por Ajax o conte=FAdo da p=E1gina, =
extrai o conte=FAdo do BODY da p=E1gina de resposta e substitui pelo BODY d=
a p=E1gina que est=E1 a ser exibida, evitando o reload de javascript e css =
do HEAD.</div>



<div><br></div><div>Lu=EDs Mendes<span class=3D"HOEnZb"><font color=3D"#888=
888"><br>
</font></span></div><span class=3D"HOEnZb"><font color=3D"#888888">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;ruby &lt;&lt; portuguese&quot; group.<br>
To post to this group, send email to <a href=3D"mailto:ruby-pt@googlegroups=
.com" target=3D"_blank">ruby-pt@googlegroups.com</a><br>
To unsubscribe from this group, send email to <a href=3D"mailto:ruby-pt-uns=
ubscribe@googlegroups.com" target=3D"_blank">ruby-pt-unsubscribe@googlegrou=
ps.com</a><br>
For more options, visit this group at <a href=3D"http://groups-beta.google.=
com/group/ruby-pt" target=3D"_blank">http://groups-beta.google.com/group/ru=
by-pt</a> , or it&#39;s site : <a href=3D"http://www.ruby-pt.org" target=3D=
"_blank">http://www.ruby-pt.org</a></font></span></blockquote>

</div><br>

--047d7b339be998b1d204cc652cd8--