Openbiz Cubi: A Robust PHP Application Framework, Part 1

Openbiz Cubi: A Robust PHP Application Framework

Openbiz Cubi is a robust PHP application framework giving developers the ability to create business applications with minimal effort. In this two-part series you’ll learn the concepts and steps necessary to create your own business web applications with Cubi. This part looks at the challenges web developers face and how Cubi can help.

Safely Deprecating APIs

Safely Deprecating APIs

Deprecating features before they are done away or transformed gives users who depend on your code time to update their own code. By following the advice in this article, you will find it easier to keep your code fresh and your users won’t have any unhappy surprises.

MongoDB Indexing, Part 2

MongoDB Indexing

A proper understanding of indexing is important since it can improve the performance and throughput of your application. This series on MongoDB indexing concludes with a look at a few small but important concepts, like indexing on sub-documents and embedded fields, covered queries, and index direction.

This entry is part of the series MongoDB Indexing

Maven and PHP

Maven for PHP

Maven for PHP is a capable build automation tool for the PHP platform. Using Maven, the user only needs to provide the configuration for the project, while the configurable plugins do the work of compiling the project, running unit tests, generating API documentation and so on. Through this article you will gain familiarity with Maven for PHP, and how to install and use the PHP-Maven plugin from the command line and in Eclipse.

Goodbye CodeIgniter, Hello Laravel

Goodbye CodeIgniter, Hello Laravel

A lot of developers are fanboys of their PHP framework of choice. Just like in politics, everyone chooses a side. And most of the time you can stay with your choice, but it’s always good to explore new things. For one developer it meant goodbye CodeIgniter, hello Laravel.

MongoDB Indexing, Part 1

MongoDB Indexing

A proper understanding of indexing is critical because it can dramatically increase performance and throughput by reducing the number of full documents to be read, thereby increasing the performance of your application. This two-part series takes a look at indexing with MongoDB, starting here exploring the default _id index, secondary, compound, multikey, and multikey compound indexes.

This entry is part of the series MongoDB Indexing

Crop and Resize Images with ImageMagick

Crop and Resize Images with ImageMagick

If your site allows users to upload photos, then image cropping/resizing functionality can certainly come in handy. Users might not have access to image programs like Photoshop, so by providing a cropping/resizing feature you can let them upload photos without them having to worry about the final size. See how you can create an image cropping tool with the help of the ImageMagick PHP extension.

An Introduction to Ctype Functions

An Introduction to Ctype Functions

The Ctype extension functions verify whether all of the characters in a given string are of the correct type. This article take a look at the syntax used by the functions, what specific checks exist, and how they’re used to perform validation on strings.

Better Understanding Random

Better Understanding Random

Random values play an important role in many PHP applications, and many libraries and frameworks rely on them for generating tokens, salts, and as input for functions. This article gives you an overview of what random values are used for and why they’re important, and peeks under the hood of how they’re generated.

Abstracting Shipping APIs

Abstracting Shipping APIs

You have an account with a shipping service and you’ve checked out their API, but it looks pretty complex. And If you hard code your site to use the API, you’ll be up for a lot of work if you change shippers. This article focuses on how build a plugin-based library for different shippers (such as FedEx, UPS, or USPS) so you can access arbitrary services with only negligible, if any, code changes to your application.

© 1998-2012 SitePoint Pty. Ltd. All Rights Reserved