Module contents lazy loading

91 views
Skip to first unread message

Lemings

unread,
Jul 18, 2012, 11:37:27 AM7/18/12
to joomla-de...@googlegroups.com
Hello!

Has anybody thought about lazy loading of module contents?
If page is bloated with some count of modules, lets say on news site may be it is worth that.

Basically it is possible to prepare place in template without loading them, then after use some JS and custom component which  renders module and passes contents to JS.

I was googling but for Joomla found only lazy loading for images.

Maybe some has done some work for that thing and has valuable thoughts.  Or maybe it is not usefull at all. I would like to hear opinions.

Best regards,
Lemings

D. Dante Lorenso

unread,
Jul 18, 2012, 1:49:08 PM7/18/12
to joomla-de...@googlegroups.com
On 7/18/12 10:37 AM, Lemings wrote:
> Hello!
> Has anybody thought about lazy loading of module contents?
> If page is bloated with some count of modules, lets say on news site may
> be it is worth that.


I'd like to see more usage of autoloader to load PHP classes and content.


> Basically it is possible to prepare place in template without loading
> them, then after use some JS and custom component which renders module
> and passes contents to JS.
>
> I was googling but for Joomla found only lazy loading for images.
>
> Maybe some has done some work for that thing and has valuable thoughts.
> Or maybe it is not usefull at all. I would like to hear opinions.
>
> Best regards,
> Lemings
>
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! General Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-general/-/alhsTONzcrYJ.
> To post to this group, send an email to joomla-de...@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-gene...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-general?hl=en-GB.


--
-- Dante

D. Dante Lorenso
da...@lorenso.com
972-333-4139

Rouven Weßling

unread,
Jul 18, 2012, 1:56:09 PM7/18/12
to joomla-de...@googlegroups.com

On 18.07.2012, at 19:49, D. Dante Lorenso wrote:

> On 7/18/12 10:37 AM, Lemings wrote:
>> Hello!
>> Has anybody thought about lazy loading of module contents?
>> If page is bloated with some count of modules, lets say on news site may
>> be it is worth that.
>
>
> I'd like to see more usage of autoloader to load PHP classes and content.

Lazy loading of modules after the original site has been loaded has nothing to do with with PHP's autoloader. The platform is 90% autoloadable now and the CMS has taken some small steps into that direction.

Rouven
Reply all
Reply to author
Forward
0 new messages