News for hackers. Stuff that matters.
Re:ProcessWire: CMS with a jQuery inspired content API by samuell on Wednesday October 07, 2015 @08:13AM (#10345490)
More details on the idea and concepts behind the api here:

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)

Re:ProcessWire: CMS with a jQuery inspired content API by MatthewSchenker on Wednesday October 07, 2015 @09:57PM (#10350426)
ProcessWire 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.
Re:ProcessWire: CMS with a jQuery inspired content API by clsource on Wednesday October 07, 2015 @04:18PM (#10348775)
processwire 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.
Re:ProcessWire: CMS with a jQuery inspired content API by awjr on Wednesday October 07, 2015 @07:56AM (#10345435)
Any idea why the functions do not return promises?
Re:ProcessWire: CMS with a jQuery inspired content API by patcoll on Wednesday October 07, 2015 @08:04AM (#10345460)
Probably because it is PHP.
Re:ProcessWire: CMS with a jQuery inspired content API by kyriakos on Wednesday October 07, 2015 @08:13AM (#10345494)
Re:ProcessWire: CMS with a jQuery inspired content API by hliyan on Wednesday October 07, 2015 @08:39AM (#10345597)
PHP 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...
Re:ProcessWire: CMS with a jQuery inspired content API by MatthewSchenker on Wednesday October 07, 2015 @09:59PM (#10350435)
That is just weird. I had to check if it was April 1.
Re:ProcessWire: CMS with a jQuery inspired content API by apeisa on Wednesday October 07, 2015 @04:35PM (#10348885)
Why should they return promises?