Responsive, Stackable, AJAX and more.
The following is a standard boilerplate template to use when creating a jQuery plugin. It contains all the major pieces you will need to build out and provide functionality for your plugins. I have used my jQuery tooltip plugin as an example but this can be replaced with anything. Comments have been provided in the boilerplate code to read over. For more detailed explanations read my article on 10 Coding Tips to Write Superior jQuery Plugins which covers each piece in-depth.
Backbone Aura is a decoupled, event-driven architecture on top of Backbone.js for developing widget-based applications. It takes advantage of patterns and best practices for developing maintainable applications and gives you greater control over widget-based development. Aura gives you complete control of a widget’s lifecycle, allowing developers to dynamically start, stop, reload and clean-up parts of their application as needed.
Flattr doesn’t automatically add your content to its site. In other words, you need to list your content under your Flattr account (e.g. my home page) and then you can link to that Flattr content (e.g. my Flattr entry for my home page).
I soon realised that Flattr expects you need to submit each piece of content individually. That means submitting each blog post manually. Rather than doing that, let’s just link all of our blog posts to our Flattr home page and people can Flattr that instead.
Ideally you want to add one little piece of code to have a Flattr button appear across all of the pages on your Blogger based blog. The designer lets you do that, but lets make it even easier and make this a four step process:
- Go to the Flattr submission page and enter the URL of your blogger website (i.e. http://yourblog.blogspot.com/). Complete the form as if you were submitting your blog generically.
- Grab the unique URL that Flattr generates for your blog. e.g. https://flattr.com/thing/47613/Ben-Powells-blog-with-lots-of-helpful-tips
- Paste that URL below, click and rock and roll!
- Come back and don’t forget to Flattr me!