Processing one billion database rows doesn’t need to kill your web server. Really, it doesn’t. Applying lazy evaluation ideas you can make your scripts handle as much data as there exists, never using more memory than one unit’s size (for example a database row). Using clever iterators, cursors and streams I’ll show you how you [...]
The PHPCR specification is a port of the Java Content Repository specification to PHP. It defines an API that combines the power of NoSQL databases with hierarchical data structures and versioning, powerful search and other features. On top of Content repositories, like Midgard2 or Jackrabbit, developers can implement the API to provide generic access to [...]
Starting with a demo web site that is not optimized, i will demonstrate step by step how the user experience can be improved. Improving the speed the end user experiences in his browser is more than writing efficient code. The goal is to reduce the time between the initial request and the moment the browser [...]
Estimating costs in a software project is always difficult. In particular, within the realm of web applications, blindly relying on estimates can not only be difficult, but also detrimental to the success of a project itself (we’ll see why). Nevertheless, customers (be them small or big) expect to know development costs in advance. They just [...]
Learn about what the PHAR (PHP Archives) format is all about. A PHAR is conceptually similar to a Java JAR but made to fit PHP’s needs. Hear how to use it to distribute your product to clients, why open source projects have started offering their projects as a PHAR file, run your application directly from [...]
Object-oriented programming is becoming the standard of PHP code; however, just sticking a lot of functions into a class is not enough to change the programming paradigm. What happened in languages such as C++ and Java, being used mostly procedurally, is happening in the PHP world. During this talk we will discuss the pitfalls of [...]
Symfony CMF, along with PHPCR standard, is the new trend of content management in the PHP ecosystem. Here we’ll see details and future path of this solid PHP project.
So you’ve heard that PHP supports extensions. But what are they exactly, what can you do with them, and what can’t you do with them? And mostly, why would you or would you not want to spend time writing them? This session will introduce you into what PHP extensions are, and what they can do [...]
Symfony 2 is the new wave in the PHP ecosystem, while TDD adoption grows steadily. This session brings the two together and shows test driven development for real, in a live coding session as if it was in a day-by-day activity.
In contesti in cui l’ordine di misura delle grandezze è il milione una piccola modifica permette facilmente di risparmiare milioni di operazioni con benefici per tutti: infrastruttura, utente, developer, cliente. La memoria è spesso una risorsa sottovalutata e non sfruttata al meglio. È invece possibile migliorare in modo efficace parti dell’applicazione che altrimenti consumerebbero risorse [...]
The cloud opens a new range of options for developing in ways that a very short time ago seemed like science fiction. The Zend Developer Cloud service enables developers to instantly get started developing complex PHP applications, freely and painlessly – while enabling cool new workflows for developing & collaborating with developers around the world. [...]
Handling lots of real-time streams of information, when Twitter alone is producing 250+ million tweets a day and 27 million links to news and media, can be a daunting task. This talk will cover how to develop a platform that can deal with billions of items per day, perform complex analysis and serve thousands of [...]
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 [...]
Drupal è uno strumento che permette di sviluppare applicazioni web con rapidità e semplicità, in questa sessione analizzeremo le tecniche che permettono di trasferire le stesse metodologie per lo sviluppo di applicazioni mobile. Faremo una overview di applicazioni già sviluppate, sull’utilizzo delle API e dei moduli contrib e su come creare applicazioni native integrando framework [...]
In this talk we will see how to use MongoDB in Symfony2 projects to speed up the development of web applications. We will give an introduction of MongoDB as a NoSQL database server and look at the options on how to work with it from Symfony2 and PHP applications.
Hai visto? Ho usato un db NoSql! Il layout? Tutto HTML5+CSS3! Il codice è una figata, ho anche usato un microframework! E tu, qual è l’ultimo lavoro fico che hai fatto? Giumla dici? Vabbe’… Durante questo mini workshop @cirpo e @_orso_ svilupperanno un’applicazione utilizzando quante più tecnologie “on the edge” possibili. La prossima volta potrete [...]
Using PHP in a continuous deployment environment poses a number of unique security challenges. This talk covers the application security tools and techniques Etsy has developed while running a worldwide marketplace at scale. Rather than standard topics like understanding and finding CSRF/XSS/SQLi vulnerabilities, this talk will primarily focus on new and interesting approaches to application [...]
Arguably the most underestimated feature of PHP, the Streams Layer allows easy access to any data source using standard file i/o functions. Want to seamlessly use Amazon S3 for your data layer? What about an easy caching layer? Yep, you can do that too.