Show me your code and I will tell you who you are ...

    About every half a year, a new pastebin clone is promoted on the hub. I decided to continue this tradition. I present to you the result of my, as well as design, three-month work - the showmecode.com project .

    What is the difference between my version and existing ones?

    First design. Typically, authors of sites of this nature are in love with minimalism. This applies to me, but fortunately not a designer who took a chance and decided to make such a site in the style of web 2.0. If you are not particularly interested in the service itself, you should at least go in and evaluate the work of the Ukrainian designer.

    Secondly, the task was set to facilitate the organization of dumps, search, as well as tracking changes. Basically, the history of dumps has already been implemented by comrade lizendir, in his project dumpz.org with whom we have long been familiar and even worked together on the same job. But it did not give special advantages, since filtering or sorting by tags was not implemented. At the request of this feature, lizendir usually waved the phrase "send patches" ... Then the idea arose to do everything yourself.


    Thirdly, I wanted to provide a couple of social elements in the style of ratings, statistics, profiles, etc.

    Well, in the fourth, provide the API, as well as write programs for creating dumps directly from your computer, without going to the site.

    Initially, it was expected to seek financial support from investors to promote the site, but the crisis mixed up all the cards and left the site to its own devices at the initial stage of development. Nevertheless, I decided to finish it and try to popularize it on my own.

    What was used in the development?

    Since I am a python programmer, the choice fell on Django , although I initially thought about Werkzeug , but good people dissuaded: P

    As development progressed, some things turned into separate applications, here are a couple of them
    django-flashcookie- implementation of Ruby Reils flash messages via cookies. Despite the fact that there are quite a lot of similar applications, they all work through sessions. Problems begin when a client that does not support cookies (bots) comes to your site. In this case, each page transition creates a new session. I personally in one of the projects thus gained 500 thousand sessions per week.
    django-annoying - a bunch of all kinds of useful decorators, fields, etc. ... Even somehow it got on thisweekindjango radio.
    django-ninjapaginator - by the way a very cool thing, but in my opinion, apart from myself, no one understood the utility of this applique)))
    django-tagging2- this is still the alpha version, just clean all sql has been removed, now everything works through ORM but with more requests, although I tried to solve this problem using the cache. Also, the tagging manager is now added to a model that has tags.

    As a registration application, we used django-account , which was developed by the same lizendir

    . Also, versioning functionality was implemented using mercurial , which in the end can save a lot of space, because only diffs are stored in the mercury repository, and not all versions in full.

    I hope to write a report on website promotion in half a year, whether it brought profit, changes, impressions, etc. And now I would like to get a large portion of your comments: P

    Also popular now: