# About the architecture

**URL:** <https://forum.kirupa.com/t/about-the-architecture/273300>\
**Category:** Uncategorized\
**Created:** [October 14, 2008, 4:26am UTC](https://forum.kirupa.com/t/about-the-architecture/273300 "2008-10-14T04:26:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangxiaorui](https://avatars.discourse-cdn.com/v4/letter/z/e495f1/32.png) [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Post date:** [October 14, 2008, 4:26am UTC](https://forum.kirupa.com/t/about-the-architecture/273300/1 "2008-10-14T04:26:36Z")

</div>

Is it necessary to put all the logic inside a “wrapper” class in order to make the Document Class clearer?

class MyDoc extends Sprite{  
private var theLogicHolder:MainLogic  
function MyDoc()  
{  
theLogicHolder = new ManLogic();  
}  
}

Or is this just a nonsense superfluous stuff (to make the swf bigger and slower)?
