PHP Programming Frameworks

PHP Programming Frameworks

Make your PHP projects simpler with a development framework.

It is difficult to leverage Drupal to its full extent without actually learning the mechanics behind it – PHP. Since Drupal is a framework for Content Management, I decided to see if there might be a similar type of framework for PHP, the soul of Drupal. I discovered this great roundup on Wikipedia on development frameworks for many different programming languages. And here I discovered Yii. You can see from both sites that the Yii (Yes It Is) MVC (Model, View, Controller) framework scores better than the others, offering more features. And it is under the BSD license so the download is free!

http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks

http://www.phpframeworks.com/ – This is another good resource, specifically for PHP.

So with the choice for Yii made, I decided to look for a book on the subject. I’ve had good luck with Packtpub before so I decided to check their web site to see if they offer anything on Yii. And lo and behold, they do.

I’ve been reading the book, working with the sample code and using Yii for a few weeks now and the book has been really helpful. The chapters navigate the development path of a real application. The book touches on every aspect that a real world development team will face in software production from user access control, issue management to production readiness. It also explores the Blueprint CSS framework, which allows the team to make the application look polished and refined.

The code examples are easy to use and well documented, allowing for a great learning experience even for a novice.

All in all, a great resource for those in software development for the web. Highly recommended.

Drupal 7 Language Modules, Dependencies and a Few Relationships Between Them

My goal is to create a bilingual site, available in English and in Spanish.  I’ve been reading about the different options that are available to put together a site like this and the choices are a bit overwhelming. So I put this together so this monkey man can better visualize the interrelationships. This is my first attempt using OpenOffice’s version of Visio, Draw. I like it. more limited than Visio, sure, but easier to get started with, and free. This is the PDFmodule relationships rev7

Drupal Language Module Relationships

I put this together to help me understand better the relationships between the many language modules that are available in Drupal 7.

Drupal CSS, TPL Files and More

Drupal 7, CSS, TPL, PHP

This colorful little exercise actually attempts to show where the Core and Module CSS and TPL files are located. The thing is, Core really mean Core and Core Module. Together, these are refered to as Core. Module refers to contributed modules and their corresponding files that may or may not supersede the core files. Then, there are the Theme files. These can trump all the rest of the files’ styles if the naming conventions are followed properly. This too-busy diagram also attempts to help me see how I deal with many colors, shapes and layering. I’m not a design guy and I don’t really care for design, nor am I any good at it. But, I have to learn some of it.

Inheritance rev7 – Copy – this is the actual Visio diagram. rename it to .vsd and you can see this up close.