[wp-hackers] Slim WordPress by way of Google Ajax API?
Joost de Valk
joost at joostdevalk.nl
Tue May 27 20:27:19 GMT 2008
On May 27, 2008, at 10:22 PM, Matt Patenaude wrote:
> It does sound like a great idea.
>
> But how would this affect loading time? The browser has to go to
> another domain to grab the Ajax API JS file, and then has to make
> another round-trip to load the JS library?
>
> A simplified API is great, but does it have to be remotely hosted?
> What if, for instance, WordPress had its own JavaScript API-- you
> could put the code for each JS library in the database, and then the
> first time the file was requested, it could create a text-based
> cache of the file with the appropriate settings. Then, if the
> version of the code in the DB was updated, it could automatically
> replace the cached file.
>
> Not trying to go off-topic here, but just saying. I like the
> premise, but the fact that it's remotely hosted worries me (even if
> it is Google).
>
> -Matt
We've seen Google kill API's before... (remember their SOAP search API
anyone?) So I would not start relying on it, but for themes it could
rock.
Best,
Joost
>
> On May 27, 2008, at 4:16 PM, Ronald Heft wrote:
>
>> Sounds like a great idea. I'm down for using the AJAX API to serve
>> WordPress' Javascript.
>>
>> On Tue, May 27, 2008 at 3:32 PM, Doug Stewart <zamoose at gmail.com>
>> wrote:
>>
>>> I hope y'all saw this and thought "Hmm, a chance to strip JS
>>> libraries
>>> entirely out of the equation":
>>>
>>> http://code.google.com/apis/ajaxlibs/
>>>
>>> Thoughts? Applicability to core WP? I see a good deal of utility
>>> there, meself...
>>>
>>> --
>>> -Doug
>>> http://literalbarrage.org/blog/
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>>
>>
>>
>>
>> --
>> Ronald Heft, Jr.
>> Information Sciences and Technology
>> Pennsylvania State University
>>
>> cavemonkey50.com
>> 9rules Network
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list