Y
Y
Yuri Kulyash2013-01-10 23:23:21
CMS
Yuri Kulyash, 2013-01-10 23:23:21

How are embed elements created on resources?

I mean those elements that can be embedded on third-party sites. How is it implemented on the server? Do they use caching? Maybe there is some kind of framework? MVC, js+ajax (+JSON?), iframe + subdomain + generated statics, through normal request parsing with conditional output?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vyacheslav Slinko, 2013-01-11
@KeepYourMind

It all depends on the task, although, in the general case, there are few differences from the usual web, except in the channel of communication with the server.

A
aakhmerov, 2013-01-11
@aakhmerov

A great example is all sorts of services that combine social services, for example , oneall , offer a platform-independent way of js + rest api and more plugin options for wordpress and others. Embedded by inserting the desired script on the page, which itself downloads everything. what he needs to work.

G
Gisma, 2013-01-11
@Gisma

The easiest way to implement embed elements for other sites is through iframe
. This solves many issues of rendering a component on a landing page, plus it is possible to implement the widget API through JS
An example of such an implementation: YouTube Player API Reference for iframe Embeds

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question