开发者

Mindtouch dream framework UI composition

开发者 https://www.devze.com 2023-01-12 21:30 出处:网络
Has anyone use Mindtouch\'s dream framework in conjunction with a asp.net frontend?It seems like all component on the page needs to be client side composited where each component is making a call back

Has anyone use Mindtouch's dream framework in conjunction with a asp.net frontend? It seems like all component on the page needs to be client side composited where each component is making a call back to the dream server for rendering another tiny snippe开发者_如何学JAVAt of html. Wouldn't that be bad in term of client performance? Is there any way to do server side UI composition using the dream framework?


MindTouch Dream is meant as an REST API first building block. The granularity of your REST services is up to you, so whether you need to run back and forth to the Dream over and over for your UI, depends purely on your API design.

If you happen to host Dream inside of ASP.NET and use the Plug class, the http requests to the API won't actually hit the wire but are dispatched in process, avoiding a lot of the overhead, but you need to be aware that you've now tied tiers together, since if you design based on that performance improvement and then split the tiers in the future, you are going to have a nasty surprise.

0

精彩评论

暂无评论...
验证码 换一张
取 消