你会使用的Laszlo开发一个基于Flash的前端到Java Web应用程序? [英] Would you use Laszlo to develop a Flash-based front end to a Java web app?

查看:134
本文介绍了你会使用的Laszlo开发一个基于Flash的前端到Java Web应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果你有一个基于Java的Web应用程序(J2EE Web应用程序 - 更不用说正在使用的其他基本框架),并且你想介绍一个基于Flash的前端,你会使用拉兹洛,还是宁愿暴露REST-像XML接口,构建和部署使用的Flash应用程序?

If you have a Java based web application (J2EE webapp - never mind which other underlying frameworks are being used), and you wanted to introduce a Flash based front-end, would you use Laszlo or would you rather expose a ReST-like XML interface and build and deploy a Flash application that uses that?

在一方面,拉斯洛​​是相当惊人的 - 这样做对Flash什么JSP支持HTML。这是很容易的工作。它适合于非常出色的Web应用程序(基于该JSP)的其余部分。

On one hand, Laszlo is quite amazing - doing for Flash what JSP does for HTML. It is easy to work with. It fits in very well with the rest of the web application (which is JSP based).

在另一方面,它可能会更好开发一个完整的Flash应用程序从服务器上分离,并使用XML-过断点续传机制,结合两个。这将具有能够使用相同的XML接口的一个AJAX前面,如果需要结束加入优点

On the other hand it might be better to develop a complete Flash app decoupled from the server and use an XML-over-HTTP mechanism to bind the two. This would have the added advantage of being able to use the same XML interface for an AJAX front end if needed.

你会怎么做,为什么?

推荐答案

拉斯洛是,没有把它的产品,没有围绕它开发一个足够大的生态系统。

Laszlo is the product that never made it, there isn't a big enough ecosystem of developers around it.

我会使用Adobe Flex的前端的。使用标记语言,用于做闪光的开源项目同样的好处,但它有一个更大的开发基础和借鉴。对于数据通信,使用R​​EST,或者如果你想获得聪明,使用BlazeDS的。

I'd use Adobe Flex for the front end. The same benefits of using a markup language for doing flash, but it has a much larger developer base and open source projects to draw upon. For the data communication, use either REST or if you want to get clever, use BlazeDS.

这篇关于你会使用的Laszlo开发一个基于Flash的前端到Java Web应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