« All blogs

Lazy loading json-widgets

Update nov. 2020: The project is still working and looking almost the same as when I helped build it. Looks a bit old school but also amazing that browsers are so good at supporting older sites.

JavaScript Object Notation (JSON) is a lightweight data-interchange format. It’s faster and often easier to generate and evaluate than XML.

For TMG I created a general purpose Javascript framework a while ago. It's being used by a couple websites including telegraaf.nl.

For Speurdersindekrant I now build a plugin on the TMG-javascript framework for async json fetching. Using this plugin the Account-page now loads much faster and lazy-loads the different modules on the page. With the (Java) backend is a matter of minutes to create advanced dynamic widgets. To check this out create an account on Speurdersindekrant.nl.

JSONCLIENT-SERVERPerformanceXMLLAZY-LOADINGASYNC