wp-e-commerce / WP-e-Commerce

WP eCommerce - The most popular independent eCommerce platform for WordPress
https://wpecommerce.org
GNU General Public License v2.0
214 stars 216 forks source link

AJAXify new theme engine #2006

Open JustinSainton opened 8 years ago

JustinSainton commented 8 years ago

A new 4.0 requirement.

JustinSainton commented 8 years ago

Since we're getting all AJAXy, it's probably worth looking into fortifying some of our conventions for animation.

I dig this --> http://tympanus.net/Tutorials/CircularProgressButton/ These are also cool, some of them - http://tympanus.net/Development/ProgressButtonStyles/

benhuson commented 8 years ago

AJAX will be required for #2007

jtsternberg commented 8 years ago

related: https://github.com/wp-e-commerce/WP-e-Commerce/issues/516

JustinSainton commented 8 years ago

It's a lot of code (1,400 lines), but I'd like to audit https://github.com/wp-e-commerce/WP-e-Commerce/blob/master/wpsc-core/js/wp-e-commerce.js and make sure we have some level of parity with the parts of that which provide some level of helpful functionality. Will audit and outline below:

document.ready

This next part of the code is highly procedural code that runs on document.ready.

To consider:

Contrary to years previous, we have good prior art now from our competitors like WooCommerce. Things like fragment caching, UI-blocking, custom endpoints, etc. should be considered as part of this revamp.

JustinSainton commented 8 years ago

Full audit complete 👍