13

Tips and Tricks

This chapter provides some tips and tricks that will help you as a developer to solve some problems that may eventually appear in the construction of a web application.

We will first start by learning what the required methods for creating mapped models, that is, classes that are connected to database tables, are.

After that, we will learn how to customize filters and validators to implement specific business rules in the model layer.

Then, we will understand the Laminas view layer better, learning how to produce JSON responses, manage file uploads, and change the application layout.

Finally, we will be mastering the Laminas controller layer, by learning how to detect AJAX requests, how to exchange messages between the controller ...

Get PHP Web Development with Laminas now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.