Posts Tagged “SomaUI”

Hi everyone,

In case you didn't notice that I released an new minimal AS3 MVC Framework some time ago, SomaCore is available on this page.

I call it minimal because it is very lightweight, yet powerful and non-intrusive. You don't have much to learn if you're used to MVC framework of any sort.

I made an update today, the second one in months because it won't change a lot, the structure is there. All the sources and demo have been updated.

You can also replace any kind of previous use of the framework, the only feature added is a dispose method that will remove everything that has been created in the framework. Mostly useful in case you're creating several instance of the framework, it will now be correctly garbage collected.

Once you've created a instance of the framework:

Actionscript:
  1. var app:ISoma = new Application(stage);

The only things you need to do is

Actionscript:
  1. app.dispose();
  2. app = null;

Here is what it is doing to the components that have been added to the frameworks:

- all wires will be removed. On each wire, the dispose method will be called. You can overwrite this dispose method in your wires subclasses.

- all models will be removed. On each model, the dispose method will be called. You can overwrite this dispose method in your models subclasses.

- all commands will be removed

- all views will be removed but not removed from the display list, that's your job. On each view, a dispose method will be called if it exists. You can create this dispose method in your views:

Actionscript:
  1. public function dispose():void {
  2.     // dispose objects, graphics and events listeners
  3. }

It important to say that all the components will be removed from the framework, but that's your matter to properly destroyed what you're creating in order to be garbage collected.

A quick info for my plans because I've silent lately (busy).

I'll make a BaseUI release in the next weeks, a completely rebuilt and optimized version 4. It is ready but I need to finish the documentation.

After that I plan to make more examples and screen cast about the SomaCore Framework.

I just wanted to say that I'm rarely happy about what I'm producing, because I like things to be... perfect. Of course, perfection can't be reached, but that is pushing me to create the better code I can, at my level.

I'm now using SomaCore in some projects. One is a relatively complicated AIR Modular Application for children. And for once, I'm very happy with what I've done with SomaCore. It has been a great help really, I should say that it saves me a lot of troubles when changes happened because I built the application how I wanted it, without "framework-fight" and as much flexible as I could. It just made me more responsive to any kind of changes in the project.

For this reason, I'll try to push SomaCore further by making more demos, videos, examples, documentation, wires concept and so on.

I still have plans to create a new version of the first automated framework Soma MVC, and its source generator, based on SomaCore.

Happy development!

Vote in HexoSearch

Comments 3 Comments »

A minor update for Soma and SomaUI, mostly bug fixes. The source are available available on the SomaUI page.

SomaUI v2.0.2

-bug fixed: page selection in the page tab wasn't working properly
-bug fixed: layout tab and layout properties wasn't correctly updating the XML
-bug fixed: Flash Player wasn't correctly updated in Page Settings tab when opening a project
-update: new page auto-name renamed to Page1, Page2, etc
-update: Soma v2.0.2

Soma v2.0.2

-bug fixed: layout with a background alpha 0 wasn't displayed

Note: to update sources already exported with a version 2.0.x, just grab the com.soma package (or SWC) and replace, or in SomaUI, in the export tab and under Soma Framework, select "overwrite all".

Vote in HexoSearch

Comments 2 Comments »

Here is a new Video Tutorial about the MovieClip Page Mode in Soma, it might remind you the Flash Catalyst workflow. This mode is only for Flash IDE user. I'm creating a designed site in few minutes by importing Photohop Files in MovieClip that wll be managed by Soma.

The PageManager will instantiate MovieClip instead or pure actionscript class. It is a very useful mode if you want to build your site with the Flash IDE with a minimum of code, and very quickly.

SomaUI MovieClip Page Mode Video Tutorial


Vote in HexoSearch

Comments No Comments »

New version available (v2.0.1), small bugs solved with the Page Manager.

Here is how I will update Soma and SomaUI. There is 3 numbers in the version number:

1. the first is a major update, where possibly everything change, probably not usable with previous sources.
2. the second is a medium update, the structure might slightly change and it might need refinement to match with a previous medium version.
3. the third is a minor update, totally transparent for the user, you can update the framework and the generator without breaking what you have already done.

So this is a minor update, meaning it doesn't change anything for what you are doing. You can just update the framework and the generator. SVN and source (zip) have been updated, you can get them in the SomaUI page.

Romu

Vote in HexoSearch

Comments 3 Comments »

Beside having Soma Protest to learn how Soma MVC is working, I will add in the future (to the Google code wiki) some tutorials and tips that will help you during your development.

I will also "centralized" any Video Tutorial I will make in this wiki.

First one today, how to control the page flow in Soma.

Romu

Vote in HexoSearch

Comments 6 Comments »