CRUD (Create/Read/Update/Delete) is something that developers do quite a bit of. Frameworks can help with this, but there’s still a fair amount of code you’ll need to write for every CRUD screen you put together. One particular area is the difference between Create and Update. For many of the projects I’ve worked on, Create and […]
laravel
How to display errors in Laravel 5.4 with Twig / TwigBridge
As Laravel ships with Blade, the Laravel manual gives templating examples in Blade. For displaying basic variables in a Twig template, it’s pretty simple: [code language=”html”] {{ title }} [/code] However, it takes slightly more effort to display form validation errors.
SEO and technical issues we encountered in Drupal 7
Since I joined City A.M., we’ve been gradually migrating away from Drupal 7 to a fully bespoke CMS built on Laravel. We had planned to do this anyway, but we accelerated parts of the migration as we hit issues that we were unable to solve. Here’s a summary of the main ones.
Rebuilding the post editor at City AM
When I joined City AM, one of the first things I experienced was the post editor. It did the job, but it was not particularly quick or intuitive to use. We had to add new fields in a predefined way – and doing so usually added extra work for the content team. Plus, there were […]