zhejiushizhuce / jiglibflash

Automatically exported from code.google.com/p/jiglibflash
0 stars 0 forks source link

Re-factored your code to use composition rather than singletons #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Guys great lib.

But it being a singleton based approach made it difficult to work with in a 
clean manner and difficult for unit testing principles.

I re-factored it to use composition rather than a singleton approach.

Let me know if you want the code.

Thanks,

farid@sammur.com

Original issue reported on code.google.com by farid.sa...@gmail.com on 8 May 2009 at 8:27

GoogleCodeExporter commented 9 years ago
thanks for the work, we are very like to see the code become more flexible.

Original comment by muzerly on 9 May 2009 at 3:27

GoogleCodeExporter commented 9 years ago
Hi,

It has been refactored to fit in with frameworks like PureMVC and Caingorm.  
Your 
code is cool and I will email my changes.  If you can get a test working for me 
that 
I have I will very much appreciate it.

I will email it later today.

Thanks,

Farid

Original comment by farid.sa...@gmail.com on 9 May 2009 at 4:33

GoogleCodeExporter commented 9 years ago
Hi There,

I am the Technical Architect at my company, and we are constantly dealing in 
the 3D 
realm. Your library is of great interest to me. And I have even refactored 
parts of 
it to reduce singleton references and fit in with mvc frameworks like caingorm 
and 
PureMVC. I have also manuipulated it so it is easy to unit test.

I would love to join your project, but don't know how.

I am currently writing heaps of unit tests (centered around collisions).

P.S.  I have included the source as an attachment

Look forward to your conformation.

Thanks,

Farid Sammur

Original comment by farid.sa...@gmail.com on 15 May 2009 at 11:32

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,thanks for your works. welcome join us to improve this engine together, You 
can
contact with speedok@gmail.com. he can add you to project members.

Original comment by muzerly on 16 May 2009 at 2:24