4 ms·
ProcessWire: CMS with a jQuery inspired content API
- awjr 11y agoAny idea why the functions do not return promises?
- patcoll 11y agoProbably because it is PHP.
- kyriakos 11y agohttps://github.com/reactphp/promise https://github.com/reactphp/promise
- hliyan 11y agoPHP promises? I can't quite put my finger on it, but this makes me feel very strange. As if they're not supposed to exist or something. I hope someone can articulate the reason (if there is one) better than me...
- MatthewSchenker 11y agoThat is just weird. I had to check if it was April 1.
- apeisa 11y agoWhy should they return promises?
- samuell 11y agoMore details on the idea and concepts behind the api here: https://processwire.com/api/concept/ https://processwire.com/api/concept/ What I find so nice is that it makes developing JSON based AJAX API:s and traditional "untemplates"* in pure PHP equally easy. For an AJAX API, just a few ProcessWire API calls and JSON serialisation, and for PHP "untemplates", just drop in your HTML/CSS/JS design and intersperse a few lines of ProcessWire API calls here and there, and off you go. To me, this is as close you'll come to both the designer and the developers dream, in one simple system. Sure, you can build technically more performant systems with Node or Go, but I think that is overkill for 90% or more of websites out there, which simply needs flexible content modeling, and flexible design, paired with a flexible API for any corner cases, and integrations with other systems. * (no need for a template language)
- clsource 11y agoprocesswire is awesome. I made an intranet system with more than 2K users and shines. ever after 1 year in full usage with 2 mobile apps and a website making queries to the system.
- MatthewSchenker 11y agoProcessWire is the most natural and intuitive PHP framework and CMF I have ever used! And the development community around it is amazingly friendly and knowledgeable, and always ready to help you learn.