Creating patient form

Welcome

I know this may sound weird but I’ve fallen in love with symfony. So far it feels like the code was writing itself. I’m hoping that it will remain this way through whole project. Here you can see how I’m creating form:


So far patient is not saved anywhere, but UI does not need to know about it.
Also as you can see I created service to generating UUID. I’m using UUIDs for few reasons. Thanks to it it’s possible to create commands. With autoincremented ids I would have to execute command, then query for last inserted ID – two operations instead of one. Also using UUIDs leaves more options when choosing persistence.

Leave a Reply

Your email address will not be published. Required fields are marked *