Last Wednesday while getting coffee I’ve started discussion with my coworker about creating image from smaller images in a way that the result image will look similar to our “pattern”. Next day script was ready. To be honest the hardest part was to get enough images to create our results from them. Now I have about 57000 images with 25×25 resolution, but i’m still not always satisfied with result. The bigger library the better results.
Continue reading “Fun with python”
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:
Continue reading “Creating patient form”
I’ve decided to use the command pattern. I know that so far the domain part is small and therefore it is rushing things a bit. But I want to have small, but working application.
My idea was to log every command execution, with its content. Then it will be easy to find out who and in what way messed with our app. I’m using tactician. With it it is really easy to plug in logging middleware…
Continue reading “Commands and logging into mongo”
Based on the earlier discussion, and my knowledge I’ve started implementing the diet module. So far It’s not enough code to write about. What is more important I’ve found out that my current implementation of patient module is rather procedural than objective. My mistake was to treat almost everything as data structure than living objects. Now It’s refactoring time! Continue reading “Approach at diet module, and important conclusions”
I’ve implemented things as I planned in a previous post. I know the code need refactor, but I need to understand the domain better to do it.
Here is link to current implementation:
After first discussion with the experts I’ve come to a conclusion that the domain has to be separated into two modules – patient and diet.
In the first stage of development I’ll focus on modeling the patient module.
Continue reading “First approach to modeling”
I’m PHP developer from Krakow, Poland. I’m writing this blog to learn no to teach. All constructive criticism is highly encouraged.
I enjoy discussions about patterns, testing approaches, technology, so if you want talk – do not hesitate to contact me.
Here I’m willing to write about my new project – It will be tool to help nutritionists to create diets and for they clients to follow them. My goal is to write software in Domain-Driven Design approach. My domain experts will be my two friends who have education and experience in work as nutritionists. In blog posts I’m going to write our discussions, my conclusions and domain understanding and sometimes also links to github commits.