Alpha1
Well-known member
Forum users are also social media users and are therefore used to live interaction of the interface. i.e. you see whats going on now and the page will live refresh when there is anything new happening. Not offering such features means offering a stale outdated experience compared to social media. PHP is not up to the task and requires huge resources. @Kier explained this here:
Is PHP unfit for purpose considering the end users expectations of a modern live responding interface?
In Next.js, building a fast, mobile-perfect, "app-like" experience is the default standard. Its fast and offers flexibility.
NodeBB uses Node.js and big boards on NodeBB forum software are quite fast compared to PHP.
Should the XenForo team consider to switch to Node.js/Next.js stack (React) or similar to modernize the software interface? Or are there significant downsides of doing so?
I'd love to read opinions on this.
@Kier 's comment here leads to my question:Just a note about this add-on - while the functionality is excellent, the requirement note about needing a dedicated server is absolutely right due to the nature of PHP itself.
The comments here about there being a memory hole are correct in their observation of huge amounts of memory being consumed, but it's not due to a bug, it's due to the fundamental way PHP operates, in that it expects to consume huge amounts of resources for a very brief moment, then release those resources ready for the next request. Websockets expect to start up the application then hold it in a suspended state waiting for an event trigger to allow it to release its payload - which is fine for a very light app running on node.js or similar, but it's not really the expected use case for PHP with Apache/Nginx.
So, by all means enjoy the great features from this add-on, and well done to @DimmmCom for putting it together, but do bear in mind that for a busy site, this is going to require epic amounts of resources through no fault of the author.
Is PHP unfit for purpose considering the end users expectations of a modern live responding interface?
In Next.js, building a fast, mobile-perfect, "app-like" experience is the default standard. Its fast and offers flexibility.
NodeBB uses Node.js and big boards on NodeBB forum software are quite fast compared to PHP.
Should the XenForo team consider to switch to Node.js/Next.js stack (React) or similar to modernize the software interface? Or are there significant downsides of doing so?
I'd love to read opinions on this.