Matheus Marabesi website, sharing ideas about software development - Listing posts on page 11

PHP Design Patterns

If you are starting with good practices in PHP I would like to recommend the PHP design patterns it is awesome. The book start with a short introduction in Object Oriented Programming , UML and the concepts of Design Patterns. What are the patterns that I will learn? The book divides in three sections the patterns, the creational patterns, structural patterns and Behavioral patterns. Inside of each section is compound of two patterns and the list bellow explain to us which are they. Creational section Factory Method Prototype Structural section Adapter Decorator Behavioral Template Method State In the end … As a plus...

Raspberry Pi - Meeting the RPi-Cam-Web-Interface

If you are not familiar with raspberry PI please go ahead and see this web site, I’m not going to be talking about what is and what it can do rather I want to go further and focus on just the raspberry PI + camera. RPi-Cam-Web-Interface is a simple interface that enable the users to interact with the camera module on the raspberry PI, it has a lot of documentation and the code is really easy to understand if you’re a programmer. The interface is very easy to use and it has a lot of features such as resolution adjust, control of...

PHP basics, are you sure? So tell me how to use octal system!

The program language PHP is a weak typing program language and with that comes a few tricks. The first one is the octal format, can you guess how to write a octal representation in PHP? <?php echo 01234; What the code above will output? For our surprise the code will output 668! It is because in PHP the octal format is represented adding in the beginning of the string a simple 0 (zero). Doing that the PHP will convert the given string in this case 1234 to 668 decimal. You can find further information about that in the PHP documentation...

TDD by example

Are you not using TDD ? TDD by example is a perfect book if you are looking for the first step into the TDD world. I would say the book was divided into two main parts, the first one is how does the TDD works and how to do your own tests using a simple abstraction, by the way the problem presented was about currency. The second part is focus on creating your own TDD framework. And here goes a tip for python developers, the second part of the book where Kent Beck give us a explanation of what is...

Are we front-end/back-end developers?

How does the back-end developer could improve the front-end development? Being a backend developer is pretty exciting. PHP, Java, ruby and loads more, within database, algorithm with high performance and the most of the time it is the part that the users don’t see. The front-end path Design Photoshop HTML/CSS everything else The back-end path algorithms  (logic programming) design-patterns database How does these path cross? The front-end community has increased a lot in the past few years with a lot tools of automation such as grunt, gulp, sass, less etc. In the early days the front-end didn’t need to understand...

The Art of Readable Code

Have you ever wonder what was the best comment to write? Have you ever had to read twice the same code to understand what that was about? Don’t worry this book is for you! The Art of Readable code for rescue While I’m writing code some times I ask to myself if the name I gave to that variable was the right or if was the best choice to put that name The art of readable code is about that and much more. With simple images in the beginning of each chapter the author caught my attention to dive deep...