Hi Denys,

I've waited a bit to add my thoughts, hoping that others would have better
ideas ...

I like the idea of using something (like jq bbq) that's basically a backport
of HTML5 functionality. That would decide me in favor of one library vs
another. Also, the jq bbq code is reasonably readable, and not too tricky
(other than the unfortunate need for polling). Licensing is also not a
problem.

I'd go for the hash-change plugin alone, and include it in a way that makes
it clear that this may not be our long-term solution for back-button
problems. Maybe we should do a real PLIP for 4.2 so that there can be
discussion on the longer-term solution.




On Thu, Dec 16, 2010 at 10:20 AM, Denys Mishunov
<[email protected]>wrote:

> Hello Framework Team,
>
> In order to make the new search results view from PLIP 9352 even better by
> providing support for back-button functionality within AJAX requests as it
> is mentioned in the reviews of the PLIP, I would like to ask FWT whether I
> can include JQuery BBQ (
> http://benalman.com/code/projects/jquery-bbq/docs/files/jquery-ba-bbq-js.html)
> library in plone.app.search package or it deserves separate PLIP. Minified
> version of it takes only 4k but the API of it might be very useful for
> dynamic AJAX applications built on Plone.
>
> Alternatively I could include just a sub-set of that library -
> http://benalman.com/projects/jquery-hashchange-plugin/ that "enables very
> basic bookmarkable #hash history via a cross-browser HTML5
> window.onhashchange event." This sub-set takes only 0.8k when minimized but
> might be enough for the purpose of the search.
>
> I am going to evaluate both solutions (and any other solution if somebody
> could point me to another options) when working on this issue but would like
> to have some feedback from FWT before diving into the libraries. By the way,
> bookmarkable RSS link will be managed with any of these libraries as well I
> think.
>
> Thanks. Looking forward to getting your response.
>
> --
> Best regards,
> Denys Mishunov
>
> mailto:[email protected]
> IRC: spliter(#plone)
>
>
>
>
>
>
> _______________________________________________
> Framework-Team mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/framework-team
>
_______________________________________________
Framework-Team mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/framework-team

Reply via email to