development

Adobe Flex 란 무엇입니까?

big-blog 2020. 9. 23. 07:50
반응형

Adobe Flex 란 무엇입니까? 그냥 Flash II입니까?


질문

좋아, 나는 계속되는 모든 유행어와 보도 자료 빙고에 혼란스러워한다.

  • 플래시와 플렉스의 관계는 무엇입니까?
    • 플래시 교체 (실제로 호환되지 않음)
    • 플래시 향상
    • 다음 버전의 플래시이지만 여전히 기본적으로 호환됩니다.
    • 완전히 분리 된 기술
    • ???
  • 지금 Flash에서 시작하는 경우 Flex로 건너 뛰어야합니까?

후속 조치

좋아요, 제가 듣고있는 것은 퍼즐에 세 가지 다른 부분이 있다는 것입니다.

  • 플래시
    • "Flash Movies"를 만드는 데 사용되는 그래픽 편집기, 즉 "Flash"의 시각적 측면에 초점을 맞춘 IDE입니다 (공식적으로 Flash CS3?)
    • 디스플레이 플러그인의 공식 이름 (예 : "지금 Flash 다운로드!")
    • 전체 기술 스택에 대한 일반적인 참조
    • 편집기 측면에서 볼 때 복잡한 상호 작용이있는 애니메이션에 가장 적합한 선형 타임 라인 기반 편집기입니다.
  • 액션 스크립트
    • "플래시"프로그래밍 언어
  • 굽힘
    • "Flash"의 코딩 / 프로그래밍 측면에 초점을 맞춘 Adobe Flash IDE (Flex Builder?)
    • Flash를 향상시키고보다 쉽게 프로그래밍 할 수있는 Flash 라이브러리 (Flex SDK?)
    • 타임 라인에 얽매이지 않으므로 (Flash IDE처럼) "표준"응용 프로그램을 더 쉽게 수행 할 수 있습니다.

이 올바른지?

-아담


Adobe Flex Builder는 Flash 플러그인에서 실행되는 응용 프로그램을 개발하기위한 Adobe의 IDE입니다. Flex SDK는 개발자가 응용 프로그램을 작성하는 데 사용하는 라이브러리를 나타냅니다.

기본적으로 'Flex'라는 용어는 개발 측면이고 'Flash'는 Adobe 기술의 런타임 측면입니다.

수정 : '플래시'라는 용어는 디자이너가 사용하는 플래시 IDE를 가리키는데도 사용됩니다.


플래시 라는 용어는 아래에 정의 된 다른 용어를 포함 할 수 있으며 정확히 의미하는 바를 지정하지 않고 "플래시"라고 말하는 것은 혼란스럽고 오해의 소지가 있습니다. 적절한 사례 : 질문에 "Flash"라고 말했을 때 구체적으로 무엇을 의미하는지 잘 모르겠습니다. Flash Player입니까? 저작 도구? 아니면 Adobe가 "플래시 플랫폼"이라고 부르는 기술에 해당하는 전체 기술 모음입니까? 이 모든 것을 명확히하기 위해 여기서는 모두 동일한 용어를 사용할 수 있도록 Flash 및 Flex 콘텐츠 제작과 관련된 기술을 정의하겠습니다.

Flash Player 는 브라우저의 리치 미디어 콘텐츠를위한 런타임입니다. 또한 구형 또는 저가형 모바일 장치에서 Flash 내용을 실행하는 Flash Lite 가 있으며 Adobe AIR는 Flash Player를 확장하여 내용 작성자가 파일 시스템, 윈도우 시스템 및 장치와 통합 할 수있는 기본 데스크톱 및 모바일 응용 프로그램을 제작할 수 있도록합니다. 가속도계 및 카메라와 같은 센서. 총칭하여 Adobe에서는이를 Flash 런타임이라고 합니다.

