0.3 Release

Update: I pulled this release down as it was a bit rushed. However, you can download a much stable release 0.2.3 in the meantime until I get 0.3.1 out. Thanks.

As many of you might know, version 0.3 is a major release for the project which introduces a lot of new functionality. It has been completely rewritten to pave the way for future innovations and features to come. Version 0.3 is my idea of a WordPress theme framework.

One of the main things you’ll notice about this new version is the abstraction that’s been done to all the template files. I’ve abstracted common elements from all the template files and consolidated them into callback functions. This allows for more gradual control over your layout, and keeps things DRY. Abstracting all the common elements allowed me to introduce a new concept to theme development called MVC. Model View Controller is a architectural pattern used in software engineering:

In MVC, the model represents the information (the data) of the application; the view corresponds to elements of the user interface such as text, checkbox items, and so forth; and the controller manages the communication of data and the business rules used to manipulate the data to and from the model. — Wikipedia

How does this translate to theme development? Well, think of the model as the WordPress database layer. The view translates to all WordPress template files (in which the user interacts with). And lastly, the controller is a combination of WordPress/theme functions that handle all the template logic. From an MVC perspective, current WordPress themes don’t really have a controller, everything’s just in the template files. That approach is one of the prime reasons for user modifications potentially messing up during a theme upgrade. Using a MVC approach easily solves that problem and in addition (including many other benefits), makes your theme more modular and extensible.

Introducing WP Framework Core

Ever since I released WP Framework to the public, it included some nice-to-have features along with it. Here’s whats included in version 0.3:

  • a CSS reset stylesheet
  • a basic print stylesheet
  • a base stylesheet that gives your layout a sensible default look
  • two favicons; one 16×16 .ico for the web browser and an iPhone webclip icon
  • automatically including an empty javascript file with jQuery pre-loaded
  • and semantic classes, a successor of the sandbox functions.

While these features are great, their nice-to-haves and aren’t essential for all themes. So I removed all of them and created a new package called WP Framework Core. That way if you don’t want all the extra features that WP Framework provides, you can download the core version and have only the essentials. If, however you download the core version and want to cherry pick features, that’s not a problem as all features are easily pluggable. Doing this paves the way for the theme builder project I talked about at WordCamp Miami (which I’ll explain a little more in a following article).

That’s about it, I hope you’ll enjoy this release. I covered this release at a high level, but there’s lots of new things and hidden goodies that you’ll find while playing with it. Customizing is a little different, it now mainly involves using the WordPress plugin system. I’m working on a theme based on WP Framework for you guys to play with. In the meantime, just ask any questions in the forums and I’ll be sure to help you out.

I should note that WP Framework is still considered beta software until its 1.0 release. Folders, functions and/or CSS classes might be added, removed or replaced up until 1.0, so nothing is officially permanent. This might be an inconvience for you if you start building off WP Framework right now, but the most I can do is provide you a list of detailed changes that go into each release. Alternatively, you can keep an eye on the change list, or read the readme.txt included within WP Framework to see list of all the changes between versions. I’m in the process of making a record of the change log publically, so subcribe to the blog if you haven’t already.

4 Comments

  1. Kevin's Avatar Kevin
    March 10th, 2009 at 9:30 pm | Permalink

    Awesome.. Keep it up man.. This works perfect for everything I need to do. One question.. When can we get a .css file with the complete listing of divs and classes within the framework?

    I noticed on google code that the one you had up was outdated, and that with the release of 0.3 there were many changes (like some divs changed to classes ???)

    But a complete css of everything used within the theme would be great! one thing that the sandbox was ALWAYS lacking…

    Reply
  2. Dulpbolfelp
    April 5th, 2010 at 11:28 am | Permalink

    А телефон свой не оставите? Хотелось бы кое-что обсудить по теме.

    Reply
  3. christian louboutin well
    April 9th, 2010 at 4:12 am | Permalink

    2010 new style christian louboutin boots
    good high heels

    yeah,this is a nice site:christianlouboutinwell.com,
    have a good discount price for high heels.

    Reply

1 Trackback

You can ping this entry via the Trackback URL.

  1. I’m pleased to announce the new release of WP Framework 3.0 — Ptah Dunbar.com — Web Developer — i make websites
    March 10th, 2009 at 10:35 am

    [...] I just released the latest version of WP Framework today. This release was essential for laying the groundwork for future features and innovations to come. And now that WP Framework is somewhat mature enough, I plan on dedicating more of my time towards actually building WordPress themes on top of the framework. They should serve as a way to learn how to best take advantage of the framework and show you best practices. This entry was posted in WP Framework. Bookmark the permalink. Trackbacks are closed, but you can Post a comment. « Droppin’ knowledge on WordPress: How to preset widgets to widget areas [...]

Leave a Reply

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Download WP Framework

Discuss WP Framework

Stop by the forums and get help with your customizations!

    It Seem There Is Something Wrong With BBLD Configuration, Please Check It.

WP Framework on Twitter!

Follow WP Framework and stay in the loop on WP Framework happenings!