pods-framework / pods-ajax-views Goto Github PK
View Code? Open in Web Editor NEWUtilize AJAX cache generation and loading for Pods Views
Home Page: https://wordpress.org/plugins/pods-ajax-views/
License: GNU General Public License v2.0
Utilize AJAX cache generation and loading for Pods Views
Home Page: https://wordpress.org/plugins/pods-ajax-views/
License: GNU General Public License v2.0
When we get the announcement post done, let's update the readme and plugin header 'plugin uri' link.
There are actually a few issues occurring here at once. Thought I had it sorted out, but just noticed issues remain.
Upon activation of the plugin, the podsviews table never gets created yet the underlying pods_view function and other associated functions continue to visually function. But PODS_AJAX_VIEW_DEBUG indicates no caching actually occurs.
Manually creating the table throws server-side errors saying view_data cannot be NULL.
Allowing view_data to be NULL allows the plugin to visually function once more, yet DEBUG continues to indicate NOT CACHED. Viewing the podsviews database table confirms that the rest of the data does get stored, rows being created for every time it runs.
I originally assumed that because $data is optional, thus allowing NULL, that changing it to allow NULL would make the plugin work. But I've run out of time today to continue figuring out why no data is actually being stored. My guess is there's a slight shortcoming between the existing pods_view function and pods_ajax_view, the former not passing data to the latter.
I'd love to see this get resolved considering the data being rendered in my current project is 3rd-party GTFS API data and calls to the vendor's endpoints take no less than 1200ms each time (DNS and other considerations accounted for). And I'd love to continue keeping everything within the Pods ecosystem!
When Pods AJAX Views is enabled and I don't want to ajax load certain views, it throws the following error:
Missing argument 2 for Pods_AJAX_Views_Frontend::pods_view_alt_view()
Location:
wp-content/plugins/pods-ajax-views/Pods_AJAX_Views_Frontend.php:673
Call Stack:
PodsView::view()
pods_view()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.