Thoughts, opinions and day-to-day ramblings
A quick note on how we've just replaced a missing index on a Perch site belonging to one of our clients.
The script below will load all posts, iterate over them and regenerate the index:
include('perch/runtime.php'); $API = new PerchAPI(1.0, 'perch_blog'); $Posts = new PerchBlog_Posts($API); $posts = $Posts->all(); if (PerchUtil::count($posts)) { $c=1; foreach($posts as $Post) { echo "Reindexing post {$c}\n"; $Post->index(); $c++; } }Published
Dev Partners was founded by Rob Sherwood and Jason Wheeler to help businesses solve real-world problems with smarter software. With decades of combined experience — from media and publishing to aviation and eCommerce — we’ve seen how messy systems can hold companies back.
Our mission is simple: cut through the noise, analyse your processes, and build software that actually fits the way you work. When you work with Dev Partners, you work directly with us — no layers of account managers, just two founders who care about getting it right.
Your enquiry comes straight to Rob & Jason - we’ll reply within one business day.