- dotKernel is the dotBoost’s framework from which to start a new application, based on Zend Framework.
- dotKernel is is a framework, using a simplified MVC , for internal use of our company.
- dotKernel will not alter in any way ZF code, and is built upon an unmodified Zend Framework version.
Posts Tagged ‘DotKernel’
What is dotKernel
March 30th, 2008 |Posted in DotKernel
2 comments »A New framework (dotKernel) vs. Zend Framework ?
March 28th, 2008 |Posted in DotKernel
No comments » 1.What is a framework ?
(a)a standard library of components that you can drop into your application
2. What is Zend Framework(ZF) ?
(a)is a PHP library for building PHP web applications
(b)is really a hybrid framework and as such can be used in a much larger range of projects than strict “application frameworks”. While many components in Zend Framework can be used stand-alone like a component library; it is, at its core an implementation of the “Model-View-Controller” (MVC) pattern.
DotKernel Coding Standard
March 28th, 2008 |Posted in DotKernel
No comments »dotKernel will be a “skeleton”of Zend Framework.
DotKernel borrowed the coding standard from Zend Framework: ZF Coding Standard with some exceptions.
In what follows, we will make remarks only on those features that are slightly different in the coding standards of dotKernel.
- B.2.2. Indentation
indentation – make indent with tabs, and not with space
Camel naming convention
- B.3.1. Classes
- B.3.2. Interfaces
- B.3.3. Filenames
starts with Dot_ (e.g. Dot_Templates)
ends with the string “Interface”(e.g. Dot_Db_Interface)
classes will have double extension: “.inc.php”
All other php files will have the extension “.php”
B.4.6. Control Statements
every starting curly brace } after a statement starts on a new line, end it’s closing curly brace } will be on a new line too. The start and end braces must be on the same column (for better indentation of the code)
e.g:
if ($a != 2) { $a = 2; }
if ($a != 2) { $a = 2; if($a == 2) { $c = 3; } }