I have a project once which basically an SMS-based application using world's most popular IoT device: Raspberry Pi. I'd like to share some of my findings, so I guess this post will be part one.
Sometimes when developing web application, we need to allow users to upload some files. It could be avatar image, introductory video, etc. The first issue we'll encounter with default Nginx and PHP installation is related with upload file size. To encounter this issue, we need to adjust the maximum value parameter for both Nginx and PHP.
Most of the time when we want to display a dropdown or list all records on database, we need to order the column in same condition throughout the application. Calling
orderBy everytime we need to display the data could be avoided using Global Scope.
There's a time for everything, for everyone. So does there's a time when server crashes and your data gone. Off course, that's happened if you don't have any backup.
When it comes to API development, my weapon of choice for testing my code is Postman. I start using Postman since it's still a Chrome App. Now it encourages its user to use Postman Native app. I definitely love the idea, but all I can find is a download link without any installation document for Linux Mint.