Comments:"PHP Weekly. Archive. May 23, 2013. News, Articles and more all about PHP"
URL:http://www.phpweekly.com/archive/latest.html
Tutorials and Talks
MongoDB Indexing, Part 2
In part 1 of this series we had an introduction to indexing in MongoDB. We saw how to create, use, and analyse queries with indexes giving us a good foundation to build on. In this part, we’ll take a look at a few more small but important concepts, like indexing on sub-documents and embedded fields, covered queries, and index direction.
Offline Processing in PHP with Advanced Queuing
Offloading slow batch tasks to an external process is a common method of improving website responsiveness. One great way to initiate such background tasks in PHP is to use Oracle Streams Advanced Queuing in a producer-consumer message passing fashion.
Zend Framework 2 – Hydrators, Models and the TableGateway Pattern
Zend Framework 2 comes packed with an assortment of new features and functionality and greatly streamlines how common scenarios, such as interacting with datasources and application configuration and caching, are implemented.
Speedy Sites: Building the Stack
Barney Hanlon explains - How do we define "the stack"? For the purposes of this article, the stack represents everything between the user and the PHP generating the content they see. As with all performance tuning work, you will need to have a sandbox to try out these techniques, and see what works for you.
How to Write Testable and Maintainable Code in PHP
Frameworks provide a tool for rapid application development, but often accrue technical debt as rapidly as they allow you to create functionality. Technical debt is created when maintainability isn't a purposeful focus of the developer. Future changes and debugging become costly, due to a lack of unit testing and structure. Here's how to begin structuring your code to achieve testability and maintainability – and save you time.
Openbiz Cubi: A Robust PHP Application Framework, Part 1
Openbiz Cubi is a robust PHP application framework giving developers the ability to create business applications with minimal effort. In this two-part series learn the concepts and steps necessary to create your own business web applications with Cubi.
Speed up PHP on NFS with turbo_realpath on CentOS
If you run a website based on PHP, and have your source files on a network file system like NFS, OCFS2, or GlusterFS, and combine it with PHP's open_basedir protection, you'll quickly notice that the performance will degrade substantially.
Google App Engine, PHP and Silex. Setting up a Login Provider
Last week Google announced the PHP support for Google App Engine (GAE). PHPStorm, the great IDE for PHP development, also announced support for Google App Engine PHP. For this reason it's now time for Gonzalo Ayuso to hack a little bit with this new toy.
Offline Processing in PHP with Advanced Queuing
Offloading slow batch tasks to an external process is a common method of improving website responsiveness. One great way to initiate such background tasks in PHP is to use Oracle Streams Advanced Queuing in a producer-consumer message passing fashion.
Best Tools for Testing PHP Code Online
PHP is such an awesome scripting language for building dynamic web application because it has a huge user base as well as developer base. As it is an open source language it's freely available in the internet without any hassle. The developer community is contributing towards PHP to increase the user base, and constantly adding new features to PHP regularly. New and fresh tools are coming out in the internet.
Code Complexity and Clean Code
Many people wonder how they can improve the overall readability and cleanliness of their code. It seems impossible to understand exactly how to rewrite code in such a way that makes it clean, easy to understand and simple to work with. But clean code is about a few simple principles, one of which is reducing overall code complexity through a series of simple steps.