📜 ⬆️ ⬇️

We did it! Flash / Flex developers will have livecoding

This is a must see. You edit the code and immediately see the result, without overloading the flash application.
We showed this demo at ITSea 2012 in Montenegro.



In short - the editor starts a special session, when all methods of classes (or selectively) are transformed in a special way. When editing the method code in the editor, tiny swc with the modified code is delivered to the client and an update event of the class implementation is sent. There is also a special [Live] annotation, which marks a special method that updates the state of the object instance.

image
')
No compile waiting, no need to restore application state. For example, you launched the game level, “spawned” bots and change their implementation on the fly. Either you are working with a flex-form - logged in on the server, winged the form and start adding fields to it or adding validators. Cool?

Now no matter how much application. Re-compilation will always take little microscopic time. Now we compile in 200 milliseconds. With the release of ASC 2.0 release, we can reduce this time several times.

Plus, we catch exceptions and process the “dangerous” code. If you accidentally add an infinite loop, you will receive a message in the log, but the application will not hang. The same with exceptions.

The version of our editor (2.0) with such functionality will be released in the middle of October.
Plus, if you noticed we changed the name - meet Code Orchestra 2.0!

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


All Articles