cms icon indicating copy to clipboard operation
cms copied to clipboard

Thoughts about 2.0

Open sergeyklay opened this issue 12 years ago • 6 comments

I think since version 2.0 we need to move away from these long and ugly class names in the direction of the namespaces.

I really liked the structure of the Zend classes.

  • One and the same directory contains the interface, abstract classes (if necessary), writers, base class... — in short all family of component
  • Short and clear class names, for example Install instead Controller_Install_Install

For exaple:

Application/
Assets/
Licenses/
Modules/
       |_____Captcha/
       |_____Codebench/
       |_____...
       |_____Gleez/
       |         |_____ACL/
       |         |_____Assets/
       |         |_____...
       |         |_____Blog/
       |         |         |_____Abstract.php
       |         |         |_____Class.php
       |         |         |_____Controller.php
       |         |         |_____Exception.php
       |         |         |_____Interfase.php
       |         |         |_____Helper.php
       |         |         |_____Reader.php
       |         |         |_____Writer.php
       |         |         |_____...
       |         |         |_____Assets/
       |         |         |_____Models/
       |         |         |_____Views/
       |         |_____Widget/
       |_____User/
       |_____...
Themes/
...
index.php

It makes sense to consider supporting PSR-1/2/3 standart.

@sandeepone What do you think about this?

sergeyklay avatar Jul 03 '13 18:07 sergeyklay

I like the idea basically, but designing such a structure is not easy in terms of development and performance wise. We need a strong roadmap for that.

sandeepone avatar Jul 03 '13 20:07 sandeepone

Gleez Autoloader is done

sergeyklay avatar Apr 06 '14 14:04 sergeyklay

Gleez Database is done

sandeepone avatar Apr 30 '14 03:04 sandeepone

#553 #723 Linking other issues

sandeepone avatar Apr 30 '14 03:04 sandeepone

Related issue #729

sergeyklay avatar May 03 '14 10:05 sergeyklay

We need develop branch e.g. gleez-2.0.0 AND for current purposes which did not disturb 1.x API some devlelop branch. Or develop-1 for merging into gleez-2.0.0 and develop-2 for merging into current master

sergeyklay avatar May 03 '14 10:05 sergeyklay