📜 ⬆️ ⬇️

LibCanvas news

About six months ago I was posting several topics about LibCanvas. Then there was a lull on Habré, but not in the repository. The work was actively promoted and the library gained new strength, capabilities and basic documentation.

The topic will be relatively short. In fact, this is just an introduction for a series of articles about LibCanvas.

Failure of MooTools


So, the main news is the rejection of MooTools and the transition to AtomJS . This decision was made for several reasons:
1. Do not use global space, in particular $ -function, which often conflicts with jQuery
2. Refusal of support for IE <9. LibCanvas uses the most advanced technologies and to use a framework that a browser supports a decade ago is to slow down its progress. Also, it can significantly reduce the amount of code, because there is no need to implement a bunch of built-in methods like forEach and indexOf
3. Freedom optimizations. Some areas could be accelerated, but the bottleneck is in the base framework.

Switch to GitHub


Initially, the project was hosted by Google Code . The history of commits and all development has been moved to GitHub . Bonch twice advised me to this and I am glad that he convinced me. I just opened the repository a long time ago, but finally moved there much later. I recommend to everyone.
')

Documentation


Also, GitHub now has documentation in Russian . Of course, it is far from fully covering all the capabilities of the library (% 25), but this is better than nothing and it is being actively developed. Whoever wants to help with the translation into English - I will be glad, but it is desirable to keep it active.

Collector


Now I use the same collector that MooTools collects. Thanks slik , Packager is very convenient .

Examples


All examples now lie on libcanvas.github.com and the source is given in the most readable form. Now each example is a small guide to action, in which everyone can invest their contribution. In the end, I will also restore the official website of libcanvas.com , but at the moment GitHub fully covers all needs

Development plans


Recently, the project is one year old. If I haven’t left him for a year, it means it’s serious) They accept feature requests and bugs.
I invite everyone to the Jabber conference libcanvas@conference.jabber.ru , I will be happy to advise and help. I would be glad that committers, that just users.

This is just the beginning, wait for interesting articles and applications.

ps. Join the blog Canvas

Source: https://habr.com/ru/post/118565/


All Articles