In "Laravel Collections Unraveled" we are going to see just what is so amazing about this class by digging down under the hood to understand the full range of functions availalble, and create practical examples of each of them that we can use right away. In the process, we're going to perhaps improve our basic PHP skills a bit by getting more familiar with ArrayObjects, CachingIterators, IteratorAggregates and some other handy tools.
Free Books about PHP
Code Smart is the number one title for learning version 5 of the Laravel PHP Framework. The entire book is available online to encourage learning.
Laravel Framework is not strict on how and where you define your classes as long as it could be loaded by Composer. This is a double-sided blade – it’s beneficial for advanced developers, but coud be confusing for beginners and for those who is trying to reverse engineer an existing codebase. The ability to place anything, anywhere is good. But there are times some methods is way better than the others, and that is what we are after. This site tried to collect all the best practices, tools and methodologies, so that it could serve a guide for beginners and existing developers alike.
This book assumes no PHP programming skill at all - you'll be taught from scratch in that respect. However, I will be using terms like "variable", "function", and "loop" freely, so any prior programming experience you have will help enormously.
If you're coming from the world of HTML, PHP is a great step forward to make. HTML by itself, as you may have discovered, is a very simple language, which as a result leaves you with very simple pages. Think of using HTML like owning a car with no engine - the car might look great, but it will never actually do very much. PHP can take your sites into the fast lane by allowing you to turn your static pages into exciting, ever-changing pages with only a little thinking. In essence, it's like putting a V6 engine into your car shell.
Rules is a module usually used to automate actions on your Drupal site. Rules can react on events occurring on your site – such as a user logging in or a node being created – and perform customized follow-up actions such as redirecting to a certain page or setting field values. Optionally, Rules can evaluate conditions before executing any actions.
Rules is also a framework to use by other modules, allowing them to evaluate user-configured Rules components, such as action and condition sets, or expose data about variables and entities to other parts of Drupal.
The CakePHP framework provides a robust base for your application. It can handle every aspect, from the user’s initial request all the way to the final rendering of a web page. And since the framework follows the principles of MVC, it allows you to easily customize and extend most aspects of your application.
The framework also provides a basic organizational structure, from filenames to database table names, keeping your entire application consistent and logical. This concept is simple but powerful. Follow the conventions and you’ll always know exactly where things are and how they’re organized.
The best way to experience and learn CakePHP is to sit down and build something. To start off we’ll build a simple blog application.
The PHP Cookbook is a collection of problems, solutions, and practical examples for PHP programmers. The book contains a unique and extensive collection of best practices for everyday PHP programming dilemmas. It contains over 250 recipes, ranging from simple tasks to entire programs that demonstrate complex tasks, such as printing HTML tables and generating bar charts -- a treasure trove of useful code for PHP programmers, from novices to advanced practitioners.