How to Include and Require Files and Templates in WordPress | Wptuts+

When it comes to PHP, a lot of developers love the language, a lot of the developers hate the language, and a lot of developers generally just use it to get their work done.For what it’s worth, I’m of the latter camp. I think PHP is fine. Like anything, it’s not without it’s problems, but I enjoy working with it well enough and see it as a way to get work done versus some pie-in-the-sky language for some time of utopia of development.The thing is, one of the things that developer’s love about PHP – its features and flexibilities – are the very things that often trip us up. The list is long, but in the WordPress world, one of the most common points of confusion is the proper way to include external files.PHP offers four! ways to do this and WordPress even offers its own variation thereof.In this article, we’ll survey the four ways that PHP offers to include files, guidelines for when to use each, and we’ll review WordPress’ features for including files.

via How to Include and Require Files and Templates in WordPress | Wptuts+.

Quick Tip: 7 Super-Handy PHP Functions for Beginners | Nettuts+

Have you ever taken a look at the list of functions available in PHP? I just counted 5025 on the PHP quick reference page. Granted, it depends on what extensions you have enabled, but still: that’s one heap of functions! While I can’t show you every one of them, if you’re new to the language, I’ll introduce you to seven really handy ones in this quick tip!

via Quick Tip: 7 Super-Handy PHP Functions for Beginners | Nettuts+.

Creating a Flat-File Blog Engine Using Slim | Nettuts+

In this article, we will learn how to create a flat file blog engine in PHP using the Slim framework. If you don’t understand the jargon, don’t worry. We’re simply going to create a spartan blogging application, which utilizes text files instead of a database to store data.

If you’re a beginner, fret not! We will start with the basics of using Slim. Let’s get started after the jump!

via Creating a Flat-File Blog Engine Using Slim | Nettuts+.

Aspect-Oriented Programming in PHP | Nettuts+

There’s a new player in town, and he brought new toys: The PHP World welcomes FLOW3, an enterprise application framework written and backed by the community of the TYPO3 CMS. FLOW3 can be used as standalone full-stack framework for your applications. It’s interesting, because it introduces some concepts of software development that haven’t been adapted to PHP before.Among these new concepts is “Aspect Oriented Programming”. We will have a look on the theory of the pattern, and will set up a basic FLOW3 Application and weave in our own aspect!

via Aspect-Oriented Programming in PHP | Nettuts+.