is a few months Modx use, so maybe a little young compared to some of you, but I was thinking it would be nice to create an extra comunity with the general functionality
eg.
SearchJson
SearchArray
SearchPlaceholder
ConvertTo ...
etc. etc.
What do you think ?
FerX - Developer at Eracom s.r.l.
-
☆ A M B ☆
- 339 Posts
Hi FerX,
do you mean a tool for transforming data from one type to the other? Array to XML, csv to JSON etc?
also.
Now I started writing all the php functions in snippets. As soon as I have something ready I send a link.
FerX - Developer at Eracom s.r.l.
-
☆ A M B ☆
- 339 Posts
I don't know where you are going with this, but it sounds like I'd like the category. Its a swiss army knif for data, if I get you right.
I thought of an open data tool last year, maybe this is somehow similar? Reshaping data, fetching, republishing.
What are possible use cases for your extra?
the idea is for now this:
https://github.com/FerX/PhpCommands
terminated all direct commands php would introduce even utilities
for now I have not even finished the creation of extra package ;-(
FerX - Developer at Eracom s.r.l.
-
☆ A M B ☆
- 3,141 Posts
That's an interesting project. With the MODX templating I'm always a bit weary when people start doing too much logic in them as it tends to get messy because the syntax wasn't built for it... (and there's the whole "separation of concerns" thing) ... but having spent some time working with Twig I can definitely appreciate the ability to do more in the template.
@ferx77
you know pdoTools with its fenom-parser, which allows to run php-commands?
https://docs.modx.pro/en/components/pdotools/parser#Fenom
interesting, but from my point of view comes out too by modx schemes.
I need help for my project because I can not build the package :-(
FerX - Developer at Eracom s.r.l.