I'll start a little from afar. I'll tell you what will be discussed.
What is pasteorga?
For some time (when I didn’t remember exactly), I began to use certain services, the essence of which is the temporary (or not) hosting of pieces of code. In practice, it looks like this: I want to show Vasya Pupkin my procedure (advice to ask, or something else), in ICQ, this can be done, but it will be unreadable, and it is inconvenient to edit this code in ICQ. For that and services - came in, inserted the code, received the link, gave the link to Vasya. Under the link there will be a code highlighted with. Conveniently. They are called unknown, but there is a tendency (like jeep and SUVs, or pampers and diapers :) to call them “pasteorgs” (paste.org) or “pastebins” (paste.bin). I will call Pasteorgi for used.
So, not so long ago, I decided to make my own such service. There were several reasons - this is the presence of free hosting with a large amount of space, the desire to “pump” their skills, and an attempt to do something more convenient than their counterparts.
It began with the fact that I began to be interested in friends, what minuses they see in those services that they use.
Short review
- paste.org.ru
I will quote:
“Disadvantages: the“ inserted ”field must have a monospaced font.
The choice of the way of illumination is terrible - the layout of languages is horrible, to find the necessary language in that drop-down list is unrealistic. ”
So from the minuses I can select the choice of language. Monospaced font seems to me not very critical minus.
Of the advantages, there is nothing special to note - a fairly ordinary resource, I did not see anything special about it. - everfall.com/paste
This is the resource that I used for some time. First, there is a version history. Those. opening someone's code, I can insert a new version of this code. This includes a good backlight (GeSHi), and several options, such as "prohibit editing" (read the insertion of a new version), the storage period of the code. Of the minuses, he noted the still inconvenient choice of languages in the combo box, the stupidly made version history (that is, when viewing the code and having a large number of versions thereof - it will be scary - try it yourself :). - codepad.org
It's pretty simple here. From the pros, I liked the choice of languages (but due to the fact that the list of languages in the form of radio buttons is not enough), the built-in code interpreter. The rest is not very, even the author can not be specified.
The rest of the services that I saw are nothing special - the same eggs, only in profile.
From all this, we can distinguish as a result a few points that should be taken into account when developing such a service to improve usability.
')
What should be comfortable?
- Convenient selection of languages.
The results of discussions resulted in a decision, in the form of a ranking of languages. I created a table in the database - a list of languages and made a field for language rating there. The more code inserts in the X language, the higher the rating of this language. As a result, the 10 languages with the highest rating fall into the radio buttons, there is also the “Other” item, by choosing which one can choose the language from the combo box. The plans are to record the individual language rating in each user's cookies. This will make it possible to make Pasteorg more convenient for each individual user. The idea of displaying the list of languages in the form of a cloud was also expressed - quite interesting, but for the time being we are discussing. - Version history, well implemented.
Here we discussed less. The inconvenience that was in Pasteorg # 2 is with a large number of versions, they occupy the entire screen, and the code turns out to not understand where. Although the code is the main and priority element of the page. So we just turned down the default version history blog. When you click on it - unfolds. In addition, two such blocks were made - above and below with respect to the code field, this can be convenient, with a large size of the latter. By the way, plans to analyze this size, and if it fits on the page, remove the block from the bottom. - Ability to "customize" the storage of your code.
It can be said, whistles perdelki. Specify the author, prohibit editing, code storage period - all this has been implemented. The idea was also made to make the possibility of “passwording” the code, which we also implemented.
You can try the service:
code.shareservices.netAnd not only to try, but to use already (of course, everything was done for free, and without any advertisements).
And finally ...
Now we are developing plugins for popular IDEs. For Visual Studio is almost done. In fact, the number of actions when using such plug-ins is significantly reduced.
There are still many interesting and useful features for the service. So, if anyone was interested, and if someone wants to participate in the project - we are all for it.
Moral: “Programmer - give a normal interface!” (C) some anonymus)
PS Although it is clear that the programmer should not make the interfaces, but in practice for some reason everything is different.