Reuse of web code. How to organize script fragments?

In every web project, most of the time the code is simply reused. In the drop-down menu, “Rotate the title to CSS mesh.” This process makes your workflow faster and more efficient. I wonder how people organized these scripts? Where do you keep it? How do you break it down into categories (javascript, css, php, etc.)? therefore it is easy to find.

Because not every time you can access the Internet and do a Google search and search, it will take you some time to find it.

+3
source share
5 answers

, , . - , ( javadoc, eclipse ). " " . php include, IDE. JavaScript - - ( "/jslibs" ). jQuery, javascript .

CSS, , clusterf * ck. .

, :

  • . subversion git, trac, .

  • Firefox, Scrapbook. - snippptes , .

+1

. , XD ( ) . Maven, Java. Flex JavaScript , , DEFINITELY - .

( ), ; . , , .

+1

- Google Notebook. ( , - , ). Google , /, OneNote.

IDE, , , , ( CSS Javascript, CSS JS). .

, , , (jQuery ..). Google Code Mercurial .

0

, , , , : monticello, . javascript , , .

0

It seems Snippets (Mac app) is made for just that. A blog post answering your questions in detail (offline use, language categorization, etc.) can be found here .

0
source

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


All Articles