Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2.0 "Load More" Ajax Option for Thread listing
#11
I prefer pagination over the "load more" suggestion.
Reply
#12
(2014-09-01, 10:07 PM)SamedTarik Wrote: I think it would be good, but not in ajax, ajax has problems.

How else would you do it?

And what problems does AJAX have?
Reply
#13
(2014-09-02, 09:34 PM)Fábio Maia Wrote:
(2014-09-01, 10:07 PM)SamedTarik Wrote: I think it would be good, but not in ajax, ajax has problems.

How else would you do it?

And what problems does AJAX have?

Can't you make it with JavaScript? Ajax always conflicts with plugins in 1.6.x versions.
Reply
#14
(2014-09-02, 09:59 PM)SamedTarik Wrote:
(2014-09-02, 09:34 PM)Fábio Maia Wrote:
(2014-09-01, 10:07 PM)SamedTarik Wrote: I think it would be good, but not in ajax, ajax has problems.

How else would you do it?

And what problems does AJAX have?

Can't you make it with JavaScript? Ajax always conflicts with plugins in 1.6.x versions.

And how exactly are you planning to load the data from the server? Flash? WebSockets?
AJAX is the only real practical method.
Reply
#15
(2014-09-02, 10:51 PM)Axareal Wrote: And how exactly are you planning to load the data from the server? Flash? WebSockets?
AJAX is the only real practical method.
I don't know technical details about them. Is ajax really the only method to do this? This is unbelieveable that there is no alternative to ajax.
Reply
#16
(2014-09-02, 11:44 PM)SamedTarik Wrote:
(2014-09-02, 10:51 PM)Axareal Wrote: And how exactly are you planning to load the data from the server? Flash? WebSockets?
AJAX is the only real practical method.
I don't know technical details about them. Is ajax really the only method to do this? This is unbelieveable that there is no alternative to ajax.

And you seem to misunderstand something: AJAX is a feature in JavaScript for fetching data from the server.

The only other way to fetch data in JavaScript is with WebSockets, but that's incredibly bleeding edge, it's designed for real-time applications like chat systems, would be tough for the MyBB Team to implement, doesn't work well with proxies, doesn't work well with some ISPs, and generally would be completely overkill for this.

Flash is completely different from JavaScript, but it can interface with JavaScript.
If you want another universal alternative to JavaScript then, you will have to petition the W3C about it.
Reply
#17
(2014-09-03, 12:02 AM)Axareal Wrote: And you seem to misunderstand something: AJAX is a feature in JavaScript for fetching data from the server.

The only other way to fetch data in JavaScript is with WebSockets, but that's incredibly bleeding edge, it's designed for real-time applications like chat systems, would be tough for the MyBB Team to implement, doesn't work well with proxies, doesn't work well with some ISPs, and generally would be completely overkill for this.

Flash is completely different from JavaScript, but it can interface with JavaScript.
If you want another universal alternative to JavaScript then, you will have to petition the W3C about it.

Thanks for information Smile But i don't think i will petition to w3c Toungue
Reply
#18
The alternative to AJAX is to upload to your server then your PHP page uploads it to a third-party hosting system. It's clunkier than AJAX, but doesn't require JavaScript.
Reply
#19
It could be done with no AJAX at all, just load every single post in a thread and hide them. However, AJAX is the best way to do it, it prevents the initial load of all that information and lets you pull it out as it's needed. I don't see how any alternative to it is needed really, it works fine. Perhaps the AJAX usage you've seen just hasn't been done well?
Reply
#20
(2014-09-03, 09:39 PM)Eric J. Wrote: It could be done with no AJAX at all, just load every single post in a thread and hide them. However, AJAX is the best way to do it, it prevents the initial load of all that information and lets you pull it out as it's needed. I don't see how any alternative to it is needed really, it works fine. Perhaps the AJAX usage you've seen just hasn't been done well?

And what happens.. If there are thousands of items which need to be loaded?
Even a smaller set would be a pain on mobile devices.

And following that logic, you might as well just load everything and just keep it all as visible, instead of going down the "Load More" route.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)