Flash Professional (종종 Flash 제작 도구 또는 Flash IDE라고 함 )은 일반적으로 Flash Player에서 실행되는 내용을 만드는 데 사용되는 기본 응용 프로그램이었습니다. 타임 라인, 레이어 및 시각적 그리기 도구로 매우 디자이너 지향적입니다. 소프트웨어 개발자는이 응용 프로그램이 Flash Builder (아래 참조)와 같이 코드에 더 중점을 둔 다른 개발 도구에 비해 방향 감각이 떨어지고 제한적이라는 것을 알 수 있습니다. 누군가 "나는 Flash로 무언가를 만들었습니다"라고 말하면 종종 Flash 저작 도구를 의미하지만 항상 그런 것은 아닙니다. 따라서 혼동을 피하기 위해 항상 명확히하는 것이 좋습니다.

ActionScript 는 Flash 런타임을 대상으로하는 Adobe에서 지원하는 기본 프로그래밍 언어입니다. 현재 버전은 ActionScript 3 (약칭 AS3 )이며 Flash Player 9부터 지원되었습니다. 이전 버전의 ActionScript로 만든 콘텐츠는 여전히 최신 버전의 Flash Player에서 실행할 수 있지만 새로운 기능은 ActionScript 3을 사용하여 새로운 콘텐츠를 만듭니다.

Flex 는 Adobe의 Flash 런타임을 대상으로하는 풍부한 응용 프로그램을 만들도록 설계된 기술 모음입니다. 이전에는 "Flex"가 "Flash"와 동일한 모호성을 가지고 있었지만 Flex 브랜드 이름은 아래에 설명 된 Flex 프레임 워크 및 SDK에 점점 더 집중되고 있습니다.

플렉스 SDK는 컴파일러, 명령 줄 디버거, 플렉스 프레임 워크로 구성되어 있습니다. 포함 된 컴파일러는 다음과 같습니다. 1. MXMLC, ActionScript 및 MXML 컴파일러는 Flash Player에 배포 할 최종 SWF 파일을 출력합니다. 2. COMPC, SWC 파일을 출력하는 ActionScript 용 정적 라이브러리 컴파일러. 3. ASDOC, 컴파일러 기술을 기반으로 구축 된 문서 생성기.

플렉스 프레임 워크는 리치 인터넷 어플리케이션을 구축하기위한 ActionScript 클래스의 모음입니다. 여기에는 사용자 인터페이스 컨트롤, 웹 서비스 및 기타 연결 클래스, 포맷터 및 유효성 검사기, 끌어서 놓기, 모달 창, 구성 요소 상태 등이 포함됩니다. 이러한 클래스는 mx. * 패키지에 있습니다. 일반적으로 개발자가 명확한 정보없이 "Flex"라고 말하면 이전에 Flex Builder로 알려진 제품이 아니라 Flex 프레임 워크를 의미합니다.

2011 년 Adobe는 Apache Software Foundation에 Flex SDK를 기부했습니다. 이제 Apache Flex 라고 하며 Adobe가 아닌 커뮤니티에서 완전히 관리합니다. 그러나 Adobe 직원은 계속해서 프로젝트에 기여하고 있으며 Flash Builder (아래 참조)는 Apache Flex 프로젝트에서 출시 한 새로운 SDK를 계속 지원합니다.

MXML 은 Flex 컴파일러에서 레이아웃을 만들고 구성 요소를 컨테이너에 쉽게 배치하는 데 사용하는 XML 기반 마크 업 언어입니다. XML의 트리와 유사한 구조는 포함 계층 구조를 더 쉽게 시각화 할 수 있도록합니다. MXML은 실제로 컴파일 과정에서 ActionScript로 변환됩니다.

Flash Builder (formerly known as Flex Builder) is a development environment that allows developers to build different project types to create SWF files that are deployed to Flash runtimes. It is built on the Eclipse platform and is more familiar to software engineers. Flash Builder supports projects built with Flex or pure ActionScript. Flex projects include the Flex framework. ActionScript projects are the most basic you can work with, starting with a single class and an empty canvas, and the Flex framework is not included.

