Hi team,

I had given a suggested JIRA to Gaurav: https://issues.apache.org/jira/browse/ROL-2020 for him to factor out the Bootstrap/JQuery into the webapps/roller-ui folder so multiple themes can take advantage of it, i.e. the user wouldn't need to manually import that library with his theme. Providing that option would probably still make sense.

I guess though I am behind the times with that suggestion, apparently our themes should be using content delivery networks to download the libraries instead of the server hosting Roller? YUI would be something like: http://yui.yahooapis.com/3.17.2/build/cssreset/cssreset-min.css, JQuery would be http://code.jquery.com/, Bootstrap would be: http://www.bootstrapcdn.com/.

Apparently the main benefit of using CDN's is that it drops demand on the server hosting Roller, making it cheaper for someone to get Roller hosted and also making it more attractive for hosting companies to offer Roller. However, a drawback is YUI doesn't offer SSL support for philosophical reasons (http://yuilibrary.com/yui/docs/tutorials/faq/#does-yahoos-cdn-support-ssl) That might not be a big deal for us, because the blog reader doesn't need SSL as he's not sending any private data and even if the blog owner uses SSL to keep his password encrypted on the wire, not much else needs to be secure so going to the CDN for a few JavaScript libraries wouldn't be a big deal.

I guess we'll continue storing the Javascript libraries that the themes need, but in the future would it be a better design to have the themes using CDNs? WDYT?

Regards,
Glen

Reply via email to