mrwatson-oss / nova

4 stars 2 forks source link

Upgrade to ECMAScript 6 #2

Open websoftwares opened 8 years ago

websoftwares commented 8 years ago

@mdecorte @martijnverleg @meetbart

After researching for some time upgrading to ECMAScript 6 gives many great advantages for example you could apply class type inheritance this will benefit the render method and functionality sharing. Another thing that can be instantly resolved is the namespace problem. We could apply some standard design patterns to improve the code base and solve problems. Optional but recommended start using TypeScript.

http://es6-features.org/#ValueExportImport http://es6-features.org/#ClassInheritance

https://raw.githubusercontent.com/domnikl/DesignPatternsPHP/master/Structural/Composite/uml/uml.png https://sourcemaking.com/design_patterns/builder/php/1

http://www.typescriptlang.org/

mdecorte commented 8 years ago

Cool, all in favour of es2015 here. Perhaps via babel. Right now I think the main focus should be on the pre-compiling of partials.Ie change the way components nest.