1

i am pretty newbie in terms of flex/RIA frameworks. mostly done work on server side. as i search on internet , people are using a lot different framework, cairngorm to mate. so my question is , as i am baby stepping through flex, should i go for learning framework ? or without framework ? ( as of now , those DI,DAO,VO and IoC doesnt make much sense to me apart from full form. ) . i needed to do pretty serious stuff after around eight month or so. should that be enough time for learning flex ? thanks in advance. ( also any link or pointers are welcome -- althogh i have spend whole my day googling around and making hello worlds...) . how to become master of RIA FLEX ?

4

6 に答える 6

5

フレームワークに飛び込む前に、Flex/ActionScript を独学で学んでください。実際のアプリケーションを構成し、フレームワークなしですべてを機能させる方法を理解してください。

アプリケーションをゼロから構築することに慣れたら、フレームワークを調べて、ニーズや方法に最も適したものを選択してください。

そうすれば、フレームワークに頼ってすべてを行うのではなく、構築するための優れた基盤が得られます。

于 2010-04-09T13:18:57.840 に答える
3

他の回答には同意せず、フレームワークから始めるべきだと言います。どのフレックス フレームワークにも、コードをどのように構成する必要があるかを説明するドキュメントのベースと、コードをそのように構成する必要がある理由を説明するユーザー カルチャが付属しています。自分で始めても、さまざまなフレームワークの設計者が学んでシステムに組み込んだ教訓の一部を知ることはできません。さらに、プロトタイプは本番環境にプッシュされる傾向があるため、以前に設計したアドホック アプリケーション アーキテクチャからより定義された構造に移行する必要があると判断した場合に、フレームワークから始めることで、コードを書き直す時間を大幅に節約できます。フレックスを知る。

現在、私は (大まかに) Swiz に基づいた非常に軽量なフレームワークを使用していますが、Mate も気に入っています。

于 2010-04-09T14:57:17.407 に答える
0

最初にテクノロジー(概念と構文)を学び、次にフレームワークを使用することをお勧めします。あなたはサーバーサイドのコーディングをたくさんやったとおっしゃっていたので、flex の基本を学んでからお勧めします(http://livedocs.adobe.comを参照してください)。 /flex/3/html/help.html )、通常の MVC パターンと同じ原則に従っているため、自然に理解できるように cairngorm を学習してください。

于 2010-04-09T18:18:23.850 に答える
0

私の経験では、フレームワークなしでフレックスを始めました。Flex では、イベント処理やその他の機能が非常に優れています。そのため、フレームワークを必要としない小さなアプリケーションを構築できます。私の経験では、フレームワークを使用してすべてを行う場合、非常にコストがかかります。ケアンゴームの場合、いくつかのクラスを作成する必要があります。ただし、複雑なアプリケーションを構築する場合は、フレームワークを使用することをお勧めします。これは、共通の外観でアプリケーションを構築するのに役立ちます。さらに、後でアプリケーションをデバッグするのに役立ちます。

よろしくお願いします... コーディングをお楽しみください ;-)

于 2010-12-12T11:27:32.943 に答える
0

フォーム、スキン、クラス、およびイベント処理の作成に慣れるために、フレームワークなしで開始します。それに慣れたら、フレームワークをつかみます。

基本的なフレックス コードの優れた例については、Tour De Flexをご覧ください。

于 2010-04-09T13:21:43.433 に答える
0

Start without - the reason being that you may not even have a need for a framework for the projects you're working on. Even in the Java world, a lot of applications are just so small and simple that you're needlessly making it more complex by adding in architecture "just in case" or simply because it's a supposed best practice.

When you do select a framework, be very aware of the level of extra work it is creating (and most do take some extra time to use) and factor that into your decision making process. A small project probably doesn't need a heavyweight framework like Cairngorm or PureMVC.

When you do look at a framework for the first time, try something that lets you stay in control of the design. (Many so-called frameworks are actually micro-architectures, which Cairngorm correctly points out, which means they dictate parts of your architecture.) A lot of people like it, but I avoid Mate because it feels like too much configuration. Swiz is a nice "lightweight" choice to start with since it gives you dependency injection, and some other little useful tricks--yet it has a tiny footprint and doesn't really force anything on you.

Never listen to someone telling you that you have to do X because it's a "best practice" without having a concrete explanation for why it's a best practice. Even if it is a good practice, not all "good" practices apply to all situations.

于 2010-12-13T06:54:01.920 に答える