monstra-cms / monstra

THIS PROJECT IS NOT SUPPORTED ANYMORE! Check FLEXTYPE.ORG
http://flextype.org
MIT License
396 stars 123 forks source link

Sparky JS Integration #86

Open Awilum opened 11 years ago

Awilum commented 11 years ago

Site: http://sparkyjs.com/

Sparky.js is a client-side application scaffold which helps those who want to have organized structure in their app, but don't want to subscribe to a particular client-side MVC framework. It provides such capabilities as a code Router, an Event system, an Ajax wrapper, and more.

Must be integrated.

New Branch was created: https://github.com/Monstra/monstra-cms/tree/sparky-js-integration

mbarzda commented 11 years ago

Interesting improvement. How does it affect JavaScript performance?

Awilum commented 11 years ago

Yes, I know. You may think that there is a lot of code was added for that simple function in snippets.js https://github.com/Monstra/monstra-cms/blob/sparky-js-integration/plugins/box/snippets/js/snippets.js But its simple for now. This pattern "Sparky" will helps add new function/features in one simple standart way.

Yes, I can use knockout.js for bindings, but this pattern "Sparky" already provides bindings too.

p.s. but, more research must be done for this task.