I finally release the version 2 of the framework Soma MVC and its source code generator SomaUI. It has been a long run since the last release, months of works and nights spent to make your life easier! But here we are.
Firstly, I’d like to thanks Less Rain. Not only they are amazing and skilled people, but they also have been very supportive to me. Thanks again!
Soma v2 have been already used for many projects and it has been a joy to work with it. I first built this framework for myself, as a tool. I wouldn’t release it if I didn’t think that Soma could help you with a minimum of learning and “framework fights”, and I hope… with a lot of fun!
If the concept, compare to the version 2, is similar, a lot have been improved and added.
First a SomaUI demo!
SomaUI is a tool that is generate source code, a Flash site based on Soma.
Soma, the AS3 MVC Framework
The framework is more consistent and is simpler to use, ease of use has always been my goal. And for this, the transitions proxies don’t exist anymore and the template system has been removed.
Paradoxically, the framework is a lot more powerful and stronger that the version 1, especially in terms of automation.
Some libraries have been added and they can also be used without the framework, such as a loader library SomaLoader (already released as a standalone) to manage loading processes, queue management and loading display.
I also built a video player “SomaVideoPlayer” (not released yet as a standalone), very easy to use and with a powerful skin system to alter built-in controls or create new ones.
I also built an assets system to dynamically create images, video, or anything, positioned them, describe layout behaviors, and a lot more… and just from an XML file, no code required! The process is amazingly quick. For example to create a video player on screen, it takes not more than a single XML node. This assets system can be used to dynamically create your own assets (custom display objects) at run-time from an XML.
There a new special “page mode movieclip” that works with the Flash IDE, that can make simple development of a whole site a matter of minutes (depending on what you want you want to reach). This will be my next tutorial.
I’ve never wanted Soma to impose rules to a developer, at least not too much. A big point in Soma (and SomaUI), it is never handling physical files or assets files. You can still embed images, fonts or anything the way you like (with SWC, in Flash IDE, metadata tags, or whatever). I did break some encapsulation rules though, and it was to reach a very high level of freedom and flexibility.
SomaUI, the source code generator
The first version has always been in beta and was more a kind of “concept”.
The version 2 is going a lot further and its purpose is:
- building an XML file required in order to make Soma working
- exporting deploy files (html, css, etc)
- exporting source (actinscript, Flash file, XML, etc)
- compile with the Flex SDK
If you know how to build the XML file that is required by Soma, you can avoid to use SomaUI. So the whole point of SomaUI is helping you building that XML and create files to spare time.
Through screens you can set up your project, configure it, create pages, create assets, backgrounds, and export!
I hope you will have nice time with those tools. To download the sources, get the documentation, samples, explanation or more help… everything is starting on the SomaUI Page.
Any feedback (good or bad) are always welcomed!