I am going to talk you through the development and pitfalls associated with the design and development of widgets.
First and foremost, you need to decide what you want to show with your widget. Knowing this you can make an educated choice about which method you want to use to create a widget, there are basically two methods associated with widget development.
No, iframe’s aren’t dead. They are a major part of widget development. Using a
iframe URL based on these variables.
If you want your widget to be able to appear multiple times on the same webpage, you need to remember to set all the variables to
iframe based widgets are very easy to build and to use, however they do come with their downsides. The biggest of these is that the user can't customise the widget at all - it lives within an
There are a lot of difficulties involved in creating widgets and here are just a few of them:
- AJAX won’t work! You cannot post information between domains.
- Try to keep the requests down. These widgets are coming from your servers.