Open GoogleCodeExporter opened 9 years ago
http://www.prototypejs.org/learn/introduction-to-ajax
Original comment by horak.honza@gmail.com
on 21 Jul 2011 at 6:15
it would be good to integrate ajax in url as well - e.g.:
http://www.example.com/mypage#showsomething
We need to identify use cases the first..
Original comment by horak.honza@gmail.com
on 10 Aug 2011 at 10:30
Just a note, that link#anchor works surprisingly with any tag..
Original comment by horak.honza@gmail.com
on 11 Aug 2011 at 10:02
string after # can be separated by shash, e.g.:
http://www.example.com/mypage#showsomething/showsomethingother/thelastentry
http://www.example.com/admin#posts/new
http://www.example.com/admin#posts/edit=1
it would be great if ajax would only be turned on/off... define needed
atributes by route and just use it (div element specified in template)
Original comment by horak.honza@gmail.com
on 27 Sep 2011 at 12:48
Let's divide this task to some subtasks:
A) javascript functions wrapped in ww or better wildweb object:
use:
wildweb.ajaxReplace(link, get, container)
wildweb.ajaxAppend(link, get, container)
wildweb.ajaxMessage(link, post, container)
B) enhance form with ability to use ajax
$form->useAjaxReplace
$form->useAjaxMessage
C) consider redesign of templates parsing (including header and footer doesn't
need to be mandatory)
Include footer & header on request base
How we distinguish that we need only content, not header/footer? Define it in
reute?
then if we need header/footer we have to override template content with
including them.. But in the beginning it is sufficient to use two templates..
one simple will be included in the second...
Original comment by horak.honza@gmail.com
on 18 Oct 2011 at 9:00
First adept to use ajax can be deleting item from list in admin.
Original comment by horak.honza@gmail.com
on 2 Nov 2011 at 12:29
Use cases:
<a href="some/url.php" onclick="return wildblog.ajaxReplace('some/url.php',
'get', 'dividentification')">some link</a>
<a href="some/url.php?page-3" onclick="return
wildblog.ajaxAppend('some/url.php?page-3', 'get', 'dividentification')">some
link</a>
<form method="get" action="somewhere/action/" onsubmit="return
wildblog.ajaxFormMessage(this, 'dividentification')">
Original comment by horak.honza@gmail.com
on 5 Nov 2011 at 9:00
Original comment by horak.honza@gmail.com
on 12 Nov 2011 at 9:12
Original issue reported on code.google.com by
horak.honza@gmail.com
on 13 Jun 2011 at 7:13