[TYPO3-dev] new extension: vx_xajax_shoutbox
David
superportlet at yahoo.de
Wed Jul 19 14:27:54 CEST 2006
as a sidenote:
ajax in general should be used in a situation where your website acts
like a gui on the local machine (navigation, small gadgets etc.).
a lot of people are implementing stuf using ajax just because they can.
the content i not only invisible to google but the many people relying
on screenreaders etc.
keep that in mind.
David
Jan-Hendrik Heuing [DD] schrieb:
>>> That's one of the reasons, why I see more useful cases for
>>> post-loading-content. You can make a full page cached, deliver that to
>>> the
>>> frontend. But then, via onload-event-handler, you query things like
>>> votings
>>>
>> What does onload-events mean in this case?
>>
>
> Talking about javascript-events, so it's a client thing. One draw back is
> SEO, that what Aleks in the room next to me is always about. If I load real
> content via ajax, google can not index it :-)
>
>
>> - still on serverside: how compares it with PHP_SCRIPT_EXT
>>
>
> Good question, I didn't do tests, but I see those things straight away:
>
> PHP_SCRIPT_EXT
>
> Pros:
> - It's a proper serverside-solution, so it's not dependend on the client
> side. That's especialy interesting for teasers and stuff.
>
> Cons:
> - "Proper serverside solution" in this case does not mean nice coding style,
> PHP_SCRIPT_EXT is a pretty awful way of doing things :-) But I guess one can
> change that to something better with not too much time.
>
>
> JavaScript / Ajax:
>
> Pros:
> - You can not only load content after page load, you can change it the same
> way any time without doing much additional work, as you already set up those
> ajax things. You just need to trigger it again. So this is especialy
> interesting for dynamic content. A shoutboard like it has been announced on
> the list would be a case... It could be updated every 10 seconds
> automaticly, if you add some polling-service to your website.
>
> Cons:
> - It's bound to browser and settings, not as reliable as serverside.
>
>
> So PHP_SCRIPT_EXT is the save way, JS/AJAX the more dynamic way, as well as
> for after the page has been loaded, but both versions could make use of
> caching on the plain page.
> Eid would be the thing to use for Ajax to make it fast of course.
>
>
>> - from the client by JS: why not calling an independent script then or do
>> eiD?
>>
>
> The second I would say. This way you can also make use of fe-sessions.
>
>
>>> for elements, which are called and passed through onto the page. Those
>>> voting-queries can be small and quick, but the whole ts engine and other
>>> stuff doesn't have to be initiated.
>>>
>>> JH
>>>
>>>
>>>
>
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
>
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
More information about the TYPO3-dev
mailing list