Skip to content

Telegram post manager #18

@petuhovskiy

Description

@petuhovskiy

Imagine post in telegram.

Content of post is some object with body(string) which is likely to be formed with template, data in which was injected from dependencies.

I'll give example with post about article.

It can look like this:

Take a look at this awesome cat photos.
I'll give it solid 10/10.

http://photos.cats/cool

And it's ok, but you should remember that I like to keep track of all kinds of data, including data which builds up this post.

In that case:

  • {{url}} = http://photos.cats/cool
  • {{rate}} = I'll give it solid 10/10.
  • {{description}} = Take a look at this awesome cat photos.

And that's still ok, but that's when bugs come in.

If I'd decided to change my mind about description or found a bug in url, should I update data in all places? Of course it must be updated, but not manually. The idea is to update it automatically in all dependent places, aka using triggers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions