⬆️ ⬇️

LLeo (Leonid Kaganov) opened his own WebBBS (based on AJAX) to access Fidonet from the Internet

[ ] Leonid Kaganov (in the photo on the right) is best known as the screenwriter of a number of humorous programs from the OSP-Studio series, as well as the author of a dozen science fiction books and the script for the cartoon Our Masha and the Magic Nut (this cartoon has recently been criticized for eroticizing children's body).



Kaganov, under the pseudonym LLeo, also long ago operates in Fidonet (where he moderated the OBEC.PACTET echo conference, for example) and on the Internet (where he authored his own blog on his own engine, which he opened in December 2009).



In April 2010, I fluently mentioned at Habrahabr that LLeo announced its intention to compose a WebBBS of its own that would work on top of a PhFiTo PHP echo processor written by Alex Kocharin. Therefore, I consider it possible today to return to this topic and tell that by the beginning of January of this year LLeo fulfilled his intention (and for Kocharin this was the impetus for some further development of PhFiTo, judging by his CVS). New WebBBS, working on the basis of AJAX, posted at http://lleo.aha.ru/fido and continues to be slowly refined.

')

A distinctive feature of this WebBBS is the automatic processing of raw URLs "http: //" that appear in the text of the displayed fidpochta. Addresses ending with image file extensions are replaced by the images to which they refer. Addresses leading to video hosting sites (for example, YouTube) lead to the appearance of video players, and addresses of MP3 files to the appearance of sound players. And so on.



It is curious that addresses in the FGHI URL format (that is, corresponding to the uniform form of hypertext Fidonet addressing developed by me) are made external, that is, they lead to another WebBBS (on the FGHI URL, the gate developed by Smolensk fidoshnik Konstantin Kuzovy). The very development of LLeo refers to messages by their numbers in the database (for example, the address http://lleo.aha.ru/fido#area:ru.ftn.develop|id:39772 simply means 39772-e message); This way of addressing is tied to the state (or rather, filling) of a specific instance (configured server) of WebBBS, but it is not one.



When reading the source code, it is easy to notice that Kaganov did not resort to any standard javascript library (for example, jQuery), but used a number of independently written functions , called zabil (), vzyal (), zakryl (), otkryl () and so on Further. They provide DOM manipulation, creating “dialog boxes” using HTML tools, handling keyboard events, working with the server via AJAX, and so on. Probably, this approach is associated with the reuse of the LLeo blog code, which was open in December 2009, and was developed much earlier (the appearance of jQuery took place in 2006, and Kaganov’s blog has existed since 2000, judging by the table of contents ).

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



All Articles