📜 ⬆️ ⬇️

Some interesting and useful things for web developer # 18

Good day, dear habravchane. Recently, I saw some interesting and useful tools / libraries / events that I want to share with Habr.

Dat



Dat - data package management. It is a tool that allows you to share large data sets with the goal of building a collaborative workflow, like git with source files. It is important to mention that the current status of the project is pre-alpha .

npm install dat -g 


Gesturekit



Very interesting thing for equally interesting UI / UX tasks. The service interface allows you to draw any arbitrary gesture, after which GestureKit will generate a key for your gesture with which you can contact the handler of this event. Plus, this is available not only for iOS or Android, but also for the web thanks to gesturekit.js . That is, in general, it is a certain provider of extraordinary events.
')

Remark


Remark.js allows you to create slideshows using markdown markup. Supports a wide range of syntax colors. The output is responsive slides, adaptable to the resolution and compatible with various "touching" devices.
 <!DOCTYPE html> <html> <head> <title>Title</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <style type="text/css"> ... </style> </head> <body> <textarea id="source"> class: center, middle # Title --- # Agenda 1. Introduction 2. Deep-dive 3. ... --- # Introduction </textarea> <script src="http://gnab.imtqy.com/remark/downloads/remark-latest.min.js" type="text/javascript"> </script> <script type="text/javascript"> var slideshow = remark.create(); </script> </body> </html> 


Velocity.js



Velocity.js is a jQuery plugin that fundamentally changes the idea of ​​JavaScript DOM animation and over time should become a replacement for the classic $ .animate (). The thing is, Velocity works much faster. This is connected not only with performance, but also with the visual perception of animation by man. You must admit that almost all DOM animation is not smooth enough and makes a bit of a crush. The problem is solved with the help of two techniques: synchronization of the DOM ( Preventing 'layout thrashing' ) and query caching to minimize the number of calls to the DOM.

I will share another article on this topic from David Walsh - “CSS vs. JS Animation: Which is Faster? ” .

Quill



Quill is a modern rich compatible and extensible text editor from the well-known company Salesforce.com. In connection with a lot of problems in WYSIWYG, people increasingly began to use Markdown, but the words “Perot” were designed to get rid of the classic idea of ​​WYSIWYG. In fact, Quill is very flexible and very very modular. It is worth looking at the documentation for the API, after which it will immediately be clear that the project was written in an intelligent way.

EpicEditor



Functional Markdown JavaScript editor. EpicEditor provides automatic preservation using HTML5 LocalStorage, work in offline mode and much more. It has a flexible API and is extremely easy to use.
 <div id="epiceditor"></div> 

 var editor = new EpicEditor().load(); 


Picker



Of course, the color peeler is not a common task, but in certain places it is a very convenient solution for the user. And personally, I don’t know of any normal jQuery-independent colorpicker script. Now this very simple and convenient is - Picker .

Western thoughts or what would translate to Habré:




Finally:




Previous selection (Release 17)

I apologize for any typos. If you notice a problem - please write in a personal.

Thank you all for your attention.

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


All Articles