What are the pros and cons of moving an application from AS2 to AS3?

I have a client asking me: "What are the pros and cons when upgrading from AS2 / Flash to AS3 / Flex?" He has problems with performance and maintainability with his application.

I like these questions because I just want to say: “AS3 / Flex will be faster and more convenient to service”, but I know that should be more specific. The application is close to 100,000 lines of code, poorly documented, and the user interface appears to be dynamically generated.

Obviously, upgrading from Flash / AS2 to Flex / AS3 will be expensive, but is it worth it to increase the speed and ease of maintenance? Does anyone know how much this will improve speed and maintainability? Is there something you cannot do in AS3 that you can in AS2? I think no. Are there really important things in AS3 that you cannot do in AS2?

I assume the second half of this question is how do I answer such questions correctly when it comes to customers? If you don’t spend many hours on tens of thousands of lines of code, I’m not sure I can be very accurate.

Thanks!

+3
source share
9 answers

100 000 , , 10 ( adobe), , . ? , .

, , . AS3 , , , . , AS3 , . AS2 .

, . Flex/AS3 - . . . Adobe AS2 AS3. AS2. , AS2. , .

, , , , , , . , .

+3

Flash Player:

http://en.wikipedia.org/wiki/Adobe_Flash_Player

, 9, AS3. , :

  • Flex 2+ ( 4 )
  • Adobe AIR
  • H264/AAC
  • 3-D

Flex, FP8 (Flex 1.5) FP9 + (Flex 2+), , . -, , , , . , , , . , .

, , , . , , , . , , Flex AS3, .

+2

- , Adobe, AS2 - . AS2 (, AVM1), Flash-, Flash 8. AS2-.

, , , , AS2, . AS3 , (, , ) , .

+2

, , script AS3, , AS3 3 100 , AS2. , . , , - script. , AS3 , , . , .

, . , , . , - Flash- , AS2 VM .

, , - AS2 AS3 . , , (SWF) ( - ), , , , AS3, AS2 .

+1

AS3 AS2 - , , , ( ..). , - , - AS3, AS2, , , .

, , AS3, , . AS2, , !

/, , , , , AS2, AS3.

100 000- ( actionscript), , , . , , , / , ... , 50 000 , ?

!

+1

AS2 3. , , :

  • (Robotlegs, Swiz, PureMVC, Mate, Parsley .)
  • Flash Just Flex,
  • .
  • , as3
  • Flash Catalyst
  • , .
  • f'n.

Flash/AS2 Flex/AS3 - Flash... . Flash, Flex AS3.

0

, 100 000 AS2 AS3 , , . , 100 000 . .., , , , , . , . , , . , 2.0, , AS3, , .

0

AS3 AS2

, AS2... , AS2... AS2 Ruby, AS3 - Java 10 ... , , , AS3... AS3, AS2 ( API), ... , ...... AS3 API, -...

AS2 , ... ​​ AS3, AS2 ( , , ), , ...

AS3

... , AVM2, Flex MXML AS3 haXe... Flex, , (, , , )...

AS3 ... ... , flashplayer , AS3 AS3 3 , , ... , 3 AS1 AS2 3 AS2 AS3... AS4, Adobe - ... ...

?

subtextually , 100000 ... , ... ... , , AS2 ( haXe)... , AS2, , , ... , , , OOP, AOP FP (haXe/AVM1 ) , MXML...

, , ... , , , , , , ... , , , , , ...

...

... : , (, , , ), // ... , , , , ... ... , , , , , ​​ , , ... , , ( ), , , , ... ... , " 0- "... , , ( 100K , , , , )... , , , , ...

0
source

I would scale the hardware before looking at updating the application code base (especially if you think it will be difficult to update). It will be faster and cheaper to scale the hardware.

-3
source

Source: https://habr.com/ru/post/1717699/


All Articles