Giter Site home page Giter Site logo

Comments (2)

microlcl avatar microlcl commented on August 21, 2024

在本地搭建了Flex的开发环境并简单研究了一下:
官方下载地址:http://download.macromedia.com/pub/flex/flex_builder/FB3_win.exe
可以试用两个月。
要想让Flex和后台数据有交互,
可采用blazeDS(开源免费),数据格式为AMF(Flex自己的协议)
http://sourceforge.net/adobe/blazeds/wiki/Home/
或者采用json(当前项目提供RESTful interface, 提供给Flex调用),在网上看到有这方面的介绍

快速入门教材:
http://dl2.iteye.com/upload/attachment/0014/6458/e735b0f3-467a-3761-9c27-23eab46e9ed2.pdf

目前的结论是:
1.从我的理解来看,“导出”功能理想的方案应该是基于模板的:根据不同的应用场景,能提供一些基本的模板,然后和业务数据merge,进而产生我们需要的数据格式。否则,我们需要为每一个应用场景定制不同的代码,这个估计是很难接受的。但是我在Flex里面,没有看到类似的功能(也就是基于模块输出flash),不过它有scheme的概念。
2. 可能的开发方式是采用json与后台进行交互,貌似是最简单的一种方式。
3.对于我们来说,Flex是个新东西,还需要一定的时间来学习技术细节。

导出PPT的方案也有很多concern,格式不太好控制(由于本机只有WPS,不确定是不是WPS与PPT格式不兼容引起的)。
比较成熟点的,可以马上做出效果来的,应该是导出为PDF格式了。
开源的: Flying Saucer
http://code.google.com/p/flying-saucer/
可以把xhtml+css转换成pdf, 这个东西在我以前的项目中用过,只要xhtml格式正确,转换成的pdf几乎和页面效果一样。我们可以采用模板技术(freemark,velocity等)生成需要的xhtml,然后让Flying Saucer转换成PDF。

from scheme_repo.

microlcl avatar microlcl commented on August 21, 2024

按照昨天的讨论,为了尽快的有一个可行的经济的方案,暂时采用PDF导出。

from scheme_repo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.