Jump to content

knarf

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by knarf

  1. I thought when only using in-memory PageArrays the queries are not executed in mysql. I know my question probably sound quite stupid, and in most cases it wouldn't make any sense. I just want to create a bunch of pages on each request and query them. I only want to bootstrap pw, I have no need for a backend. Something like this: $pa = new PageArray(); foreach ($mydata as $data) { $p = new Page(); $p->title = $data['xy']; $pa->add($p); } // and later I want to query my pages like this: $pa->find('title=abc');
  2. Is it possible to use processwire without a database? I would like to use the great selector api without having to save all my pages to a db.
×
×
  • Create New...