Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: New Open-Source Flash/Flex CMS, need advice on Structure  (Read 10440 times)
Gilbi
Full Member
***
Posts: 22


View Profile Email
« on: April 26, 2009, 04:24:52 »

http://www.allflashwebsite.com/article/introducing-digizex-open-source-cms-for-flash-and-flex-as3

The CMS is PureMVC multicore, but it gets loaded in by a static class. Here is how the CMS gets integrated in a Flex app:

- one include is required:
:
import com.digizex.CmsManager;
- add this to the Application tag:
:
addedToStage="CmsManager.init('http://digi.localhost/remoting', stage, this)"
- Here is an example of an object that you want to be CMS-ized:
:
<mx:Label id="myText" htmlText="{ contentVO.content }" creationComplete="CmsManager.add( {cms:'text', object:myText, id:5, node:'content', version:'en' } );"  horizontalCenter="0" verticalCenter="0"/>
CmsManager is the static class, it is the only part of the CMS that actually gets compiled into your SWF. CmsManager will load the CMS (digizex.swf) when it detects keystroke "xxx". Then, it will pass requests along to digizex.swf's ApplicationFacade.

The reason for using the static class is so that the CMS system could be added as an afterthought. Notice that you barely have to add any code to add all the additional functionality.

I'm looking for suggestions from the community as to the best way to structure the CMS. Do you like the structure I've described? What would you change? Also, if you're interested in helping out that would be great, too.
Logged
Ondina
Sr. Member
****
Posts: 86


View Profile Email
« Reply #1 on: May 17, 2009, 01:25:52 »

That's an interesting integration of  frameworks.
Your incipient project looks promising.
I'm into everything related to Flex+puremvc+Zend-AMF, so I'll be keeping an eye on your project ;)
Keep it up!
Ondina
Logged

~ Ondina ~
Gilbi
Full Member
***
Posts: 22


View Profile Email
« Reply #2 on: May 17, 2009, 08:15:53 »

Thanks Ondina   ::)
Logged
Gilbi
Full Member
***
Posts: 22


View Profile Email
« Reply #3 on: May 20, 2009, 02:29:10 »

The Digizex Debugger.... If you like KapInspect or De MonsterDebugger you better check this out

http://www.allflashwebsite.com/article/the-digizex-debugger-for-flash-and-flex-drop-in-kapinspect-and-de-monsterdebugger-without-breaking-a-sweat-as3
Logged
Pages: [1]
Print