Flash Builder does not replace Flash Professional. Some people who have traditionally used Flash Professional may now choose to use Flash Builder instead. Often, these are software engineers who appreciate or require the advanced development tools offered by Flash Builder or don't work heavily with assets designed in a visual tool. Some developers may write their code in Flash Builder, while choosing to compile their projects in the Flash authoring tool. Often, these developers are also designers, or they are working with other people who are designers. In this situation, there may be many graphical assets created in the Flash authoring tool, and it could be difficult or simply inappropriate to bring them into another environment.

The Flex framework is specifically designed to build applications. It includes many traditional form controls (buttons, lists, datagrids, etc) and much of the code runs on an advanced component framework written in ActionScript. Not everyone is building the sort of content that Flex is designed to create, and Flex does not replace traditional Flash development practices for everyone. It is a better approach for some developers, but may not be right for others. More design-heavy websites, such as those created for movies, music, energy drinks, advertising campaigns, and things like that probably shouldn't use the Flex framework. These types of content might be better suited to Flash Professional or a pure ActionScript project in Flash Builder. Similarly, little widgets you put into the sidebar of your website or on your profile in a social networking website may need to be built with pure ActionScript (without the Flex framework) because they require a smaller file size and they probably don't need a big complex component architecture designed for larger applications. When targeting Flash runtimes, your development environment, frameworks, and workflow should be chosen based on your project's requirements and goals.


Yeah, I was confused by this for quite a while too.

Flex seems to be thier name for the 'Flex Builder' IDE (based on Eclipse), and the general approach of building flash files using mxml and ActionScript rather than the normal flash tools.

I think the mxml and ActionScript approach (i.e. Flex) is designed to appeal much more to programmers, where as the Flash side is designed more to appeal to graphic designers.

The end result of either approach is a .swf file which can be run in the browser's flash player plugin (although with Flex you can target the Adobe Air runtime instead if you want access to the file system and to run offline etc).

My advice would be, if you're coming from a programming background, to start with Flex.


What is the difference between Flex and Flash?

The way I keep it clear in my mind and explain it to others is as follows:

Choose the right tool for what you want to create.

If you want to write an APPLICATION using Flash technology, use Flex.

If you want to create an ANIMATION using Flash techology, use traditional Flash.

Flex is optimized for application construction (but you can create primitive animations using states) and it compiles into a SWF.

Flash is optimized for animation construction but you can also create applications with some extra work, and it compiles into a SWF.

Once you have your SWF you can play in your Flash player, although Flex requires Flash 9 or higher.

In conclusion

Application -> Flex -> SWF

Animation-> Flash -> SWF

Hope this helps.


Part of the confusion is that "Flash" means multiple things. Flash can mean one of a multitude of applications, OR the general technology behind SWFs.

There's the Flash CS3 product that Adobe sells. This is generally targeted at designers and uses a Timeline-based approach to creating SWFs. Previously the Flash product was the only way to create SWFs, and SWFs generally were just used for animations and other visual effects not possible in a browser otherwise.

Then there's the Flash Player. This is the application/plugin used to run SWFs. SWFs can also be wrapped in a "Projector" which allows them to run as a standalone app, but that's not as common.

