Content Management System "Ёжик"
Version 2.26.1402
A fully functional admin panel for managing any website content and settings. It displays view statistics, visitor logs, allows you to create backups, manage users, and more.
Each website page is a separate file. The system will understand PHP, Markdown, HTML or plain text. The admin panel will allow importing (creating new pages) from Markdown or CSV.
"Ёжик" - is a flat-file system. Everything is stored in files. Any data can be edited in a standard Notepad (or through the Admin Panel). The admin panel also allows you to edit images a little.
Just like the Admin Panel, pages support multiple language output options. Modules and templates contain "language constants" files. You can create and share your own translations.
Full commenting with "likes" and moderation is available. The comment module understands Markdown markup. Each comment is stored in a separate file.
The system allows new users to register independently. Roles and permissions are provided for them. Activity is tracked, and the ability to ban unwanted users is also available.
Create a ZIP archive of your website with one click. All pages deleted through the Admin Panel are automatically saved in a backup for later restoration. This is another advantage of the flat-file system.
Tags can be added to any page to link content beyond categories. Tags can be grouped. Just like pages, different languages are supported.
You can define a module output anywhere (either on a page or in a template). The most popular ones have already been created: "Menu," various "Galleries," "Tags" and "Comments" output, and a "Likes" module.
The only "door" into the system. Requests are verified, and if invalid, access is denied. The system doesn't store user passwords. Only hashes are stored, which change with each request.
PHP is a language with great potential. The system doesn't require learning third-party templating engines or frameworks. The only addition is native JavaScript, as it's indispensable.
You have the right to modify any file in the system to suit your needs. Look for flaws. Share your developments with everyone. The only limitation is not to require payment. You can only politely ask ☺.
System installation - standard unzipping
"Ёжик" is built on the Albireo Framework.
Slightly customized and heavily redesigned, even before the Albireo CMS appeared.
The main difference from Albireo CMS - "Ёжик" is free., as permitted by the MIT license for the Albireo Framework
MAX doesn't even allow you to fully try out or evaluate the system before purchasing. Just promises that it will be "this way and that way". ☺
The following features are inherited:
Dream Routing
Any page can have any URL. That is, what is specified in the page file will work that way. There's no need to tweak anything or edit other files: just specify the URL in the page file, and it works right away. Move the file to any folder—it doesn't matter—the page URL won't change until you change it. If a hardcoded page URL isn't enough, use the additional slug-pattern field, which allows you to use regular expressions. Just like in the "large" frameworks.
REST
When routing, you should consider not only the address, but also the HTTP sending method. Browsers only use the POST and GET methods, which means that to edit, for example, using AJAX, you need to use a regular POST request, but place a field with the method name inside it. This is a modern, practically standard, way of working with REST.
"Ёжик" also supports this. For example, there is a page with a form. It sends a regular POST request to this is the same address (URL). The request handler is placed in a file with the same address (URL), we only specify the method.
It doesn't matter which method is used; you can come up with any name ☺.
Smart Cache
Typically a cache has a lifetime. Say, 15 minutes. After this time, the cache becomes outdated and needs to be rebuilt. But in reality, the data in the cache may be perfectly valid, and its lifetime has nothing to do with data expiration. This method of working with cache is used universally, that is, everywhere—evaluation based on its lifetime.
In "Ёжик," everything is different. There is a directory pages, and the system looks at the last change in this directory, and if the requested cache is older, it marks it as invalid.
This means a very simple thing - you don't have to think about the cache as such at all. Change the page content—the cache will automatically rebuild itself. If there are no changes for three years, the cache will work perfectly all this time without updating.
Interested
I work on website development intermittently; it is a hobby of mine. Therefore, to grow the project, there is a strong need for interested and passionate specialists. (especially for JavaScript).
I invite everyone who wishes to join steller21@yandex.ru