Masterizing PHP Data Structure 102

Patrick Allaert (27.Jan.2012 at 14:40)
Talk at PHPBenelux Conference 2012 (English - US)

Rating: 4 of 5

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.

Who are you?

Claim talk

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?

 
Comments closed.

Comments

Rating: 3 of 5

27.Jan.2012 at 14:34 by Rowdy Rabouw

Interesting info, but Patrick needs to work on his presenting skills.

Rating: 3 of 5

27.Jan.2012 at 15:01 by Tobias Zander


Rating: 3 of 5

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.

Rating: 3 of 5

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

Rating: 5 of 5

27.Jan.2012 at 17:53 by Iulian Naicu

Great talk! Presentation skills will come in time ;)

Rating: 5 of 5

27.Jan.2012 at 17:56 by Tudor Marciu

Really cool dev techniques, learned a lot.

Rating: 5 of 5

27.Jan.2012 at 19:32 by Yohann Marillet

Didn't know that much about the SPL classes concerning the arrays ! Great stuff

Rating: 3 of 5

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.

Rating: 4 of 5

27.Jan.2012 at 21:39 by Doru Bratu

Interesting presentation & info. Patrick was a little shy...

Rating: 4 of 5

27.Jan.2012 at 21:45 by office@thisway.ro

good information, almost as good presentation. thank you

Rating: 4 of 5

28.Jan.2012 at 09:14 by Dave Hoebe

Good content, learned a lot. Presentatation skills can be better

Rating: 2 of 5

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.

Rating: 4 of 5

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

Rating: 4 of 5

28.Jan.2012 at 23:37 by Anonymous

Great insights on ways to use the SPL library. The slides were very good as well.

Rating: 3 of 5

29.Jan.2012 at 23:59 by

Nice info although not a bit dry at times. But always good to know.
Presentation skills leave room for improvement

Rating: 4 of 5

30.Jan.2012 at 08:33 by Sjoerd Peters



30.Jan.2012 at 08:35 by Sjoerd Peters

Good talk, great reminder on when to use the different structures.

Rating: 5 of 5

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!

Rating: 4 of 5

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!

Rating: 4 of 5

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).

Rating: 5 of 5

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

Cloud server hosting by Combell Combell      © Joind.in 2012