Skip to content

Monthly Meeting - August/2016

Photo of Rafael Dohms
Hosted By
Rafael D. and 3 others
Monthly Meeting - August/2016

Details

Schedule

19:00: Welcome Drinks
19:30 - 20:30: Talk
20:30 - 20:45: Raffles, and announcements
20:45: Social, drinks and Pizza

Talk: Money often costs too much

A large proportion of what developers deal with is the manipulation of money. However, money is not a first class citizen in PHP. There is no built-in type, while there is one for date manipulation. This is not only a problem for multi-currency applications, there are also drawbacks for not using an object in single-currency applications.

Problems occur when calculations are rounded or when an amount is shared among domains. Furthermore, how should we deal with amounts that overflow the maximum or minimum integer in PHP? Existing concepts like immutability, value objects, final objects, single responsibility, decorators and composition can help to solve these issues. The talk will zoom-in on the theory of those concepts and how they contributed to the popular Money PHP library.

Speaker: Frederik Bosch

Frederik Bosch is partner and CIO of Genkgo, a business focusing on community software. He started developing when he was 13 and wrote his first application in PHP 3.0. Nowaways his primary programming languages are PHP, Javascript and Rust. Frederik is member of the Money PHP team. He finished a master degree in fiscal economics. In his spare time he likes to play tennis.

Photo of AmsterdamPHP group
AmsterdamPHP
See more events
Booking.com
Herengracht 597 · Amsterdam