27.Jan.2012 at 15:01 by Tobias Zander
Patrick Allaert (27.Jan.2012 at 14:40)
Talk at PHPBenelux Conference 2012 (English - US)
We all have certainly learned data structures at school: arrays, lists, sets, stacks, queues (LIFO/FIFO), heaps, associative arrays, trees, … and what do we mostly use in PHP? The “array”! In most cases, we do everything and anything with it but we stumble upon it when profiling code.
During this session, we'll learn again to use the structures appropriately, leaning closer on the way to employ arrays, the SPL and other structures from PHP extensions as well.
Quicklink: https://joind.in/4753
Track(s): Combell room
By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.
If the claim is approved you will be able to edit the information for this talk.
Are you sure?
27.Jan.2012 at 15:35 by Paul de Raaij
Interesting talk with a clear presentation of the available datastructures.
Missed some real world usages of some of the data structures.
27.Jan.2012 at 16:51 by Jurgen Rutten
Talk reminded me of a lot of things I already knew, but don't always use on a day to day basis, nice to get rekindled with this stuff again
27.Jan.2012 at 19:32 by Yohann Marillet
Didn't know that much about the SPL classes concerning the arrays ! Great stuff
27.Jan.2012 at 19:49 by Richard van den Brand
Enjoyed the talk, learned quite a few things about arrays and PHP internals. Not some rocket science, but things to take into account on my next project.
28.Jan.2012 at 17:45 by Taco van den Broek via api
expected a bit more than just an overview of spl classes: more real world examples and insights.
28.Jan.2012 at 20:08 by M. de Krijger
Great insight in PHP's inner low level workings. It has obviously lots to do with the fact you're a C developer as well (APM) :-). Although not all data structures are used on a daily bases, It can't hurt to learn something about it's inner workings to improve performance on large scale data processing. Thnx
28.Jan.2012 at 23:37 by Anonymous
Great insights on ways to use the SPL library. The slides were very good as well.
30.Jan.2012 at 08:35 by Sjoerd Peters
Good talk, great reminder on when to use the different structures.
31.Jan.2012 at 20:16 by Hans Vandenberg
Very good presentation!
I appreciated learning some internal details concerning the PHP arrays.
Was a bit scared to learn what a stack is for and having yet another SPL talk... But that was not the case at all! Thumbs up!
31.Jan.2012 at 20:29 by Lineke Kerckhoffs-Willems
Loved the way you showed examples from before (using arrays) and after (mostly using SPL) and advantages and disadvantages of both approaches. I will definitely look again at your slides and I will present it at our company so everyone can learn! It wasn't academic like your intention was so the message came through.
I agree with the other comments that presentation skills can be improved. However, that didn't bother me in receiving the message you wanted to sent. Well done!
02.Feb.2012 at 10:40 by Joshua Thijssen
A little bit late, but some comments on your talk as promised:
I'd like the photo examples a lot. It visualizes directly how the structure works internally. The visualization of the hashtable is also very nice, but you didn't spend time on the downsides (resizing/rehashing,hash collisions etc).
Not a lot of people know about the problem with spl_object_hash and possible reusage of the hash by other objects, so that's something I was happy to hear :)
Some downsides:
- Your english isn't always very clear, which might make it difficult for some people to follow.
- The splObjectStorage is perfect for using objects as sets, but the downside that it uses a lot of additional memory I didn't hear.
- When doing binary operations you assume that people know about binary operations. There might be some emphasis on how they work bitwise by showing examples on AND, OR and XOR (and also the shiftleft operator and what it does).
- The bloomfilter, although very interesting, I think it would be more a structure for a 103-talk. There are very valid reasons to use them, but i'm not sure if belong between the other structures.
All in all, I'd like the presentation a lot and even learned some new things (Derek's quickhash).
17.Feb.2012 at 16:21 by Anonymous
A bit late to comment, but you know how busy PHP developers are ;)
The talk was really excellent! Congrats!
I especially loved the part about the different "Sets" implementation as well as the very cool photo quiz!
Most topics are generally for beginners, it was good to see some in-depth content about PHP itself.
Well done!
Mathias
27.Jan.2012 at 14:34 by Rowdy Rabouw
Interesting info, but Patrick needs to work on his presenting skills.