D
D
dk-web2015-09-28 15:32:27
JavaScript
dk-web, 2015-09-28 15:32:27

Is it possible to drag page elements (templates) through ajax?

My turn to ask questions....
Always pleased with ajax.. Used to...
input - ajax -> received data...
and then after my epic implementation of MVC I started to think... and I got sick of writing appends with html tags...

Is it possible to
implement it this way
? substitute data } } ON pure php it is not possible to do this... each time a different structure and in the template you have to check everything for isset turns out... otherwise a bunch of undefined index


Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2015-09-28
@dk-web

Of course you can. Grab a template engine: handlebarsjs.com
akdubya.github.io/dustjs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question