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

  • Digg
  • del.icio.us
  • Facebook
  • email
  • Netvibes
  • RSS
  • Twitter
Vote in HexoSearch
6 Responses to “Soma MVC tips and tutorials”
  1. SidGBF says:

    Im really enjoying the tool, but I miss some dynamic examples like a photo album loaded from an XML.
    Also, what the xml assets do?

  2. Romuald says:

    Here you go:
    http://www.soundstep.com/forum/viewtopic.php?f=18&t=243
    http://code.google.com/p/somamvc/wiki/StartAPortfolio
    Dont forget you can compile the site “Soma Protest” and see how things are done, sources are in the zip.
    Romu

  3. Piotr says:

    Thanks a lot! Your work is much appreciated :)

  4. ian says:

    I am enjoying soma very much. Thankyou! i hope to have meaningfull discussions on this space with every user!

  5. Scott says:

    Great framework, taking away alot of the time consuming tasks. One question how can I get custom fonts, I understand I will need to embed them in the swc how should I do this? Thanks, Scott

  6. Romuald says:

    Hi Scott,

    Starting a question on the forum would be better, comments are not great for answering questions.

    Anyway, I use a SWC to embed the fonts (that’s the only role of Main.swc) but Soma is not handling any physical files. It means:

    1. You compile with the Flash IDE: you can remove the Main.swc and just import the fonts in the Flash IDE library (and compile from it)
    2. You compile with the Flex SDK: you can use Main.swc and the include-libraries parameter (as SomaUI is doing when exporting)
    3. You compile with the Flex SDK: you can remove the Main.swc and use an Embed metadata tag to embed the font

    To create the SWC with fonts, I usually use the Flash IDE, I import the fonts and before publishing I go in publish settings to tick export SWC.

    I very often use a SWC compiled from a Flash IDE library as a workflow, I include the flash assets I might need to build in the Flash IDE and then I use FDT and the Flex SDK to compile + the parameter “-include-libraries PROJECT_PATH/source/front-end/libs/Main.swc”.

    Note for FDT user: you can use “{project}” not to use an hard-coded path in your parameters, that’s the root of the FDT project.

    Anyway, Main.swc only contains the Arial font. You are completely free, you can do whatever you want to embed the fonts with Soma.

    Romu

Leave a Reply