Pop PHP Framework 1.0 Released

March 19, 2012 in Development & Programming

Tags:

After about 8 months of hard coding, lots of unit-testing and a good bit of documentation, Pop PHP Framework 1.0 finally went out the door. It represents the tear-down and rebuilding of my old Moc10 PHP Library. Basically, the library put its big-boy pants on, grew up and became a full-fledged framework. That's right, it's a framework now, complete with CLI scripting, project scaffolding and an MVC component. Oh, and it's only compatible with PHP 5.3+, so deal with it. :) Well, let's be honest, in 2012, that's not as bleeding-edge as maybe a year ago. PHP 5.3-only support seems to be the way most frameworks are built these days.

So what sets this one apart from the others?

Well, I like to think that it's still simple and lightweight to use, in comparison to other frameworks out there. You can still just use it as a veritable toolbox of PHP goodies, or you can use it to build up the foundation of a large-scale application. Personally, I still love the image and graphic components in it. They have been vastly improved. It seems frameworks out there rarely show any love, if at all, to those that desire a robust feature-set to manipulate graphic images and documents. After all, it was those needs that started me off down the road of writing this framework in the first place.

So what's new?

Here's a short overview of some of the new components:

  • Archive component: easily manage and manipulate different types of archive files (tar, bz2, zip, etc.)
  • Auth component: manage authentication and authorization, including user roles and levels.
  • Cache component: manage cached content via File, Memcached or Sqlite.
  • CLI component: utilize the CLI to build and generate project code to get started faster.
  • Code component: easily generate and manipulate PHP code.
  • Data component: easily convert text-based data sets.
  • Graph component: harness the power of the Image and Pdf components to create graphs.
  • MVC component: robust implementation of the MVC design pattern with a Router layer on top.
  • Payment component: easily create, send and receive transactions to different payment gateway processors.

So what's improved?

Here's a short overview of some of the improved components:

  • Db component: improved support of various adapters. Added prepared statement support.
  • Form component: improved the API, much easier to manage and manipulate form fields and values.
  • Image component: improved the API, added support for Imagick and SVG.
  • Loader: improved support for namespaced classes, added classmap support and generation.
  • Pdf component: improved the API, added support for embedding fonts (finally.)
  • Record: improved the API, more dynamic, easier to utilize and access data from the instance objects.

In case anyone is wondering, the components I use the most regularly are:

  • Db
  • File
  • Form
  • Image
  • Mvc
  • Pdf
  • Record
  • Web

Those seem to be at the core of most web applications that I sit down to write these days. And with this framework, I can get a web application up and running in no time.

So, if you find yourself frustrated at the various PHP frameworks out there, either because they are too cumbersome or just don't do enough, maybe you should try Pop - it should fit just right.

The website is www.popphp.org, and you can fork it on GitHub here.

Comments
  (Refresh)
 
There are currently no comments on this page.