Drupal Thrives PHP! But
Have you've ever thought about your code, php or;
- Dreamt about something like "each" you can have on lists in Javascript
- Wondered - is there a way to execute block codes like in Ruby
- Pondered in your heart - Is there an alternative to "foreach"
- Googled for something like marvellous "callbacks"
- Tried to understand closures
- Imagined - deferencing (What on earth is that?)
- Frowned - How on earth even Facebook can run PHP?
And many other sleepless nights ...
What do these things mean?
If you see any of the questions above familiar, then this talk is for you, come along and find out.
Jump in to my session and explode your coding creativity.
I will look at the aspects and patterns used in other programming languages, like javascript and ruby and how they can be implemented in php. I will also give a look at the newest php versions and new features in them relating to array and list manipulations, but not strictly limiting to these only.
Why foreach loops are messy, and should be buried? How can you get anything from the list with a single line of code, not leaving the scope?
So, summing up topics that I will cover;
- Anonymous functions and why are they important,
- Multithreading in PHP - is it possible,
- Newest features in PHP 5.4 and above,
- Async calls and promises are they useful,
- Executing code blocks - do or don't,
- Great methodologies you can borrow from other programming languages.
These any many other tips and tricks will be covered in my talk. I am aiming to relate my talk towards Drupal 8, however listeners should find valuable ideas on PHP and good coding practice in general.
I am convinced you will enjoy the session!
- Log in to post comments
Comments
Anonymous functions?
Is this a session on anonymous functions and functional programming? That's what it sounds like. :-) Not that I'm against it, but the description is very very vague. Will you be covering promises?
The description sounds exciting but I don't really have any idea what it's about.
Thanks Crell for you comments
Thanks Crell for you comments and suggestions.
I've extended detailed description of my talk and I hope this removes vagueness.