DotKernel Template Engine

October 2nd, 2009  by admin

Posted in DotKernel

No comments »

DotKernel Template Engine is an implementation of PHPLib Template engine for PHP5.

It has an amazing ability to separate the application code from the presentation layer. Separates the manipulation of data (in the database as well as in PHP) from its final format, whether that format is HTML, XML or a formatted e-mail. The big advantage is that is allowing us to change the look and feel of a site quickly without having to delve immediately into a lot of PHP variable assignments and print statements.

DotKernel version 1.0 in action

October 2nd, 2009  by admin

Posted in DotKernel

No comments »

DotKernel is the DotBoost’s in-house developed framework, based on Zend Framework.
DotKernel is at version 1.0 , released under Open Software License (OSL 3.0) , and is built on top of Zend Framework.

DotKernel is using a simplified MVC (Model-View-Controller) architecture, easy to learn by beginner and intermediate level programmers.
It has eliminated the complexity of Zend Framework by using a different approach of how the web request are handled.

From Zend Framework, DotKernel is using only the necessary classes:

  • Zend_Config – While Zend Framework itself is configuration-less, it’s often necessary to have some way to specify configurable options. Zend_Config provides multiple backends for configuration storage, and a simple, intuitive, object-oriented interface for accessing it. We store configuration as simple PHP arrays, which are then wrapped by Zend_Config.
  • Zend_Db and Zend_Db_Table – Zend_Db_Table is a classic implementation of both the Table Data Gateway and Row Data Gateway design patterns, allowing for easy and  intuitive access to database tables and rows, as well as an entry point for custom business logic surrounding our data.
  • Zend_Mail – Zend_Mail provides generalized functionality to compose and send both text and MIME-compliant multipart e-mail messages. Mail can be sent with Zend_Mail via the default Zend_Mail_Transport_Sendmail transport or via Zend_Mail_Transport_Smtp.
  • Zend_Registry – A registry is a container for storing objects and values in the application space. By storing the value in a registry, the same object is always available throughout the application. This mechanism is an alternative to using global storage.
  • Zend_Validate – The Zend_Validate component provides a set of commonly needed validators. It also provides a simple validator chaining mechanism by which multiple validators may be applied to a single datum in a user-defined order.

Scienta ZF Debug Bar: A very helpfull ZF debug tool

March 31st, 2009  by admin

Posted in Zend Framework

No comments »

Just found today a very interesting and helpful debug tool:

Scienta

We at dotKernel used some very basic debug bar:  queries, time spent , memory used.  But this Scienta is way more complex and nicer then our internal code,  so we switch to it and integrate it in dotKernel code base.