tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/282-can-i-build-app-without-modelRobotlegs: Discussion 2018-10-18T16:35:24Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/62137902011-03-24T11:34:41Z2011-03-24T11:34:41ZCan I build App without model??<div><p>Using 'Model' in robotlegs doesn't really mean anything too
prescriptive. A 'model' is just a class that extends Actor - which
provides the shared eventDispatcher that allows the model to hook
in to the application.</p>
<p>So - my thought is really just that if you have some data in a
swf, which other framework objects need to access that data? And
how do you want them to access it?</p>
<p>I have had success with relaying events between the loader
sharedDispatcher (not available in Air) and the main app
eventDispatcher.</p>
<p>Alternatively you could have a standard robotlegs model and then
only populate it once your swf file has loaded.</p>
<p>In essence, robotlegs will allow you to do almost anything - so
the question is to work out what you really want it to do, and how
to do that elegantly.</p>
<p>Stray</p></div>Straytag:robotlegs.tenderapp.com,2009-10-18:Comment/62137902011-03-24T11:56:17Z2011-03-24T11:56:19ZCan I build App without model??<div><p>Yes thank you Stray, i will use the greensock loader classes as
a service to intergrate my assets and illiminate some boilerplates
you are totaly right i wil follow some good practices. Thanks
again.</p></div>cherifbouchelaghem