Raxan, or web programming alone

    I came to the world of web technologies around 1998. The administrator of the web server, wrote a little bit of Perl and PHP, but at the same time I never did professional web programming - so, I’m rather conducting several middle-hand projects for myself. Well, because the admin is bad because it cannot figure out the jambs of the developers and tell you where to fix it. Again - here you need to get the admin panel, there is something else ...

    Then - family, children, I started to run out of time and I fell out of web development. And when he returned a few years later - dear mother, how everything has changed. Instead of the usual table layout - block, and even everything is ambiguous; instead of lonely js-scripts - Jquery and other frameworks. The world does not stand still. The problem is ripe ...

    It’s good when large studios are engaged in web development, where a whole team sits in each direction. And if the project is small, it turns out that a modern lone web developer should know 5 languages : something server-side (PHP / Perl / Python etc), SQL, HTML, CSS and Javascript. If you are engaged in professionally developing fulltime, it's probably still possible to remain “in the stream” in all directions, but if you just need to write small applications occasionally ... I think I'm not alone with such a problem.

    About the server part - more or less clear: the server part always works the same way. But the features of layout and JS in various browsers and even in different versions of these browsers are a stone that you can stumble on and smash your own head, because this is all worked out exclusively from our own experience. “For chrome, we’ll write such a style, but in IE this tag doesn’t work and you need to write a different one instead” - probably all came across. Well, with regard to layout, in simple cases, you can use the same Bootstrap, but JS ...

    As a result, I thought: why, one wonders, in the 21st century I should write an event handler in JS on my knee, send ajax requests to the server, then handle these requests and send answers to PHP (for example), then the processor of these answers again but on JS ... break your leg yourself. And he began to search. And found.

    There is such a framework in PHP - Raxan . In terms of functionality, it’s certainly not suitable for top-end frameworks - working with the database, localization and other goodies are, frankly, in a very embryonic state. But its killer-feature is different: it allows you to work with page elements from PHP. That is, I can directly in PHPwrite "if a button with id =" mybutton "was pressed on the page, then put such and such text in a div with id =" errortext ", and make the button inactive." And it will be so. Moreover, it is precisely in this mode of operation that it is oriented.

    You don’t have any ajax, handlers - a couple of inclusions are enough. Generally not a line of code in JS. Moreover, this mechanism is easily integrated not only into new projects, but also into existing ones.
    I won’t especially describe here, for those who are interested, the site has documentation and many examples . I’ll say from myself that I wrote a couple of intranet web applications on this framework, although I had to suffer.

    There is only one minus - the project, alas, stopped in development more than two years ago. Maybe the maintainer got tired, or maybe something else - but ... not a developing project = dead project.

    And here's a quick question for a respected community: maybe someone knows similar functionality as part of other, more lively PHP frameworks? Or separate libraries? The idea is beautiful ...

    Also popular now: