Combining static page from CDN with a query to server to produce html content

21 views
Skip to first unread message

Kevin Lau

unread,
May 21, 2013, 11:40:41 PM5/21/13
to lif...@googlegroups.com
Hi all,

I have a static html page storing in content distributed network. I want this page to query Lift server to produce some dynamic html content and combining both contents to produce a final version of this html page. Preferably not use Comet.

Please point me to a direction. Thanks.

K.

David Pollak

unread,
May 22, 2013, 1:52:45 PM5/22/13
to liftweb
You'll have to make a REST request on a Lift-powered server, return a value (I'd wrap the generated HTML in JSON so you can include flags about the generated HTML) and then insert the generated HTML in your page.


--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
 
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Telegram, Simply Beautiful CMS https://telegr.am
Lift, the simply functional web framework http://liftweb.net

Reply all
Reply to author
Forward
0 new messages