CMS:COUCH
15 subscribers
18 photos
1 video
4 files
29 links
Unofficial community channel for CouchCMS. News, updates, tips&tricks, etc.
I love CouchCMS and invite YOU. Tell me what you've been working on and ask any question!

Donate bitcoin: bc1qafgrks8t9aealwh52k6ms2xwdse2reqarvem0a
Download Telegram
— Did you know? — The KFunctions file in this this repository contains all necessary information about addons - links to documentation, download page etc.
It is also divided into many sections that tell where the addon comes from.

☺️
— CHANGELOG: New Documentation —

Midware repository now includes a few missing bits of documentation.
Dear Friends, what tag or documentation part you request to see next?
____STACKOVERFLOW____

Colleagues! Post your couch-related questions on SO, tag #couch-cms! Will do my best to answer ☺️
https://stackoverflow.com/questions/tagged/couch-cms
CMS:COUCH pinned «____STACKOVERFLOW____ Colleagues! Post your couch-related questions on SO, tag #couch-cms! Will do my best to answer ☺️ https://stackoverflow.com/questions/tagged/couch-cms»
Fun fact: Did you know Gallery's pluploader actually allows to rename images before upload?

🥸
GALLERY ADDON
___

Drag and Drop Gallery addon has been re-uploaded to GitHub!
COUCH:TALK 👈👈
Dear subscribers — subscribe to the COUCH:TALK (https://t.me/couchcms_chat) channel which is a free chat. New posts in present channel will also appear there, so you will keep updated.
CMS:COUCH pinned «COUCH:TALK 👈👈 Dear subscribers — subscribe to the COUCH:TALK (https://t.me/couchcms_chat) channel which is a free chat. New posts in present channel will also appear there, so you will keep updated.»
♥️ ADDON RELEASE "Func-on-demand"

Couch now has a new 'autoloading' addon for 'cms:func' code snippets. To use <cms:call> with a func, we first need to embed that func code somewhere — this no more!! Check it out Tweakus Dilectus » Addon "Func-on-demand"
🔸 It also allows to upload funcs without source code to the server.
COMING SOON TAGS <cms:then>, <cms:done>

Couch as any PHP application is single-threaded. But it never meant that all operations are to be completed before the page is sent to user! We will be able very soon to send page to user and let him not wait, while processing is still continuing in full background. Similar to jQuery $().then().done(), Couch will have new tags: '<cms:then>' and '<cms:done>' — chained and detached from page-generating code! One obvious application is to send emails in background, create scripts for administrators a-la cron and more. Important, that Context, i.e. logged in user details and variable values, must be fully supported.
⚽️ SERVER SENT EVENTS

SSE is a great concept to add push-notifications. When page is fully sent to user, JS script initialized a connection to API and API sends back messages. Browser will keep the connection alive and server will send new message only when it is available. I am creating a new tag <cms:emit> that will help send messages from server. So far this functionality is for Admins only (and superadmins). If the server has many messages in queue it may send them very fast. I configured my server to send every 0.05 second (50 millisecond) and my message queue is a list of HTML tags, made of ASCII image-to-text converter. Loading starts after the page generation is complete. So when delivery to browser is finished, the PUSH notifications with HTML lines start coming.
CMS:COUCH
COMING SOON TAGS <cms:then>, <cms:done> Couch as any PHP application is single-threaded. But it never meant that all operations are to be completed before the page is sent to user! We will be able very soon to send page to user and let him not wait, while…
🍕COMING SOON TAGS <cms:set_interval> <cms:set_timeout>

Server-side code execution will be more 'tweakable' with configurable delays and max limit of iterations. Very similar to JS, some code may be run at intervals, after a delay or both after delay and interval, as your code demands.
💪 NEW TAG: delete_file

Deletes relevant to website directory and can clear PHP's error_log as well via param "@php". Click the link to see the README.