InfoQ

InfoQ

Presentation

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Recorded at:
Recorded at

Parleys.com, a RIA Case Study

Presented by Stephan Janssen on Sep 24, 2009 Length 00:52:41
Sections
Development
Topics
Rich Client / Desktop ,
Rich Internet Apps ,
Architecture
Tags
QCon ,
Flash ,
GWT ,
Flex ,
JavaFX ,
Adobe Integrated Runtime ,
QCon San Francisco 2008
The next QCon is in London March 5-9, Join us!
 

How would you like to view the presentation?

In case you are having issues watching this video, please follow these simple steps to help us investigate the issue:
1. Right click on the video player and select Copy log
2. Paste the copied information in an email to video-issue@infoq.com (clicking this link will fill in the default details in most email clients).
Note: in case your email client hasn't automatically picked up the email subject, please include in your email the URL of the video too.
3. Done.
We will investigate the issue and get back to you as soon as possible. Thanks for helping us improve our site!
Summary
Stephan Janssen’s presentation is organized around Parleys.com, a web site whose front end is implemented in Flash. He explains why they dumped DHTML and switched to Flex/AIR. He also talks about two technologies that could be used instead, GWT and JavaFX, presenting their pros/cons.

Bio
Stephan Janssen is an entrepreneur that has founded several organizations such as the Belgian Java User Group (BeJUG), JCS, JavaPolis and Parleys.com. Today he is the CTO of the Java Competence Center at RealDolmen. He has spoken at numerous Java and JUG conferences around the world.

About the conference
QCon is a conference that is organized by the community, for the community.The result is a high quality conference experience where a tremendous amount of attention and investment has gone into having the best content on the most important topics presented by the leaders in our community. QCon is designed with the technical depth and enterprise focus of interest to technical team leads, architects, and project managers.
Every Flash Application can be an AIR application by Maxim Zaks Posted
Re: Every Flash Application can be an AIR application by Stephan Janssen Posted
Re: Every Flash Application can be an AIR application by Maxim Zaks Posted
Re: Every Flash Application can be an AIR application by surender singh Posted
Comparison by Mohit Dilawari Posted
New Beta Parleys.com site by Stephan Janssen Posted
  1. Back to top

    Every Flash Application can be an AIR application

    by Maxim Zaks

    First of all I would like to say that I am a big fan of parleys and like this talk very much.

    But I have to disagree with the speaker about a need of two environments for developing Flex and AIR application.
    Every Flex application can be easily released as an AIR application, because for creation of an ".air" file you just need a SWF file and an application description file.

    In FDT (fdt.powerflasher.com) we do not separate a Flex, pure ActionScript or an AIR Project because those are all Flash project.
    There is always the same compilation process and you always get the same result - SWF file.
    The only thing that matters are the libraries (SWC files) you are linking.
    You need "playerglobal.swc" for SWF running in a Browser PlugIn and "airglobal.swc" for an SWF running in AIR Runtime (by the way playerglobal is a subset of airglobal, airglobal have some additional classes for file handling, sqlite, HTMLRendering etc...).

    Also the flash application them selves are not signed.
    You sign only the installation bundle (".air" file) that you create from your Flash application.

  2. Back to top

    Comparison

    by Mohit Dilawari

    We are trying to choose between different RIA technologies. I have two questions for people who have experience in this:
    1) Which tool allowed you to create the a rich website the fastest (GWT or Flash)
    2) Which tool was more "fun" to write in?

  3. Back to top

    New Beta Parleys.com site

    by Stephan Janssen

    The above talk is almost one year old, so I'd like to inform the viewers that we're in a beta phase of the next major release of Parleys.com, available at beta.parleys.com.

    New features are :
    - Introduction of Spaces and Channels
    - An even more improved version of the player template, with slide previews in the timeline
    - Support for comment threads using your profile image
    - More powerful search support
    - RSS feeds for all available content
    - and some other important features we'll announce at next month Devoxx event :)

    The biggest addition is our multi-track rich media Publisher which allows you to import your PDF presentation, video's, auto-detect slide changes and publish the content to your dedicated channel. See the publisher in action @ beta.parleys.com/#st=5&sl=1&id=375

    Stephan

  4. Back to top

    Re: Every Flash Application can be an AIR application

    by Stephan Janssen

    If you want to copy the Flex app in to an AIR app then I agree you can just wrap the functionality in a SWC file.

    However when the AIR app has additional features like accessing the file system, offline logic, communicating with the running flex client etc. then before you know it becomes a separate application.

    It would be nice if the AIR logic could be embedded in the Flex version and made available when the Flex app is signed, so you can break out of the browser sandbox and have one and the same application (similar to what JavaFX is doing). That was the point I wanted to make.

    Cheers,

    Stephan

  5. Back to top

    Re: Every Flash Application can be an AIR application

    by Maxim Zaks

    I am not quite familiar with JavaFX but you are right in Flash you will end up with two applications if you develop for web and AIR, specially if AIR version has some additional feature.

    But in my opinion it's all about reuse and extension. The core functionality of your product can be compiled to a SWF and than it is a full functional application. If you want to extend it than you can load it and add some additional logic.
    OSGi works in same way you have a core bundles and bundles that has dependencies on it.

  6. Back to top

    Re: Every Flash Application can be an AIR application

    by surender singh

    How parleys streaming the video ? Any idea Either they are using Red5 server for streaming?

Educational Content

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.

Questions for an Enterprise Architect

Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?

Wrap Your SQL Head Around Riak MapReduce

Sean Cribbs explains what Map-Reduce and Riak are, why and how to use Map-Reduce with Riak, and how to convert SQL queries into their Map-Reduce equivalents.