At some point (I don't know when) Flash started to be used for more interactive applications. The Flash product wasn't very well suited for kind of work, as it was designed to create animations. Recognizing this, Macromedia created Flex. Flex is another development environment for creating SWFs, but it targeted more at developers than designers. The latest version is Flex 3. The Flex SDK is freely available and includes a command line compiler, debugger, and the class libraries. Adobe also provides (for purchase) the Flex Builder app, an Eclipse-based IDE for creating SWFs using Flex. There are some free IDEs for using Flex, most notably FlashDevelop, though I don't know of any that provide a visual designer for MXML, the markup language used by Flex to define UIs, or a visual wrapper for the debugger.

If you're approaching Flash from a developer's perspective then you're going to want to use Flex. It's probably a lot closer to what you're used to dealing with, and seems to be the direction Adobe is pushing Flash in general.


Flash is a Runtime Environment - you use the Flash Authoring tool to make some Flash content, and the Flash player processes your content, executes the scripts, and draws the appropriate pictures onto the screen.

Flex is a Development Framework - you use the Flex development tools to define how your component-based content should work, and then Flex generates the Flash content for you. You could have made the same thing with the Flash Authoring tools, but using Flex may let you avoid reinventing some wheels.

In functional terms, Flash is an extremely versatile runtime; it gives you lots of freedom to do anything you want. But if you're building a loan simulator, you probably don't need the freedom to define precisely how all the pulldown menus and screen transitions work. Probably you'd rather that you could just use premade components for that stuff so you can concentrate on the loan stuff. Flex lets you do that, with the cost that it may turn out to be a lot of work if you decide that you do need a lot of freedom to change all the fine details.


Here's another simple view based on how you describe an application you want to develop.

Do you want it to have the highly granular UI capabilities you expect from a workstation (e.g. Windows) application, with a fairly complete set of controls (listbox, combobox, grid, etc.)?

Flex gives you that.

Do you want to deliver it to run in most browsers (i.e. anywhere Flash is installed/installable)?

Flex gives you that, because it runs in the Flash virtual machine.

Do you also want to be able to offer it to run in the OS, not in a browser (with minimal coding changes?)

Flex can give you that, by allowing you run it, not in the Flash VM, but instead in the Adobe AIR VM (which has versions for Windows, Mac, and Linux) which provides wrappers for common OS resources like the filesystem, OS dialog-box UI components (e.g. "Open/File/ etc.)

Are you OK using javascript as the development language? You need to be, because it's the only language supported, in the form of ActionScript, which is a proper superset of javascript - it accepts javascript code directly.

So the partioned pieces are:

  1. A runtime environment, either the Flash browser plugin, or the AIR runtime (the native OS equivalent).

  2. Actionscript as the development language.

  3. A bunch of libraries of controls and other resources, i.e. the typical Window, Frame, Combobox, Listbox, Image container, TextBox, TextArea, a wysiwyg-y RichTextArea, etc.) These are the province of Flex.

With the above resources alone, you can use the free command-line compiler to build applications in the same fashion as you would with any other command-line-compiler language with libraries.

Then, if you want a fancy IDE, there's Flex Builder, which is a set of extensions to good-ol' Eclipse (for several hundred $$). Or there are several other IDE's that are more or less equivalent.


Flex is a framework FlexBuilder is an IDE (in an attempt to resolve the confusion between the 2, adobe is renaming FlexBuilder to FlashBuilder)

if you do not know what a Framework is:

Flex is to Flash as what CodeIgniter is to PHP

or like what .net is.

I like to think of a framework as extending a language like you would extend a class in OOP.


Flex is a development framework that compiles xml and actionscript into a SWF, which runs on a client machine accessing a website. It can also run as a desktop application using Adobe AIR. Flash uses a drawing canvas instead of xml. Compiled SWFs can be referred to as Flash, which adds to the confusion. You may find Flex similar to ASP.NET, which takes xml and c# (vb.net, etc) and compiles into a dll. Of course, ASP.NET runs on the web server.

If you are choosing between Flex and Flash for an application, consider whether the application will be based around data. If you want to make a pretty spreadsheet application, Flex would be the way to go. If you are creating a video game or some sort of presentation, you would probably want Flash.


Following up on this, I found a very useful article on the subject:

Adobe Flash and Flex—Which Makes the Most Sense for Your Project?

The Flash Integrated Development Environment (IDE), otherwise known in its current version as Flash CS3, is an ideal tool for developing character animation or linear animation projects. These are projects that require little coding and can be effectively implemented with the Flash IDE timeline.

In other words, Flash CS4 is very tightly bound to the timeline - good for linear sequences or animations. While one can add loops and interactivity in the form of jumping to new points on the timeline, it is limiting for projects which cannot easily be mapped out in terms of progression over time.

It is, in simplistic terms, an animation tool with very powerful interactive features - creating and composing new elements on the fly, and jumping around on the timeline allows one to create applications, and the Flash CS4 IDE makes this relatively easy, but it's not a great platform for application style software.

Flex was built as an answer to that - while it makes use of the same elements and exposes the code, it is not bound to a timeline, and has more in common with object oriented programming languages than animation languages.

The Flex Builder IDE includes both the programming IDE, as well as a GUI designer for quickly building interfaces, and a few other tools for developing applications that run on the flash player.


Flex and Flash have different target audiences. Flex is more geared towards developers where as Flash is more geared towards designers and artists.


Flashdeveloper has been mentioned as a free tool to develop flex applications. I just want to add a free tool to design applications (create an MXML file using a designer): designview. It's available directly on the adobe website, it's an air application that is basic but that give the possibility to take a look freely and easily to the possibilities of flex.


Flex is a free and open source framework based on ActionScript to develop SWFs and AIR applications. Flex Builder (now renamed to Flash Builder as of version 4, to avoid the confusion) is a commercial IDE from Adobe to develop SWF/AIR using the flex framework. While flash (CS3) is good for animation related stuff, flex is good for application/ui related stuff. Adobe positions flex as an RIA (Rich Internet Application) framework.


Flex runs on Linux, too, while Flash doesn't.
Flex is kinda Flash CS 4 second edition.

Flex is less graphical, as it separates compiler and IDE, which allows for command line compilation (makefiles, large projects so to say) which allows for alternative IDE's to Flash.

Edit:
Flex lacks some classes that Flash CSX has (e.g. fl.controls), while Flash lacks some classes that Flex has (e.g. mx.controls or mx.alert).

All in all:
You can have your own Flash compiler for free by downloading Flex 4 SDK and FlashDevelop. But it is no substitute for Flash.
Flash produces much smaller files (e.g. Flash compiles a project to 100 kB while Flex is compiles the same project to 500kB). So Flash is for internet multimedia applications, while Flex is for desktop multimedia applications.


Flex Builder 3 --> Flash Builder 4, even though you use it for Flex. You can also use it for Flash. If you really want to learn about all this stuff, you should just buy a veteran lunch for a day because it will save you MONTHS. Adobe makes some cool products, but is also well-known to be a lazy company, and this leads to extremely poor documentation. Unless you are a fan of "livedocs," which is a term Adobe coined to describe "slow and bloated HTML."


"Adobe Flex is a collection of technologies released by Adobe Systems for the development and deployment of cross platform rich Internet applications based on the proprietary Adobe Flash platform."

Adobe Flex


Flash is a programming language rather similar to JavaScript but with support for static types.

Flex is a flash library that is intended to help people program in Flash on a much higher level.

It may be helpful to some to think about this as Flex over Flash being like MFC over C++.


Flex is basically a language that compiles down to a flash "movie" or "applet", that will run in the Adobe Flash player plugin.


In very simple terms, Flex technology uses MXML to create applications. MXML is analogous to HTML and Flash components is analogous to something like form elements.

MXML basically allows you to specify what Flash components (such as a table, dropdown list, or something custom that you build in Flash) go on an application screen.

This is a very simplified answer, but that's how I tend to explain Flex.

(Flex Builder is an environment for you to develop Flex apps and Flash apps)


Flex is not a programming language. flex is a Framework for developing Rich Internet Applications over the Flash runtime and includes ActionScript & MXML as language.


Flex is a collection of Technologies, Tools and Frameworks for building cross platform Rich Internet Applications.


The best answer I've found for "What is Flex" is at this page: http://www.adobe.com/products/flex/faq.html#flex-flash

Search for "How is Flex different from Flash?"

My interpretation of this is that if your application was generated from Flash Professional, it is a "Flash" application. If it was generated with the Flex SDK (Flash Builder, Flash Develop, or straight code & command line tools) it is a "Flex" application. Both "Flash" applications and "Flex" applications compile into bytecode that can be run by the "Flash Player" or by "Adobe AIR". Both types of applications can include "Actionscript" code.

참고URL : https://stackoverflow.com/questions/59083/what-is-adobe-flex-is-it-just-flash-ii

반응형