July has come around and hopefully we have all melted into the ground from the great Heatwave of 2015, but if we have not, its time to talk about ORMs and DBs at Rockstart!
19:00: Welcome Drinks
19:30 – 20:30: Talk
20:30 – 20:45: Raffle
20:45: Social, drinks and Pizza
Talk: Rethinking Object Relational Mapping
ORM is helpful to simplify the interface to your database. As a drawback it can have very bad performance compared to writing SQL manually. In this talk I’ll present a different approach which combines best of both worlds: a simple interface ánd good performance. The framework I created for this purpose is called TinyQueries.
TinyQueries is currently being tested by the Vrije Universiteit. Preliminary results are promising and show that TQ is close to writing SQL manually which is the optimal performance possible.
In the talk I’ll give examples of writing queries in Propel or CakePHP and compare them to equivalent queries written as a Tiny Query. Furthermore I’ll show how you can use TinyQueries as an alternative for document stores like MongoDB and how you can build RESTful API’s with it.
After the talk you will be able to:
– when ORM’s are OK to use and when not
– have a better understanding of why ORM’s are slow
– try out and play with TinyQueries and see if it might suit into your own projects
Speaker: Wouter Diesveld
I’ve studied Artificial Intelligence, live in Amsterdam, play tennis and draw cartoons. I’ve been developing in many languages and use PHP for more than 12 years. I’ve always been interested in trying to keep things as simple as possible (because otherwise I cannot understand) and make code as fast as possible (because otherwise I have to look at spinners – spinners used to fascinate me but I think over the years they lost some of their wildness). I work both as freelance consultant and developer.
We got some awesome stuff to give away this month, so make sure you attend another awesome meetup!